|
| |
|
|
umass_hockey
Posts: 3 Joined: 1/27/2008 Status: offline
|
Need help with this code - 1/27/2008 23:09:55
Below is a code that is used for hover button menu. I want to add hyperlinks without the colored borders. Thanks in advance. <td background="images/topnavbg.jpg"><img src="images/btn_home.jpg" name="btn_home" width="55" height="33" id="btn_home" onMouseOver="MM_swapImage('btn_home','','images/btn_home_dn.jpg',1)" onMouseOut="MM_swapImgRestore()"><img src="images/navspacer.jpg" width="1" height="33"><img src="images/btn_about.jpg" name="btn_about" width="58" height="33" id="btn_about" onMouseOver="MM_swapImage('btn_about','','images/btn_about_dn.jpg',1)" onMouseOut="MM_swapImgRestore()"><img src="images/navspacer.jpg" width="1" height="33"><img src="images/btn_contact.jpg" name="btn_contact" width="67" height="33" id="btn_contact" onMouseOver="MM_swapImage('btn_contact','','images/btn_contact_dn.jpg',1)" onMouseOut="MM_swapImgRestore()"><img src="images/navspacer.jpg" width="1" height="33"><img src="images/btn_products.jpg" name="btn_products" width="79" height="33" id="btn_products" onMouseOver="MM_swapImage('btn_products','','images/btn_products_dn.jpg',1)" onMouseOut="MM_swapImgRestore()"><img src="images/navspacer.jpg" width="1" height="33"><img src="images/btn_support.jpg" name="btn_support" width="72" height="33" id="btn_support" onMouseOver="MM_swapImage('btn_support','','images/btn_support_dn.jpg',1)" onMouseOut="MM_swapImgRestore()"><img src="images/navspacer.jpg" width="1" height="33"><img src="images/btn_news.jpg" name="btn_news" width="50" height="33" id="btn_news" onMouseOver="MM_swapImage('btn_news','','images/btn_news_dn.jpg',1)" onMouseOut="MM_swapImgRestore()"></td>
|
|
|
|
Tailslide
Posts: 6270 Joined: 5/10/2005 From: Out here on the raggedy edge Status: offline
|
RE: Need help with this code - 1/28/2008 2:34:24
Without wishing to sound discouraging but the above technique is a bad idea for a navigation menu for several reasons: 1. Search engines can't see the links and can't move around your site (unless you've got a proper menu with real links somewhere else) 2. People won't be able to use it without Javascript on 3. People who might need a screenreader to browser the internet won't be able to use it at all 4. It just looks like a nightmare to maintain! Can you show us the end result that you're after and we'll show you a better way of doing it which is lighter-weight, accessible, search engine friendly and easier to manage.
_____________________________
"My strategy is so simple an idiot could have devised it" Little Blue Plane Web Design | Blood, Sweat & Rust - A Land Rover restoration project
|
|
|
|
umass_hockey
Posts: 3 Joined: 1/27/2008 Status: offline
|
RE: Need help with this code - 1/28/2008 11:08:04
Thank you for the response. It's note a huge deal to change it, I just wanted to use a rollover button. It was a nightmare in frontpage. I will just make it easier in the end.
|
|
|
|
codenamebill26
Posts: 15 Joined: 1/19/2008 Status: offline
|
RE: Need help with this code - 1/28/2008 15:38:45
you can use border=0 in the hyperlink to remove the box around it
|
|
|
|
umass_hockey
Posts: 3 Joined: 1/27/2008 Status: offline
|
RE: Need help with this code - 1/28/2008 16:12:06
codenamebill26, That did it! Thanks for your help. I may go another route, but I learned something.
|
|
|
|
codenamebill26
Posts: 15 Joined: 1/19/2008 Status: offline
|
RE: Need help with this code - 1/28/2008 20:37:54
see i helped someone today, Ill drink to that......................... later man............
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|