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




sbaclimber


Aug 19, 2008, 8:45 AM

Views: 9626

Registered: Jan 22, 2004
Posts: 3113

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, 8:48 AM)



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


Search for (options)

Log In:

Username:
Password: Remember me:

Go Register
Go Lost Password?
$128.70 (10% off)
$8.96 (10% off)
$58.46 (10% off)
$53.96 (10% off)