X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Dev Questions (https://forum.x-cart.com/forumdisplay.php?f=20)
-   -   Click anywhere in result pages icons (https://forum.x-cart.com/showthread.php?t=20027)

GriffithLea 02-19-2006 09:32 PM

Click anywhere in result pages icons
 
Something that annoys me and, I figure, my users is the fact that you have to click on the actual page number in the result pages navigation icons. Clicking on the little page icon isn't enough. In the interest of ease-of-use I've made the following modification to line 27 of skin1/customer/main/navigation.tpl:

Code:

<TD width="{$cell_width}" background="{$ImagesDir}/page{$suffix}.gif" align="center" valign="bottom" onclick="window.location='{$navigation_script}&page={%page.index%}';return false" onmouseover="this.style.cursor='pointer'" onmouseout="this.style.cursor='auto'">{%page.index%}[img]{$ImagesDir}/spacer.gif[/img]</TD>

One thing it doesn't do is update the window status (I mean the string of text typically on the bottom of the browser that changes depending on what link the mouse is over) when the mouse enters the table cell. If I get it to do that, I'll post an update.

Hopefully, this will be helpful to someone.


All times are GMT -8. The time now is 04:53 AM.

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