Reply
Image Rotation
Old 07-20-2006, 06:44 PM Image Rotation
rolda hayes's Avatar
Wannabe Adventurer...

Posts: 587
Name: Darren
Location: England
Hi there!

Does any one know of a script that allows image rotation (or fading, pixelisation) that can all be timed differently?

All that ive found can only be set to change at a set period (i.e. 5 seconds each)

i need something that can be set for different pics?

Thanks in advanvce!

Hayes
rolda hayes is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
Old 07-20-2006, 07:46 PM Re: Image Rotation
vangogh's Avatar
Post Impressionist

Posts: 8,923
Name: Steven Bradley
Location: Boulder, Colorado
Do the times need to be something you specify for each or can they be random as long as they're different. If random times are ok you can use:

Math.round(100*Math.random())

Match.random will give a number between 0 and 1. Multiplying by 100 will give you a number between 0 and 100 and round and floor will turn the number into an integer. round will round up so the numbers will be integers between 1 and 100.

You should be able to integrate that into the script to get different times.
__________________
l Search Engine Friendly Web Design | Van SEO Design
l Tips On Marketing, SEO, Design, and Development | TheVanBlog
l Custom WordPress Themes
| Small Business Forum
vangogh is offline
Reply With Quote
View Public Profile Visit vangogh's homepage!
 
Reply     « Reply to Image Rotation
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.34944 seconds with 12 queries