Hi, Everyone!
How’s your day going? Mine-well it’s perplexed! Here’s why, “I created a monster?”
I have created a “horizontal navigation bar image” that has—or will have-- six buttons. (See the attached images.)
Problem one:
I am trying to create a navigation bar wherein each button will depress when you clink on it, on the index page. However, if you then follow the link to say, “Who we are,” in the navbar on that page I want to create a drop down menu? (Here is an example: http://www.teamipc.com/whatwedo/whatwedo.php.)
Problem two:
How do insert the image using (<td class:”navbar”><? include menu ?>)? The navbar is and image—as seem in the attachment named “navbar.gif.” Along with the navbar there are, as I said previously, 6 buttons to be pressed to link to their respective pages.
Currently, I have created a 1- row/13-column table in the “/menu.php” page hoping that this will embed the buttons into the correct position on the navbar image. Is this the correct way of doing it or am I missing something?
Moreover, where (or) how do I insert the following script:
Insert this into the <head> section of your page. If you're using your own images, change "up.gif" and "down.gif" to your images' file names. <script language="javascript1.2">
<!--
img1=new Image()
img1.src="up.gif"
img2=new Image()
img2.src="down.gif"
//-->
</script>
Finally, insert the below into the <body> section of your page:
<a href="whatever.htm" onMousedown="document.images['example'].src=img2.src"
onMouseup="document.images['example'].src=img1.src"><img src="up.gif" name="example" border=0></a>
If you want multiple depressible images within one page, simply repeat steps 2 and 3 for each depressible image. When repeating step 2, be sure to change the image file names in the code to reflect the images you're using. When repeating step 3, be sure to change the part in blue ('example') to another unique name.
I could really use some suggestions here, if anyone cares to help. Believe me it will be much appreciated Thank you.
Respectfully,
Joe Allard