PDA

View Full Version : Falling autumn Leaves



harley
06-16-2007, 10:05 PM
1) Script Title: Autumn Leaves

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex3/leaves_dev.htm

3) Describe problem: I can get this script to work on PC-Explorer, andin my GoLive Preview page, but not on PC-Foxfire, or on Mac. All the leaves just stay clumped in the upper left hand corner. It of course works at: http://www.dynamicdrive.com/dynamicindex3/leaves.htm on all browsers and platforms. I have tried directly pasting the code from the developers page onto a clean webpage with no other coding or javascript and it still did not work. Why would it work on Firefox on the demo page and not on my page?

Many thanks. And I'm sure you have guessed, I am not a programmer. :-(
BTW, I can get the snow effects script to work on all platforms. I really need it to be the leaves script as it has to be different images floating down.
harley

thetestingsite
06-16-2007, 10:10 PM
Do you have a link to your problem page so that we may see if it has something to do with clashing javascripts on that page (whether it be produced on purpose by you or automatically using your GoLive program). Without that, there's really nothing more I can say.

harley
06-16-2007, 10:29 PM
I put it on my site:
http://www.acmedigitaldesign.com/aa-newsite/index.html

Many Thanks!!!
harley

jscheuer1
06-17-2007, 04:24 AM
That's an old script. It was written assuming quirks mode. However, as most modern web pages are written with a DOCTYPE that can (and usually does) throw a browser into stricter compliance with standards, this breaks the script in FF.

Here is a link to a version that doesn't have that problem:

http://home.comcast.net/~jscheuer1/side/bubble_leaves_bidirect.htm

Don't get scared, both the direction of movement and the speed are easily configurable. Use your browser's 'view source' to get the code.

harley
06-17-2007, 07:18 PM
Dear Supreme Command Coder,
Fantastic, works like a charm. I have a very happy client. Thank you so very much for taking the time to help me. I really appreciate it!!!!
Cheers,
harley

harley
06-18-2007, 09:14 PM
Hi Supreme Commander Coder,
There was a post a few years ago, where you made the leaves slowly disappear.. I tried to adapt that, but, being the ludite coder that I am, I got the leaves stuck in the corner, and then they disappeared. :-(
The link to the post is: http://www.dynamicdrive.com/forums/showthread.php?t=4271&highlight=falling+leaves+time

Could you please tell me how to adapt this script to todays standards. Also, is there a way to make the leaves fall down the sides of the page and not directly over the middle? Not to ask too much, oh honored coder... :-)
Cheers,
harley

jscheuer1
06-22-2007, 02:00 AM
http://home.comcast.net/~jscheuer1/side/bubble_leaves_bidirect_timeout.htm

harley
06-22-2007, 02:25 AM
Ok, that's good. Many thanks, especially for yor speedy reply. You're the best!
Cheers,
harley