February 8, 201115 yr Hi for my home page i want to blend 2 images together eg. the sun changing to the moon, is this best done as a flash animation if so how can i do it. many thanks for any replies
February 12, 201115 yr are you just wanting to blend two pitures together? if so you could do this with put this in your head tag <script type="text/javascript" src="########ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js"></script> <script type="text/javascript" src="########cloud.github.com/downloads/malsup/cycle/jquery.cycle.all.2.74.js"></script> <script type="text/javascript"> $(document).ready(function() { $('.slideshow').cycle({ fx: 'fade', speed: 1000, timeout: 7000// choose your transition type, ex: fade, scrollUp, shuffle, etc... }); }); </script> then put this in your body where you want the animation <div class="slideshow"> <img src="image1.jpg"> <img src="image2.jpg"> </div> edit the speed and timeout settings to change fade wait time + change speed also replace the '########' with h t t p : / / (without spaces) in the code above, had to put them in as i cant post links hope this helps
Create an account or sign in to comment