Forum     

Go Back   Digit Technology Discussion Forum > Portables, Peripherals and Electronics > QnA (read only)
Register FAQ Calendar Mark Forums Read

QnA (read only) Mods please help transfer the contents of this forum to proper sections. :)


 
 
LinkBack Thread Tools Search this Thread Display Modes
Old 05-03-2007, 08:20 PM   #1 (permalink)
In The Zone
 
Join Date: Sep 2006
Posts: 319
Question HTML help


Hello frnds,
I want to know that how can i include a File in my webpage.
Let me explain in detail :- I am developering a site which has side links and ads on both the sides.These side links are on all the pages with same look.So i want that when i change the data in my link bar it gets change in every file.I tried using
Code:
<!--#include file="sidebar.html"-->
But it didnot work .
The sidebar.html file had only the code of sidebars and no start or end tags of html.
So plz tell me in which extension should i save the sidebar file and how to include it.
Thanks in advance.
__________________
Visit now ;)
www.indiandevs.com - for great free designs :)
www.indiandevs.com/technoworld/ for latest technology news and tricks
Siddharth Maheshwari is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 05-03-2007, 09:54 PM   #2 (permalink)
I see right through you.
 
Sykora's Avatar
 
Join Date: Sep 2005
Location: Chennai
Posts: 597
Default Re: HTML help

I think your best option would be to use a frameset. In that case you would have to fix up your sidebar.html to be a valid html page in its own right. Otherwise you could put copy paste your code in a separate class/id and position it with css.

And no, AFAIK there is no way to "include" an html file like C++.
__________________
I didn't make the world, I only try to live in it.
http://lucentbeing.com
-- Sykora --
Sykora is offline  
Old 05-03-2007, 10:05 PM   #3 (permalink)
Security Exp
 
47shailesh's Avatar
 
Join Date: Apr 2006
Posts: 734
Default Re: HTML help

Why dont you use free MAX`s HTML Beauty++ 2004 .

It's great
__________________
We Love Once, And When We do We do it Well
47shailesh is offline  
Old 05-03-2007, 11:13 PM   #4 (permalink)
eWebGuru
 
ahref's Avatar
 
Join Date: Mar 2006
Location: Dehradun
Posts: 427
Default Re: HTML help

Although it can be done via frame, as suggested by sykora, but frame is not good option, you can do it by through php if your server support php or by server side include (shtml extension).
__________________
Windows and linux hosting at http://www.ewebguru.com
Get $50 per blog post PM me for details.
ahref is offline  
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


 
Latest Threads
- by clmlbx
- by abhidev
- by Sarath
- by ico
- by clinton

Advertisement




All times are GMT +5.5. The time now is 02:37 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2