Universal CSS Transforms: Rotate Support Product Page
body onLoad
Shared 26 Jul 2010 23:22:34
1
likes this idea
26 Jul 2010 23:22:34 Jeroen van Rossum posted:
Hi Guys,Thank you for this really handy free extension.
I like to use it to just place divs rotated without animation or clicking needed so I copied a piece of the code behind the body onLoad tag and it works great with one div.
My question is if it is possible to rotate multiple divs at once on body onLoad and how I 'll do that.
Or, even better, maybe you guys can put this functionality to rotate multiple elements on onLoad into the extension.
That would be splendid!
Replies
Replied 26 Jul 2010 23:27:00
26 Jul 2010 23:27:00 Jeroen van Rossum replied:
I was to fast with my question. I solved it myself.
The way to rotate multiple divs on onLoad is done like this:
<body onload="rotate('#apDiv1', '5'), rotate('#apDiv2', '-5')" >
The way to rotate multiple divs on onLoad is done like this:
<body onload="rotate('#apDiv1', '5'), rotate('#apDiv2', '-5')" >
Replied 27 Jul 2010 12:12:17
27 Jul 2010 12:12:17 Miroslav Zografski replied:
Hello Jeroen,
Selecting the body tag will allow you to choose in BEHAVIORS (DW CS3- ) or TAG INSPECTOR(DW CS4+)panel the onLoad behavior for the page. There you can add numerous behaviors on one event. Each with different properties.
Regards,
Selecting the body tag will allow you to choose in BEHAVIORS (DW CS3- ) or TAG INSPECTOR(DW CS4+)panel the onLoad behavior for the page. There you can add numerous behaviors on one event. Each with different properties.
Regards,
Replied 27 Jul 2010 15:08:44
27 Jul 2010 15:08:44 Jeroen van Rossum replied:
Hi Miro,
I was looking with my eyes closed, I think.
But this is wonderful! Thanx for explaining!
Regards, Jeroen
I was looking with my eyes closed, I think.
But this is wonderful! Thanx for explaining!
Regards, Jeroen
Replied 27 Jul 2010 16:28:21
27 Jul 2010 16:28:21 Miroslav Zografski replied:
Hello Jeroen,
You are welcome.
Regards,
You are welcome.
Regards,