![]() |
Help with buttons....
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 |
Re: Help with buttons....
Quote:
Try use this code: PHP Code:
|
Re: Help with buttons....
That worked....Thanks.
Are those links abled to be indexed by spiders? Is that something that I should worry about? |
Re: Help with buttons....
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.
|
Re: Help with buttons....
Quote:
Options (for spiders):1. You can use the site map. 2. You can add a link in the table. PHP Code:
|
All times are GMT -8. The time now is 01:45 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.