Results 1 to 10 of 10
  1. #1
    Join Date
    May 2006
    Location
    Gardiner, Maine
    Posts
    2,371
    Plugin Contributions
    23

    Default Creating a jump menu for outside links

    I want to be able to have the select box send to a full url (to use for setting an affilate cookie). So I've discovered that that has the cart send me to http://domain.com/?jumpmenu=http%3A%...jamaffilates%2 etc where jumpmenu is the name in the select box. So I found out how the select boxes work in zen!

    But once I remove the name from the select, the screen refreshes to the default index page when the url is actually on another domain. Kind of like it's not finding anything but I can't be sure. Since the screen refreshes and it acts like a jump menu, something seems to be working.

    I can't find any instructions or information on this anywhere. Surely I'm not the first one to do this (or want to do this)!
    The full-time Zen Cart Guru. WizTech4ZC.com
    New template for 2.0 viewable here: 2.0 Demo

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Creating a jump menu for outside links

    Try a normal html href....
    Don't know what a "jump menu" is??

  3. #3
    Join Date
    May 2006
    Location
    Gardiner, Maine
    Posts
    2,371
    Plugin Contributions
    23

    Default Re: Creating a jump menu for outside links

    Jump menu is a select box that will once you choose an item will send the user to a specific url either on choosing it or when you hit the submit button.

    No room for the links in a sidebox.
    The full-time Zen Cart Guru. WizTech4ZC.com
    New template for 2.0 viewable here: 2.0 Demo

  4. #4
    Join Date
    Apr 2010
    Posts
    1
    Plugin Contributions
    0

    Default Re: Creating a jump menu for outside links

    Hello every body. Please help me. I want to Creating a jump menu for outside links. I think it will be more acquire more popularity with all. So please help for this.

    Geo Metro Parts

  5. #5
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Creating a jump menu for outside links


  6. #6
    Join Date
    May 2006
    Location
    Gardiner, Maine
    Posts
    2,371
    Plugin Contributions
    23

    Default Re: Creating a jump menu for outside links

    The links manager uses the same conventions as zen cart - sends you to another page. The exterior links mentioned in the second is for the links page itself, not the sidebox. We've decided to go another way in order to get this done. But This is still a question I would like answered.

    Thanks!
    The full-time Zen Cart Guru. WizTech4ZC.com
    New template for 2.0 viewable here: 2.0 Demo

  7. #7
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: Creating a jump menu for outside links

    Here is the code for the Drop down Jump Box using JS.

    With a GO Button
    <form name="Jump" action="">
    <select name="Menu">
    <option value="">Your Choices</option>
    <option value="http://offsite1.com/">link 1</option>
    <option value="http://offsite2.com/">link 2</option>
    </select>

    <input type="button" onClick="location=document.Jump.Menu.options[document.Jump.Menu.selectedIndex].value;" value="GO">
    </form>


    Immediate Action
    <form name="Jump" action="">
    <select name="Menu" onchange="location=document.Jump.Menu.options[document.Jump.Menu.selectedIndex].value;" value="GO">
    <option value="">Your Choices</option>
    <option value="http://offsite1.com/">link 1</option>
    <option value="http://offsite2.com/">link 2</option>
    </select>
    </form>

    How you incorporate into a Sidebox I will leave up to you.

  8. #8
    Join Date
    May 2006
    Location
    Gardiner, Maine
    Posts
    2,371
    Plugin Contributions
    23

    Default Re: Creating a jump menu for outside links

    Have you used this in zen cart?
    The full-time Zen Cart Guru. WizTech4ZC.com
    New template for 2.0 viewable here: 2.0 Demo

  9. #9
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: Creating a jump menu for outside links

    Nope, but it don't matter. It is basic JS and will work anywhere you put it.

  10. #10
    Join Date
    May 2006
    Location
    Gardiner, Maine
    Posts
    2,371
    Plugin Contributions
    23

    Default Re: Creating a jump menu for outside links

    I tried 2 different sets of javascript that didn't work. That's why I was asking. This is what happens:

    http://domain.com/index.php?menu=htt...hp%3Fid%3D5007
    The full-time Zen Cart Guru. WizTech4ZC.com
    New template for 2.0 viewable here: 2.0 Demo

 

 

Similar Threads

  1. v151 Creating a Jump Menu using the zen_draw_form function
    By DivaVocals in forum General Questions
    Replies: 14
    Last Post: 9 Oct 2013, 03:36 AM
  2. Replies: 3
    Last Post: 22 May 2010, 11:41 PM
  3. Jump or On Page Links
    By voltage in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 4 Jul 2006, 04:02 AM

Posting Permissions

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