Click to See Complete Forum and Search --> : Easiest way to swap flash images


mpaquette
08-21-2006, 02:28 PM
Hi, I have three different images I'd like to use on my home page but only want them to swap when the page is refreshed. My site is mostly PHP (which I'm still learning) So here is the question...

What would be the best solution?
1) Using DW swap function (which is basically javascript)? If so, how?

or
2) Should I attempt to add the images into a table to the use PHP to swap the flash images?
3) should I just use javascript to swap my images? (if so can you please point me as to where I can find such script?)

Also, I have another problem that i will probaby post else where but if anyone can answer this it would be greatly appreciated:

my flash image currently overuns my drop down javascript nav... basically my dropdown menus drop down behind the flash image (which loads right below my nav bar). Is there a way to make the object default to "behind/background" whatever is on the page?

Thanks!!

Maria

Compguy Pete
08-25-2006, 10:33 AM
Since your using PHP why not use a PHP based switcher.

This will randomly put images from a folder of your choice in that area.
http://www.alistapart.com/articles/randomizer/

On the overlap why dont you just size all the images to be the same that wont cover up that area.

mpaquette
08-25-2006, 04:42 PM
Thanks! I'm new to php, but this sounds like it would be a cleaner implementation than the javascript I'm currently using.

many thanks!
maria

arttel
08-26-2006, 12:46 PM
I believe you can use timelines to swap images in HTML