Please be a bit more specific <br><br> <p>Unicorn11<br><a href=mailto:webmaster@tripmedia.com>webmaster@tripmedia.com</a><br><a href= > </a><br>Hi there it all likeminded fellows!!!!!!
do you mean you're trying to create an animated GIF graphic with a bouncing ball? <p>Liam Morley<br><a href=mailto:lmorley@wpi.edu>lmorley@wpi.edu</a><br><a href=
if you are talking about a regular repeated animation, get any software that'll create animated GIF and it'll work in any browser. <p>Karl<br><a href=mailto:kb244@kb244.8m.com>kb244@kb244.8m.com</a><br><a href=
ok, It'll work in <b>Almost</b> any browsers(the standards graphical ones at least) <p>Karl<br><a href=mailto:kb244@kb244.8m.com>kb244@kb244.8m.com</a><br><a href=
Here's my code. I want the animation to stop at the starting point and 'bounce' back to the other point. As you can see on the 'bounce' back it just keep's going off the page. Thank's for any help you can give me!<br><br><html><br><head><br><title>Example of Sliding Layers</title><br><br><script language="JavaScript"><br><br>function moveLayer(lyr,xadder,yadder,xend,timer){<br> lyr.top += yadder<br> lyr.left += xadder<br> <br> if ((xadder < 0) && (lyr.left > xend)) {<br> setTimeout('moveLayer(document.layers["'+lyr.name+'"],'+xadder+','+yadder+','+xend+','+timer+')',timer)<br> }<br>else{<br>setTimeout('moveLayer(document.layers["'+lyr.name+'"],4,4,30,20)',20)<br>}<br>}<br></script><br><br></head><br><body bgcolor="Black" onload="moveLayer(document.layers['Image1'],-4,-4,4,20)"><br><layer name="Layer1" top=100 left=100 visibility=show><br><img src="Image1.jpg" width=90 height=90 alt="Image1"><br></layer><br><br></body> <br></html>
Well if ur using dreamweaver 2+ then use time lines and give any animation to the layer so that you can use that in that manner then loop it so that it will go on playing <br><br> <p>Unicorn11<br><a href=mailto:webmaster@tripmedia.com>webmaster@tripmedia.com</a><br><a href= > </a><br>Hi there it all likeminded fellows!!!!!!
Unicorn11, uh? How did Dreamweaver get into this?<br><br>hannah3,<br><br>It appears that you have code to turn the direction around when you reach your left boundary but you don't have any to change direction back to the left when you hit the right boundary. So of course you need to add a test condition for that occurrence and begin sending -4 for 'xaddr' again like in your Body.onload code.<br><br>At least thats what I think I see in the code.<br><br>Good luck<br>-pete<br>
I'd have to support Unicorn11 on this one.<br><br>Dreamweaver 3 (what I'm using at the moment) makes animations like the one described fairly easy.<br><br>See Dreamweaver help - Timelines.<br><br>
I think I'm going to have to go with palbano on this one ) if somebody with a question needs help with code, we can't just send them off to something that will make it for them... they don't learn anything that way.<br><br>But that's just me, the purist. I still use notepad... I have dreamweaver only because I got it for free, but I have yet to use it. I think these things are much more fun when you learn it yourself. <p>Liam Morley<br><a href=mailto:lmorley@wpi.edu>lmorley@wpi.edu</a><br><a href=
When u use dreamweaver and timelines you can take a layer as hannah3 has and then define a timeline ie at a given time if will go from here to here and will be visible from this path to this part or give a path for it to follow <br><br>Enjoy <p>Unicorn11<br><a href=mailto:webmaster@tripmedia.com>webmaster@tripmedia.com</a><br><a href= > </a><br>Hi there it all likeminded fellows!!!!!!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.