X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Help with adding a link to JUMP MENU (https://forum.x-cart.com/showthread.php?t=27122)

mmoskva 12-05-2006 08:46 AM

Help with adding a link to JUMP MENU
 
I have these lins of code below and woud like to put them in a jump menu so when they are clicked, they will automatically reference user to a page on the cart?
> I attached my 'original code' and the 'changes that I made' but notiing happened with my changed files when they are selected?


(my original code)
<A href="{pages_url var="page1" catid=$cat}">{$lng.lbl_page1}</A>
<A href="{pages_url var="page2" catid=$cat}">{$lng.lbl_page2}</A>
<A href="{pages_url var="page3" catid=$cat}">{$lng.lbl_page3}</A>
<A href="{pages_url var="page4" catid=$cat}">{$lng.lbl_page4}</A>



(what I changed)
<select name=categoryId>
<option value="" selected>Check these out!&nbsp;&nbsp;&nbsp;&nbsp;</option>
<option value="{pages_url var="page1" catid=$cat}">{$lng.lbl_page1}</option>
<option value="{pages_url var="page2" catid=$cat}">{$lng.lbl_page2}</option>
<option value="{pages_url var="page3" catid=$cat}">{$lng.lbl_page3}</option>
<option value="{pages_url var="page4" catid=$cat}">{$lng.lbl_page4}</option>
</select>

balinor 12-05-2006 06:32 PM

Re: Help with adding a link to JUMP MENU
 
Well how does the form know to open a url when one of those options is selected? Do you have a form script to go with it?

mmoskva 12-06-2006 05:49 AM

Re: Help with adding a link to JUMP MENU
 
no. Iam not quite sure what I should add?

balinor 12-06-2006 06:07 AM

Re: Help with adding a link to JUMP MENU
 
Search Google for 'Jump Menu'. Here's an example:

http://javascript.internet.com/navigation/jump-menu.html

mmoskva 12-06-2006 07:08 AM

Re: Help with adding a link to JUMP MENU
 
Thanks iam checking it out.

mmoskva 12-06-2006 07:11 AM

Re: Help with adding a link to JUMP MENU
 
(In my example I had reference link like)
<A href="{pages_url var="page2" catid=$cat}">{$lng.lbl_page2}</A>

(but, on your site link it shows like)
<option value=http://javascript.internet.com>JSS</option>


How I do I adjust it to make it work?


All times are GMT -8. The time now is 07:28 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.