 |
HTML Help Please Search for the answer to your question before asking it! Thanks.
|
| View previous topic :: View next topic |
| Author |
Message |
shempdogg
Joined: 27 Jul 2009
Posts: 3
|
| Posted: Mon Jul 27, 2009 8:06 pm Cant make Buttons to stay down after clicked rollover |
|
|
Hi, new to php/html... How do you make the button stay in the "down" or "clicked" position using html in dreamweaver? I built the site in dreamweaver using the "insert, rollover image" function but the images do not stay in the down position once the button is clicked on.
Example code:
<div id="nav"><img src="../images/nav1_left.gif" width="71" height="53" /><a href="index.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Home','','../images/navhome_B.gif',1)"><img src="../images/navhome_A.gif" alt="Home" name="Home" width="73" height="53" border="0" id="Home" /></a>
and the link to the page with the issue is:
Any advice would be great... Did I leave some code out possibly? I dont see in dreamweaver how to fix this... |
|
|
PayneLess Designs
Joined: 28 Feb 2007
Posts: 3593
Location: Biloxi, MS
|
| Posted: Mon Jul 27, 2009 10:29 pm |
|
|
| Do you mean that when you click to the page, the image shows what is normally the mouseover image for the linked page? |
|
|
shempdogg
Joined: 27 Jul 2009
Posts: 3
|
| Posted: Tue Jul 28, 2009 7:45 am |
|
|
Yes, it should stay on the "pink" rollover so people know what page they are on. For some reason its not staying in the down position when clicked on.
Any ideas? Appreciate your reply... |
|
|
PayneLess Designs
Joined: 28 Feb 2007
Posts: 3593
Location: Biloxi, MS
|
| Posted: Tue Jul 28, 2009 3:10 pm |
|
|
| OK. For each page, the code you use for the link can be simplified where only the mouseover image is used. That means you can cut out all the mouseover stuff and just use what you need to show what normally is the mouseover image. Do that for every page where you want the mouseover image to show for the linked page. You're code will be simplified for that link on its own page. |
|
|
| |
|
|
|
Powered by phpBB Search Engine Indexer
Powered by phpBB 2.0.19 © 2001, 2002 phpBB Group
|