search for: addloadevent

Displaying 3 results from an estimated 3 matches for "addloadevent".

2006 May 02
5
How to call a javascript function from rails view?
Is there a way to call a javascript function from within a rails view? I can''t use the onLoad javascript method inside the <body> tag because I don''t have control over the body tag, it''s in my header. There are several rss feed reading functions that are in the page and I would like to call those functions while the page is being loaded or once it''s
2006 May 26
0
I can not get any scriptaculous effects to finish with items visible
...ot;hidden" name="arrangement" value="sendEmail" /> </form> </div> and here I was hoping to use Simon Willison''s addLoad function to hand the command a reference instead of the id, since that seems to work better, but this did not work: addLoadEvent(function() { if(document.getElementById && document.getElementById("linkForNewMailList")){ var clickableItemThatWillTriggerChange = document.getElementById("linkForNewMailList"); var blockElementThatShouldBeEffected = document.getElementById("newMail...
2007 Mar 27
18
Textile Editor Plugin v0.1
The Textile Editor Helper (TEH) is a Javascript-based text formatting toolbar that will be added to all of your text areas that utilize the TEH feature. TEH was developed to provide a more WYSIWYG-ish option for users of our Rails CMS called slate while still letting us use Textile. ====================== = So what are the features? ====================== These are a list of the current features