View Single Post
  #4 (permalink)  
Old 11-21-09, 03:06 PM
TwoD TwoD is offline
Community VIP
 
Join Date: Sep 2003
Location: 404
Posts: 1,813
Thanks: 0
Thanked 0 Times in 0 Posts
I've not used Scriptaculous before, but the syntax looks correct.

Given that we have no idea if the [global] variables
Code:
editedquestions
and
Code:
editedquestionsa
are defined/correct at all, or if something else on the page might be overriding the window.onload event handler;
Effect.Highlight - scriptaculous - GitHub and Effect.Parallel - scriptaculous - GitHub suggests setting the 'sync' option to true on the effects so they won't run as soon as they are instantiated.
Also try to explicitly set the restorecolor option on the highlights as the script has problems reading the original background-color correctly in various browsers.
__________________
[W3Schools - learn all about the standards.] [QuirksMode - Browser Quirks] [MS's Online Reference Docs] [DOM in Gecko.]
Please pay attention to stickys, announcements and forum rules, thank you.
Please also remember Code Wrappers and [SOLVED] Marking, this helps everyone.
Reply With Quote