Previous Thread
Next Thread
Print Thread
Hop To
[FIXED for 7.0.1] Disclosure triangles on forums page jump to the top when clicked
#166821 10/22/2006 3:19 AM
Joined: Oct 2006
Posts: 37
GregH Offline OP
newbie
OP Offline
newbie
Joined: Oct 2006
Posts: 37
If you scroll down the page and click on the triangle to hide that category, in addition to hiding the category the page jumps back to the top (scrolls back up). In Firefox anyway. This is because of the "#" target. There is a simple fix.

The cfrm.tpl template file needs to be changed from
Code
<a href="#" onclick="showHideBlock('cat{$catrow[cats].CatId}');">
to
Code
<a href="#" onclick="showHideBlock('cat{$catrow[cats].CatId}');return false;">

Last edited by Rick; 10/23/2006 10:53 AM.
Re: Disclosure triangles on forums page jump to the top when clicked
GregH #166933 10/23/2006 10:53 AM
Joined: Jun 2006
Posts: 9,243
Former Developer
Offline
Former Developer
Joined: Jun 2006
Posts: 9,243
Thanks for the fix!


Link Copied to Clipboard
ShoutChat Box
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
how to check forum for slow posting
by Ruben - 02/25/2020 2:17 PM
AWS Lightsail platform
by jjjjj - 02/20/2020 7:27 AM
Users cant register after upgrade to Version 7
by Jim0421 - 02/13/2020 11:32 PM
Looking for best site firewall and CDN service
by Ruben - 02/11/2020 3:01 PM
Who's Online Now
6 members (Ruben, SD, isaac, Gizmo, Ravenfreak, mmkk), 65 guests, and 38 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Amusing Terain Scenics
Amusing Terain Scenics
by isaac, August 19
Sky places
Sky places
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Snapshot build 20200227)