Today's Posts Follow Us On Twitter! TFL Members on Twitter  
Forum search: Advanced Search  
Navigation
Marketplace
  Members Login:
Lost password?
  Forum Statistics:
Forum Members: 24,254
Total Threads: 80,792
Total Posts: 566,471
There are 1296 users currently browsing (tf).
 
  Our Partners:
 
  TalkFreelance     TalkFreelance Information     General Discussion :

How do I... rotator?

Thread title: How do I... rotator?
Closed Thread  
Page 2 of 2 < 1 2
    Thread tools Search this thread Display Modes  
11-20-2006, 09:56 PM
#11
Relapse is offline Relapse
Status: Member
Join date: Nov 2006
Location:
Expertise:
Software:
 
Posts: 260
iTrader: 0 / 0%
 

Relapse is on a distinguished road

  Old

that's not really a rotator then... that's a slideshow type thing.

11-20-2006, 10:13 PM
#12
.amaZe is offline .amaZe
Status: Nixism
Join date: Aug 2006
Location: Nix Yorkism
Expertise:
Software:
 
Posts: 2,147
iTrader: 19 / 100%
 

.amaZe is an unknown quantity at this point

  Old

how do i do that then?

11-20-2006, 11:22 PM
#13
Garrett is offline Garrett
Status: Waving
Join date: Aug 2005
Location:
Expertise:
Software:
 
Posts: 2,694
iTrader: 11 / 100%
 

Garrett is on a distinguished road

Send a message via MSN to Garrett

  Old

11-20-2006, 11:42 PM
#14
.amaZe is offline .amaZe
Status: Nixism
Join date: Aug 2006
Location: Nix Yorkism
Expertise:
Software:
 
Posts: 2,147
iTrader: 19 / 100%
 

.amaZe is an unknown quantity at this point

  Old

GArret.. that is the cloeset thing I have found, but not what i am looking for.. but thanks..

11-21-2006, 07:33 AM
#15
Julian is offline Julian
Status: Simply to simplify
Join date: Apr 2005
Location: Foxton, Manawatu, New Zealand
Expertise:
Software:
 
Posts: 5,572
iTrader: 0 / 0%
 

Julian is on a distinguished road

  Old

This is the code I got for a rotator on my wordpress sites:

PHP Code:
<?php
// --------------------------------------------------
// This script has been developed by Salathe from Talkfreelance.com
// he built on the codes from Jonny and Garret.
// --------------------------------------------------

// Path to the images
$image_path 'http://www.imagefolder.com/imagefolder/';

// Array of images, they should be in the folder above ^^
$images = array (
    
'image-goes-here-01.jpg',
    
'image-goes-here-02.jpg',
    
'image-goes-here-03.jpg',
);

// Output HTML IMG code
printf(
    
'<img src="%s" alt="%s" />',
    
$image_path $images[rand(0, (count($images) - 1))],
    
'Coley Street School Header'
);  
?>

11-21-2006, 12:00 PM
#16
Salathe is offline Salathe
Salathe's Avatar
Status: Community Archaeologist
Join date: Jul 2004
Location: Scotland
Expertise: Software Development
Software: vim, PHP
 
Posts: 3,820
iTrader: 25 / 100%
 

Salathe will become famous soon enough

Send a message via MSN to Salathe

  Old

I really wish that people would look at the examples provided before posting. He's looking for something to rotate a collection of images periodically -- a slideshow effect -- not an 'ad rotator' or similar.

Garret's example will do this job, assuming you know enough to modify and style it to suit your needs. Are you after a finished product that you can just copy and paste, amaZe?

11-21-2006, 08:25 PM
#17
.amaZe is offline .amaZe
Status: Nixism
Join date: Aug 2006
Location: Nix Yorkism
Expertise:
Software:
 
Posts: 2,147
iTrader: 19 / 100%
 

.amaZe is an unknown quantity at this point

  Old

Originally Posted by Salathe
I really wish that people would look at the examples provided before posting. He's looking for something to rotate a collection of images periodically -- a slideshow effect -- not an 'ad rotator' or similar.

Garret's example will do this job, assuming you know enough to modify and style it to suit your needs. Are you after a finished product that you can just copy and paste, amaZe?
yes. something that is easy to edit and change.. nothing complex..

Closed Thread  
Page 2 of 2 < 1 2


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

  Posting Rules  
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump:
 
  Contains New Posts Forum Contains New Posts   Contains No New Posts Forum Contains No New Posts   A Closed Forum Forum is Closed