• Help
  • Search
  • Login
  • Register
  • Home

Forum: web design and graphics community

Celestial Star Forum > Web Development > Coding > DIV pages.... Menus
Pages: [1]
« previous next »
  Print  
Author Topic: DIV pages.... Menus  (Read 1071 times)
divadiva
Angeling
*
Posts: 3


View Profile WWW
DIV pages.... Menus
« on: September 02, 2006, 02:03:48 AM »

Okay say I have my little page going with it's divs and whatnot. And I have the usual 'content' div and a 'menu' div. When I want to change something on the menu frame (such as a new affiliate or 'listed at' or whatever), I have to change it on EVERY page right? Is there anyway that I can get around this? How do others! I'm guessing it's PHP includes, but I can't use them. Is there any other way?

Thanks xx
Logged
Blackstone
Administrator
Valkyrie Randgris
*****
Posts: 821

Oh look! People!


View Profile
DIV pages.... Menus
« Reply #1 on: September 02, 2006, 10:03:03 AM »

Yep, most people use PHP includes. There is such a thing as SHTML includes. Here's a page on them:

HERE

The first info bit on Server Side Includes is the one you want. =)
Logged
assie-chan
Retribution
***
Posts: 156



View Profile WWW
DIV pages.... Menus
« Reply #2 on: September 02, 2006, 01:22:38 PM »

You could always put an Iframe into the navigation bar, and then when you need to change a link, you can change the page the Iframe includes. ;)

Eg:
Code:

<div id="navigation">
<iframe name="navi" src="navigation" width="100%"></iframe>


^^ Then just put all your navigation files in navigation.html. :P
Logged

"If Xerxes was two men, and he was the only two men alive, I wouldnt allow him/them to have intercourse."
Lily
Skogul
**
Posts: 47



View Profile WWW
DIV pages.... Menus
« Reply #3 on: September 03, 2006, 07:16:54 PM »

that's what i was gonna say. if you're using plain html it's gonna be hard when you don't use frames.

i don't think many people use that shtml.. i tried that before but it's harder than php.. at least for me yea.
Logged

Digital Lavender x ABC Board x Self-Assured

assie-chan
Retribution
***
Posts: 156



View Profile WWW
DIV pages.... Menus
« Reply #4 on: September 04, 2006, 11:33:46 AM »

I did SSI once (my old hostess had both), but I found PHP was just an all-around better way to go, of course if you have no access to PHP and SSI is all you've got, it's definately better than nothing...

I've also heard there are Javascript includes, though those are unrealiable if the user has Javascript turned off (which alot of people do, according to my site's statistics)...
Logged

"If Xerxes was two men, and he was the only two men alive, I wouldnt allow him/them to have intercourse."
divadiva
Angeling
*
Posts: 3


View Profile WWW
thanks
« Reply #5 on: September 08, 2006, 01:29:10 AM »

Thanks for your help, I will check out that tutorial! And yeh my server doesn't have PHP (Yay for me). I was trying to avoid using I-Frames because I apparently they aren't valid or something. Who knows. Thanks for the help!! Smiley xx
Logged
assie-chan
Retribution
***
Posts: 156



View Profile WWW
DIV pages.... Menus
« Reply #6 on: September 08, 2006, 08:17:05 AM »

Iframes are valid, but older browsers don't support them (but then again, most of the same also don't support CSS). They're really not so bad, especially if you're in a situation like that, where without them you'd have to edit every page...
Logged

"If Xerxes was two men, and he was the only two men alive, I wouldnt allow him/them to have intercourse."
divadiva
Angeling
*
Posts: 3


View Profile WWW
Thanks
« Reply #7 on: September 08, 2006, 06:11:27 PM »

Yeah I've just gotten back a review from a review website and I think I'm going to go with the div layers for my individual page and keep my menu as an I-Frame. That means my main 'frame' or layer as it will be soon will be able to resize but because the menu won't have to it will be okay as an I-Frame..... if you get where I'm coming from?!
My server doesn't have SSI either! :P I'm on $0 hosting with a domain at doteasy.com lol.
Thanks for all the help
xx
Logged
Pages: [1]
  Print  
« previous next »
 
Jump to:  

  • Welcome, Guest
  • Members login
  • Register for free

General

  • General
  • New members
  • Announcements
  • Support / Suggestions

Art boards

  • Creative mediums
  • Requests and offers
  • Tutorials
  • Celestial Star tutorials

Web development

  • Coding
  • Web design
  • Advertisements / affiliation

Off-topic

  • The non-sense
  • Ententainment

Go up
eXTReMe Tracker
  • Valid XHTML
  • Valid CSS
Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC | Seo4Smf v0.2 © Webmaster's Talks
Loading...