Computing.Net > Forums > Web Development > multiple interactive menus

multiple interactive menus

Reply to Message Icon

Original Message
Name: wannaBgeek
Date: March 19, 2005 at 02:02:39 Pacific
Subject: multiple interactive menus
OS: Windows XP professional
CPU/Ram: 256RAM
Comment:

heyas
I am creating my first website with dreamweaver4
every page has a main navigation bar but most subsections also have a submenu.
i would like these submenus to also be interactive (ie. rollover images or simply text changes colour) but dreamweaver only allows one navigation bar per page....
I have experimented with using tables (with rollover images) and saving them as a library item....although they keep the right link details when inserted into the relevant pages they are no longer interactive.
Any suggestions on how to create something (but not a navigation bar)which remains interactive and can be saved and copied into the relevant pages -> would be great...
cheers
b
p.s. i am clueless with how to use HTML code or any Java script


Report Offensive Message For Removal

Response Number 1
Name: SullyD
Date: March 19, 2005 at 21:42:53 Pacific
Subject: multiple interactive menus
Reply: (edit)

1st suggestion... learn some html. Or at least familiarize yourself with it. You'll never get your site the way you want it without being able to tweak the source code.

A good site to begin is http://www.cyberspace.org/~html/index.html

As for your question... it sounds like you're using relative links (as opposed to absolute). These are links that are specified based on the site folders.

example: if you're homepage has a rollover image that calls the image file from a folder named "images", the link may look like this

"img src="images/yourimage.gif"

This same image used on a child page (contained in a subfolder) may look like this

"img src="../images/yourimage.gif".

The same linked image in yet another subpage would look like this

"img src="../../images/yourimage.gif"

Therefore, if you copy the link from the homepage and paste it into the child page, the image will not be found. you have to add the "../" (excluding the quotes)

Think of your folders as levels. each time you go into another subfolder, you need to add another "../"

you can read more about relative links vs. absolute links at http://www.motive.co.nz/glossary/linking.php

I was able to copy and paste rollover images onto my different pages as long as it was at the same "sublevel" (does this make sense to you?)

hope this helped

SullyD

Experience is what you get when you don't get what you want...


Report Offensive Follow Up For Removal







Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: multiple interactive menus

Comments:

 


  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 
Data Recovery Software