Forums: Rockclimbing.com: Bugs & Error Reports: Re: [skinner] add [tags] suggestion: Edit Log




sbaclimber


Aug 19, 2008, 5:45 AM

Views: 9262

Registered: Jan 21, 2004
Posts: 3080

Re: [skinner] add [tags] suggestion
Report this Post
Average: avg_1 avg_2 avg_3 avg_4 avg_5 (0 ratings)  

The following 2 red lines could be added to the addTag(tag) function, and should fix the problem:

function addTag(tag) {
var scrollTop=document.post.post_message.scrollTop;
................
*rest of the original code*
................
document.post.post_message.focus();
document.post.post_message.scrollTop=scrollTop;
return;
}

...some additional logic to recognize that a closing tag has already been set would also be nice...Wink


(This post was edited by sbaclimber on Aug 19, 2008, 5:48 AM)



Edit Log:
Post edited by sbaclimber () on Aug 19, 2008, 5:48 AM


Search for (options)

Log In:

Username:
Password: Remember me:

Go Register
Go Lost Password?
$10.85 (10% off)
$4.46 (10% off)
$12.56 (10% off)
$44.96 (10% off)