Use jquery! in your page use this: $j(function() { alert("doucment is ready"); ... });
On Fri, Feb 26, 2010 at 3:22 PM, Mike McNally <emmecin...@gmail.com> wrote: > Well if you don't modify the layout *somehow*, I don't see how you'll > get the functionality on some pages but not on others. > > Sometimes people don't want to hear this, but I'd strongly recommend > using a client-side framework like jQuery for your event handling. > > If you can get at least a special "class" value on your body tag, then > you can pull in a script (for all pages) that looks for that tag and > then reacts to the "load" or "ready" events as necessary. > > On Fri, Feb 26, 2010 at 8:18 AM, Aaron Stromas <passog...@gmail.com> wrote: >> Greetings, >> >> First off, I'm a Stripes novice and I hope I'm not asking something obvious. >> We have a standard layout defined for all pages but I need to add a onload >> event handler to the <body> tag of one of my pages. Since it is of no use to >> all pages, I don't want to modify the layout. Is there a way of >> accomplishing this? >> Thanks? >> >> -aaron >> -- >> >> >> >> ------------------------------------------------------------------------------ >> Download Intel® Parallel Studio Eval >> Try the new software tools for yourself. Speed compiling, find bugs >> proactively, and fine-tune applications for parallel performance. >> See why Intel Parallel Studio got high marks during beta. >> http://p.sf.net/sfu/intel-sw-dev >> _______________________________________________ >> Stripes-users mailing list >> Stripes-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/stripes-users >> >> > > > > -- > Turtle, turtle, on the ground, > Pink and shiny, turn around. > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Stripes-users mailing list > Stripes-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/stripes-users > -- Richard Hauswald Blog: http://tnfstacc.blogspot.com/ LinkedIn: http://www.linkedin.com/in/richardhauswald Xing: http://www.xing.com/profile/Richard_Hauswald ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Stripes-users mailing list Stripes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/stripes-users