Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Imbedding HTML into a another HTML
Message
De
09/12/2004 08:01:30
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
 
Information générale
Forum:
Internet
Catégorie:
HTML
Divers
Thread ID:
00967757
Message ID:
00967988
Vues:
16
Hey Tom,

I was able to get the second part (called it "TestInclude.htm") that contained the button code to show a button, but the #INCLUDE line does not do anything in my index.htm file. You have it with comment tags around it. I tried it with those, without, with regular "<>" tags, in Javascript, text/html, regular script, VBScript, in the heading, in the body, etc. Either it just shows up as text on the page or does not display anything. I'm sure it's obvious, but could you explain further or send me two htm files that show how to use the #INCLUDE?


>I would suggest an include file. This is how I do it.
>
>In the form of interest place the following code. ToolBarWrite is given as an example. You can use html, htm or asp extensions as you like.
>
>
><!—#INCLUDE FILE ="ToolBarWrite.asp" -->
>
>
>Now create another form and call it ToolBarWrite.asp. This will be your INCLUDE file.
>
>
><DIV STYLE="LEFT: 5px; POSITION: absolute; TOP: 5px">
>
>
><TABLE>
><TR>
>	<TD>  <INPUT id=”cmdLineCall” name=”cmdLineCall” type=button value="Line Call"></TD>
></TR>
></TABLE>
>
></DIV>
>
><script Language=vbScript>
>
>Sub cmdLineCall_OnClick()
>     location.href = "LineCall.asp"
>End Sub
>
>Sub cmdLineCall_OnMouseOver()
>     cmdLineCall.title = "Line Call Form"
>End Sub
>
></script>
>
>
>You can use JavaScript if you like. I use both. You can write required code within the INCLUDE script area or if you like you can write custom code for each form the INCLUDE file is used in. Add as many objects as you like. Use the DIV LEFT and TOP values to position your objects. I aslo use style sheets to get colors and other goodies to be as required.
>
>Tom
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform