PDA

View Full Version : Flying Butterfly as a link?



Shanna
08-07-2007, 06:23 PM
1) Script Title:
Flying Butterfly

2) Script URL (on DD):
http://www.dynamicdrive.com/dynamicindex4/butterfly.htm

3) Describe problem:
This is a wonderful script. I would like to know if it is possible to have the butterfly function as a link when clicked on, instead of just disappearing.

Also, I wanted to know of the speed of the butterfly's flapping and its movement across the screen can be altered. If so, would this affect all butterflies at once (if there was more than one) or could you set each butterfly's speed independently?

Thanks:)

Sliight
08-08-2007, 01:22 AM
t+=(NS4)?'<layer name="pic'+i+'" visibility="hide" width="10" height="10"><a href="http://www.yourlink.com">' : '<div id="pic'+i+'" style="position:absolute; visibility:hidden;width:10px; height:10px"><a href="http://www.yourlink.com">';

Try and make the changes in red above... no clue if it will work, this is just a guess...

Shanna
08-08-2007, 06:47 PM
Thank you so much, that is a really cool effect!

shanna