Web Design Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignWeb Design Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old July 5th, 2004, 01:14 AM
4tonaf 4tonaf is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Posts: 1 4tonaf User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Rotating pictures

Is there a simple picture rotator that works, that we can use with dreameaver to dynamically rotate/change multiple pictures on a page. Previously I used netobjects fusion, which had this as standard, although we also used a plug in from Appolon.de, that allowed me to select a range of pictures to alternate, time to show them, and allow each picture to link to a different location. All quite simple I am sure, I think this plug in created the relevant javascript. We have tried various bits of Javascript code, so far, but none apparently works properly. It was a surprise to me that dreamweaver does not come with this as standard. My designer tells me that this is no longer the done thing, "nobody uses rotating pictures anymore", so I am not sure that it is just because he does not want to do it. Do I need to resort to flash, which sounds painful.

Many thanks

AF

Reply With Quote
  #2  
Old July 5th, 2004, 10:22 AM
tony84 tony84 is offline
tony
Dev Shed Novice (500 - 999 posts)
 
Join Date: Apr 2004
Location: manchester uk
Posts: 670 tony84 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 13 h 11 m 38 sec
Reputation Power: 5
Send a message via AIM to tony84 Send a message via MSN to tony84
Code:
<script language="JavaScript">
<!-- Begin
var ad_cnt5 = 3;
var now5 = new Date()
var sec5 = now5.getSeconds()
var ad5 = sec5 % ad_cnt5;
ad5 +=1;
if (ad5==1) {
url5=;
banner5="http://image location here.com";
width5="300";
height5="300";
alt5="";
}
if (ad5==2) {
url5=;
banner5="http://image location2 here.com";
width5="300";
height5="300";
alt5="";
}
if (ad5==3) {
url5=;
banner5="http://image location3 here.com";
width5="300";
height5="300";
alt5="";
}
document.write('<center><img src="' + banner5 + '" width=' + width5 + ' height=' + height5 + ' border=0 alt="' + alt5 + '">');
document.write('</center>');
// End -->
</script>


might needa bit of changing but that should work, i got it off another site http://www.htmlbasix.com/banner.shtml
__________________
Free Forum hosting for clans

Last edited by edwinbrains : July 6th, 2004 at 03:02 AM. Reason: [code] & [/code] tags added

Reply With Quote
  #3  
Old July 5th, 2004, 10:22 AM
tony84 tony84 is offline
tony
Dev Shed Novice (500 - 999 posts)
 
Join Date: Apr 2004
Location: manchester uk
Posts: 670 tony84 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 13 h 11 m 38 sec
Reputation Power: 5
Send a message via AIM to tony84 Send a message via MSN to tony84
sorry, ive just thought it would probably make the file size quite big but you could just create a gif

Reply With Quote
  #4  
Old July 5th, 2004, 03:35 PM
obi_wonton's Avatar
obi_wonton obi_wonton is offline
(not) Banned
Dev Shed Novice (500 - 999 posts)
 
Join Date: Apr 2004
Location: Toronto, CANADA
Posts: 598 obi_wonton User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 9 h 4 m 13 sec
Reputation Power: 5
Sorry I don't have time to make a proper post, but try doing a google search for "javascript slide show". I believe webmonkey.com has a decent tutorial on creating one, or you could find a ready-made script for this somewhere else.

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignWeb Design Help > Rotating pictures


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway