Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Display website in a division 2

Status
Not open for further replies.

endersider

Technical User
Jan 15, 2003
2
US
I was wondering if anyone knew how to display a website in a division without the use of iframes, so it basically does this <div id=&quot;main><code to display website></div> or somthing, or it could be in the css file somehow. Thanks
 
Can you use SSI? It's really easy that way--:

<div id=&quot;main&quot;><!--#include virtual=&quot;/myfile.html&quot; --></div>

Rick -----------------------------------------------------------
 
What's SSI??
Does that mean if you have a drop-down menu on a page and you want to have that same menu on ALL pages, instead of copy/pasting your code, you can simply create one menu.html file and use SSI to call the file on all related pages?? I have not failed; I have merely found 100,000 different ways of not succeding...
 
ya thats one way to use it.
it stands for server side include, you can also use an include in asp and php (each offers different syntax).

its a way to make life simpler [soapbox]
sleep is good
 
Hi deecee, I tried your <div id=&quot;main&quot;><!--#include virtual=&quot;/menu_test.html&quot; --></div> idea but it doesn't wirk for me...
This is what I did:
1) Took all the menu coding, JS script, table, images, etc. and it into an HTML file (called it: menu_test.html),
2) Created a test page and called the menu_test.html as the virtual path, but nothing happens...

All the files are stored in the same folder, what could be the problem?? Thanks...
I have not failed; I have merely found 100,000 different ways of not succeding...
 
offer SSI?? Hmmm, that has to be offered?? *me thinks me must re-evaluate my approach*... I have not failed; I have merely found 100,000 different ways of not succeding...
 
check the path....but make sure the server has ssi [soapbox]
sleep is good
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top