Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

Click anywhere in result pages icons

   X-Cart forums > X-Cart 4 > Dev Questions
Thread Tools Search this Thread
Old 02-19-2006, 09:32 PM
  GriffithLea's Avatar 
GriffithLea GriffithLea is offline

Join Date: Jun 2005
Location: Houston, TX
Posts: 28

Default 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:

<TD width="{$cell_width}" background="{$ImagesDir}/page{$suffix}.gif" align="center" valign="bottom" onclick="window.location='{$navigation_script}&page={%page.index%}';return false" onmouseover="'pointer'" onmouseout="'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.
Started out with Version 4.0.13 .
Upgraded to Version 4.0.14 on 27 Jun 2005 .
Upgraded to Version 4.0.17 on 04 Dec 2005 .
Upgraded to Version 4.0.19 on 24 Oct 2006 .
Reply With Quote
   X-Cart forums > X-Cart 4 > Dev Questions

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

All times are GMT -8. The time now is 03:04 PM.


X-Cart forums © 2001-2020