Duplicating URL Code In Menu Buttons

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • L711inda
    Sergeant

    • Aug 2006
    • 21

    Duplicating URL Code In Menu Buttons

    When the menu buttons are clicked on my home page, 2 of the same page open. I wanted the pages to be pop-up style instead of full page, and someone in the forum was kind enough to give me the URL code to make that happen. But when I put that code in as the URL for the menu button, it gets put into the HTML code twice. If I right click one of the menu buttons, the last item in the drop down list is HTML. If I click on that it brings up all of the code associated with that menu button and the code is clearly in there twice so that's why the pages open twice. The original code given to me was: #" onClick="window.open('http://www.yourdomain/yourpage.html', '','width=300,height=300'); return false;" and I replaced the pertinent data so it would refer to my page, and for the accounting menu button the code is:
    #" onClick="window.open('http://www.lsjservices.com/accounting.html', '','width=400,height=200'); return false;" and that's all I put into the URL of the menu button when I created it. But it's showing up twice in the HTML code of the menu button. The code works perfectly for the text hyperlink, but for some reason the menu button duplicates the code. My domain is: www.lsjservices.com.

    Thank you!

    Linda
  • VodaHost
    General & Forum Administrator

    • Mar 2005
    • 12356

    #2
    Re: Duplicating URL Code In Menu Buttons

    moving to hyperlinking section.

    VodaHost

    Your Website People!
    1-302-283-3777 North America / International
    02036089024 / United Kingdom
    291916438 / Australia

    ------------------------

    Top 3 Best Sellers

    Web Hosting - Unlimited disk space & bandwidth.

    Reseller Hosting - Start your own web hosting business.

    Search Engine & Directory Submission - 300 directories + (Google,Yahoo,Bing)


    Comment

    • Nyoman
      Major

      • Sep 2005
      • 426

      #3
      Re: Duplicating URL Code In Menu Buttons

      Originally posted by L711inda
      When the menu buttons are clicked on my home page, 2 of the same page open. I wanted the pages to be pop-up style instead of full page, and someone in the forum was kind enough to give me the URL code to make that happen. But when I put that code in as the URL for the menu button, it gets put into the HTML code twice. If I right click one of the menu buttons, the last item in the drop down list is HTML. If I click on that it brings up all of the code associated with that menu button and the code is clearly in there twice so that's why the pages open twice. The original code given to me was: #" onClick="window.open('http://anonymouse.org/cgi-bin/anon-www.cgi/http://www.yourdomain/yourpage.html', '','width=300,height=300'); return false;" and I replaced the pertinent data so it would refer to my page, and for the accounting menu button the code is:
      #" onClick="window.open('http://anonymouse.org/cgi-bin/anon-www.cgi/http://www.lsjservices.com/accounting.html', '','width=400,height=200'); return false;" and that's all I put into the URL of the menu button when I created it. But it's showing up twice in the HTML code of the menu button. The code works perfectly for the text hyperlink, but for some reason the menu button duplicates the code. My domain is: www.lsjservices.com.

      Thank you!

      Linda
      look at your other post http://www.vodahost.com/vodatalk/blu...-up-again.html
      .
      .
      Nyoman

      Comment

      Working...
      X