Results 1 to 3 of 3

Thread: Duplicating URL Code In Menu Buttons
      
   

  1. #1
    L711inda is offline Sergeant
    Join Date
    Aug 2006
    Posts
    21

    Default 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

  2. #2
    VodaHost's Avatar
    VodaHost is offline General & Forum Administrator
    Join Date
    Mar 2005
    Location
    Wilmington, Delaware USA
    Posts
    11,428

    Default Re: Duplicating URL Code In Menu Buttons

    moving to hyperlinking section.

    VodaHost

    Your Website People!
    1-302-283-3777 North America / International
    07031847328 / United Kingdom

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

    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)



  3. #3
    Nyoman is offline Major
    Join Date
    Sep 2005
    Location
    heavenly-temple
    Posts
    426

    Default Re: Duplicating URL Code In Menu Buttons

    Quote 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

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49