DNForum - Domain Sales, Domain Forum, Domain Appraisals, Domain Registrars
HomeRegisterMembershipsGetting StartedDomain Tools Domain EbooksSEO Software Domain Resellers Advertise

Go Back   DNForum - Domain Sales, Domain Forum, Domain Appraisals, Domain Registrars > Content Development > Website Development and Design Discussion > Coding/Programming/Languages
Register Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old 12-06-2008, 10:16 PM   #1 (permalink)
Platinum Lifetime Member
 
HomerJ's Avatar
 
Last Online: Yesterday 05:12 PM
iTrader: (23)
Join Date: Sep 2006
Posts: 1,142
DNF$: 2,930
Location: Texas
Country:


javascript question on hyperlinking, probably easy answer

Hello,

I'm not really familiar with javascript but i downloaded a free template that uses it to change the color of the buttons in the navigation bar on mouseover.

What i can't figure out is how to hyperlink those buttons because it already looks like <a href="javascript" ... >. so where do I put the html link?

To be more specific, the code looks like this:

<a href="javascript:;" onMouseOver="MM_swapImage('home-page','','images/home-page_ln.gif',1)" onMouseOut="MM_swapImgRestore()"><img src="images/home-page.gif" name="btn_home" width="183" height="26" border="0" id="home-page"></a>


normally in html, after the <a href= comes "/page-link.html" or such. I don't really get what I'm supposed to do in the above.

your help is greatly appreciated. thanks.
__________________
taking offers FederalDebt.org | atop.us | Chello.us | D-a-n-a.com | FellowSoldier.com | Loco.mx | NewYorkSEO.net | Octogenarian.org
HomerJ is offline   Reply With Quote
Sponsored Ads
Old 12-07-2008, 08:29 AM   #2 (permalink)
Platinum Lifetime Member
 
MrDude's Avatar
 
Name: Paul Rogers
Last Online: 11-17-2009 11:15 PM
iTrader: (10)
Join Date: Jun 2005
Posts: 1,251
DNF$: 0
Location: UK
Country:

Send a message via AIM to MrDude Send a message via MSN to MrDude Send a message via Yahoo to MrDude Send a message via Skype™ to MrDude

Have you tried changing the href="javascript:;" to href="page.html"
MrDude is offline   Reply With Quote
Old 12-07-2008, 09:59 PM   #3 (permalink)
Platinum Lifetime Member
 
HomerJ's Avatar
 
Last Online: Yesterday 05:12 PM
iTrader: (23)
Join Date: Sep 2006
Posts: 1,142
DNF$: 2,930
Location: Texas
Country:


Quote:
Originally Posted by MrDude View Post
Have you tried changing the href="javascript:;" to href="page.html"
I just did and was coming to post problem resolved. thanks, i had someone else show me the same thing!

I didnt think to take that out because i thought it would affect the javascript
__________________
taking offers FederalDebt.org | atop.us | Chello.us | D-a-n-a.com | FellowSoldier.com | Loco.mx | NewYorkSEO.net | Octogenarian.org
HomerJ is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 09:55 AM.
Copyright @2001-2009 DNForum.com