| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Help with adding a link to JUMP MENU | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() 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! </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>
__________________
x-cart 4.0.16v linux server |
|||||||
#2
|
|||||||
|
|||||||
![]() 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?
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||
|
|||||||
![]() no. Iam not quite sure what I should add?
__________________
x-cart 4.0.16v linux server |
|||||||
#4
|
|||||||
|
|||||||
![]() Search Google for 'Jump Menu'. Here's an example:
http://javascript.internet.com/navigation/jump-menu.html
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#5
|
|||||||
|
|||||||
![]() Thanks iam checking it out.
|
|||||||
#6
|
|||||||
|
|||||||
![]() (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?
__________________
x-cart 4.0.16v linux server |
|||||||
|
|||
X-Cart forums © 2001-2020
|