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 4: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 11:53 AM.
Re: Disclosure triangles on forums page jump to the top when clicked [Re: GregH] #166933 10/23/2006 11:53 AM
Joined: Jun 2006
Posts: 9,243
Rick Offline
Former Developer
Offline
Former Developer
Joined: Jun 2006
Posts: 9,243
Thanks for the fix!


Forum Search
ShoutChat Box
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Who's On Line Issue
by Larry Miller - 09/21/2019 9:37 PM
ubb.threads 7.7.3 install error on create tables
by andrewjs18 - 09/17/2019 3:39 AM
Horizontal Image Attachment
by ECNet - 09/11/2019 12:17 PM
user profile, after I click Update nothing happens
by PianoWorld - 09/10/2019 12:38 PM
Who's Online Now
2 registered members (Gizmo, isaac), 57 guests, and 424 spiders.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
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.3