| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Help with buttons.... | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() How do I make this button work without making the text the hyperlink..
<table cellspacing="0" cellpadding="0" onclick=href="/register.php" class="ButtonTable"> <tr><td><input type="image" src="{$ImagesDir}/but_menu1.gif" class="ButtonSide_menu" alt="" /></td><td class="Button_menu"><font class="Button_menu"> Register</font></td><td><img src="{$ImagesDir}/but_menu2.gif" class="ButtonSide_menu" alt="" /></td></tr> </table> Whats the proper code for the "onclick" tag. Thanks
__________________
X-cart gold 4.5.2 (live) X-payments 1.0.5 http://www.professionalcarcare.com Your online source for all your car care needs |
|||||||
#2
|
|||||||||
|
|||||||||
![]() Quote:
Try use this code: PHP Code:
|
|||||||||
#3
|
|||||||
|
|||||||
![]() That worked....Thanks.
Are those links abled to be indexed by spiders? Is that something that I should worry about?
__________________
X-cart gold 4.5.2 (live) X-payments 1.0.5 http://www.professionalcarcare.com Your online source for all your car care needs |
|||||||
#4
|
|||||||
|
|||||||
![]() Spiders can't handle javascript onclick links, as they don't 'click', which is fine as you don't want them to spider the cart or checkout area anyway.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#5
|
|||||||||
|
|||||||||
![]() Quote:
Options (for spiders):1. You can use the site map. 2. You can add a link in the table. PHP Code:
|
|||||||||
|
|||
X-Cart forums © 2001-2020
|