I suggest jQuery as well. IIRC you can just put the following code an 
the end of your special page:

$(document).ready(function()  {
    //  page is fully loaded. Do stuff.
});

Greets
Jan



Am 26.02.2010 15:22, schrieb Mike McNally:
> 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&#174; 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
>>
>>
>>      
>
>
>    


------------------------------------------------------------------------------
Download Intel&#174; 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

Reply via email to