That is neat. Good to know. Thank you much.
-a
On 3 March 2010 08:50, Ross Sargant wrote:
> Hi Aaron,
>
> If a minor modification to the layout file is acceptable, you can take
> advantage of the fact that you can pass parameters to layout and access them
> using EL expressions. In your layout
Hi Aaron,
If a minor modification to the layout file is acceptable, you can take
advantage of the fact that you can pass parameters to layout and access them
using EL expressions. In your layout file do something like this
When you call the layout on the page that needs the handler do this:
.
Or if you use dojo its the same idea
dojo.addOnLoad(function() {
.
});
On Fri, Feb 26, 2010 at 4:39 PM, Aaron Stromas wrote:
> Someone suggested to use windows.onload in my javascript file. I'll give
> that a shot first.Thanks to all.
>
>
> On 26 February 2010 10:01, Jan Künstler w
Someone suggested to use windows.onload in my javascript file. I'll give
that a shot first.Thanks to all.
On 26 February 2010 10:01, Jan Künstler wrote:
> I suggest jQuery as well. IIRC you can just put the following code an
> the end of your special page:
>
> $(document).ready(function() {
>
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 ho
Use jquery! in your page use this:
$j(function() {
alert("doucment is ready");
...
});
On Fri, Feb 26, 2010 at 3:22 PM, Mike McNally 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
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 "c