iEntry 10th Anniversary Forum Rules Search
WebProWorld
Register FAQ Calendar Mark Forums Read
Graphics & Design Discussion Forum Post your graphics design questions/comments/ideas in here. Ask questions, post tutorials, discuss trends and best practices. Sub-forum for website accessibility and usability.

Share Thread: & Tags

Share Thread:

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-15-2004, 11:01 AM
WebProWorld Pro
 
Join Date: Jan 2004
Location: Milton Keynes, UK
Posts: 115
DarrenPWS RepRank 0
Default IFRAME and DIV

Hi all,
On my website, http://www.positive-websolutions.co.uk, I have a "quick links" tree-menu along the left. It is a nice function that I like having on my site, however, I have 30 pages all with this on, and when I add a new page, it is extremely annoying because I have to make the changes 30 times to the tree-menu... Make sense?

I would like it if I could make the change once and have all the pages link to this external file, but am reluctant to use <iframe> to do this due to the poor reputation of frames. I know a lot can be done with the <div> tag, is there a way to use this tag to link an external file to a webpage???

Hope this is understandable,
Thanks for your time,
Darren.
Reply With Quote
  #2 (permalink)  
Old 02-15-2004, 11:31 AM
paulhiles's Avatar
WebProWorld 1,000+ Club
 
Join Date: Jul 2003
Location: UK
Posts: 2,089
paulhiles RepRank 0
Default

Easiest answer would be to have your menu as an include file (using PHP or ASP). Converting the site over to ASP or PHP shouldn't be that difficult.. and it will save you many hours of work in the future as your site expands!
If you add a new page, simply change one file, and your whole site is updated. I'm working with a menu on one site that actually reads from an xml file that is auto-generated every time a new folder or page is added... really clever stuff! and nope, I didn't write it myself! :o)
Other menu systems that update automatically are often data-driven.. used mostly by portals, and larger sites incorporating Content Management Systems (CMS).

You don't need all that! Just learn how to use PHP or ASP includes, and your maintenance worries are over! :o)

Paul
Reply With Quote
  #3 (permalink)  
Old 02-15-2004, 12:23 PM
WebProWorld Pro
 
Join Date: Jan 2004
Location: Milton Keynes, UK
Posts: 115
DarrenPWS RepRank 0
Default Okay

Okay Paul, that's a great help.

I will look into an <? include> type of thing with PHP i think, I am more familiar with it.

Thanks again.
Darren
Reply With Quote
Reply

  WebProWorld > Site Design > Graphics & Design Discussion Forum

Thread Tools
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



All times are GMT -4. The time now is 03:05 AM.



Search Engine Optimization by vBSEO 3.3.0