Welcome to Welcome to DNF.com™ - Domain Sales, Domain Forum, Domain Appraisals, Domain Registrars

If you are new to domains and looking to buy, sell and learn about domains then you have come to the right place. DNForum is the largest domain name community on the internet and continues to grow every day. There are over 105,000 domainers on DNForum doing everything from buying domains, selling domains, learning about domains and discussing domains. Take a minute and Register.

Register Today on DNForum IT'S FREE!

Results 1 to 3 of 3
  1. #1
    Platinum Lifetime Member
    HomerJ's Avatar
    Join Date
    Sep 2006
    Location
    Austin, Texas
    Posts
    1,573
    Country

    Mexico Follow HomerJ On Twitter
    DNF$
    4,542
    Bank
    0
    Total DNF$
    4,542
    Donate  

    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.
    DomainAnimal.com
    Patience is a virtue

  2. #2
    Platinum Lifetime Member
    MrDude's Avatar
    Join Date
    Jun 2005
    Location
    UK
    Posts
    1,249
    DNF$
    90
    Bank
    0
    Total DNF$
    90
    Donate  
    Have you tried changing the href="javascript:;" to href="page.html"

  3. #3
    Platinum Lifetime Member
    HomerJ's Avatar
    Join Date
    Sep 2006
    Location
    Austin, Texas
    Posts
    1,573
    Country

    Mexico Follow HomerJ On Twitter
    DNF$
    4,542
    Bank
    0
    Total DNF$
    4,542
    Donate  
    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
    DomainAnimal.com
    Patience is a virtue

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Domain name forum recommended by Domaining.com