Stop page scrooling to Top

vaikis

No avatar

2007-11-08 10:28

is it posible to stop page scrooling to top of page, when you are selecting menu categories/subcategories. (this is anoying when you have many categories in menu, and you allways have to scrool down.)

I hope you understand Q, if not i try to explain more :)

» Quick.Cart v2.x

merci

No avatar

2007-11-09 09:51

vaikis - can you describe it more clearly? maybe some screens will be helpful...

Proxivire

No avatar

2007-11-10 09:12

He means that when you have many main categories, and you have to scroll down to get to one, when you click it the page starts at the top again.

So when you want to be in a subcategorie of that main category, you have to scroll down again.

He wants to know if it's possible to make the page start at the height of the category you clicked, instead of at the top.

This is, when you think about it, not handy though, because customers will then have to scroll to the top once they're in the desired category.

-DmD-

vaikis

No avatar

2007-11-12 13:42

yes Proxivire this is what i wanted to say, and i need solution

merci

No avatar

2007-11-13 09:24

vaikis - in file templates/menu_1.tpl change the following code:

<dt class="l$aList[sStyle]" $aList[sSelected]><a href="?p=p_$aList[iCategory]&amp;sName=$aList[sNameUrl]">$aList[sName]</a>& lt;/dt>

to this:

<dt class="l$aList[sStyle]" $aList[sSelectedid="$aList[sNameUrl]"><a href="?p=p_$aList[iCategory]#$aList[sNameUrl]">$aList[sName]</a></dt>

and similary change for subcategories (insteda of dt, you will have dd)

vaikis

No avatar

2007-11-21 14:59

works good, not like i wanted but ok :)

thank you

Back to top
about us | contact