TinyPortal

Development => Resources => Modules => Topic started by: webgurl123 on March 01, 2008, 06:08:10 AM

Title: Request for image rotating script
Post by: webgurl123 on March 01, 2008, 06:08:10 AM
I have read all the snippets to see if I could find what my client is looking for.  What they want is a front page block that will allow them to upload "poster" ads and have them rotate(perferrably without having to refresh).  Is there anyone who has seen this lurking about?  It would also be sweet if the images could be linked to that specific poster within the forum itself. ANy help is greatly appreciated.

Title: Re: Request for image rotating script
Post by: stormlrd on March 01, 2008, 08:45:14 AM
for auto refreshing research ajax snippets in google you might find something there
Title: Re: Request for image rotating script
Post by: webgurl123 on March 01, 2008, 06:11:42 PM
ok so if i find something, I can just add it to a block? what type of block would i use then? I guess I am just now grasping what it is you can do within these blocks.  Any code from anywhere is usable then?  Thanks
Title: Re: Request for image rotating script
Post by: JPDeni on March 01, 2008, 07:30:59 PM
If the code you find is written in php, then you would use a php block. If it's written in javascript, you would use a scriptbox.

QuoteAny code from anywhere is usable then?
Yeah, sorta. If it's php you need to adjust it a little bit, usually deleting the first and last line.

I would suggest that you look for it and give it a try. If you get an error or it doesn't work like you think it should, post here for help. Be sure to be specific about what the problem is and post the code you're using so we can figure out what's causing your problem.
Title: Re: Request for image rotating script
Post by: brianjw on April 10, 2008, 09:38:34 PM
Have you tried putting http://boingboing.net/busted_tees/rotate.php in a directory of your website and a bunch of images inside of it. Then just link to it like this: <img src="rotate.php"> and it will display all the images in that directory randomly.
Title: Re: Request for image rotating script
Post by: athenal on April 12, 2008, 04:09:14 AM
I'm looking for the same thing, specify a folder but not a random image, i don't want to have to reload the page or refresh to go to next image, kind of like a slideshow where it steps through the images after 2 or 3 seconds in the specified folder.
Title: Re: Request for image rotating script
Post by: Jpg on April 12, 2008, 04:31:41 AM
Make your own topic.
Don't hijack someone else's thread.

Do a google search btw.
Title: Re: Request for image rotating script
Post by: athenal on April 12, 2008, 04:53:29 AM
calm down jpg, i'm not trying to hijack it, i'm looking for the same thing so why open a new thread?  As for google, i've looked, i can only find stuff that either you have to put in the url for each image or only loads the next image when you refresh the page.
Title: Re: Request for image rotating script
Post by: Jpg on April 12, 2008, 04:56:38 AM
http://www.dyn-web.com/javascript/rotate-img/

It's the 1st one.
Yes you have to put a url for each one.

Also try this one-
http://simplythebest.net/scripts/DHTML_scripts/dhtml_script_66.html
Title: Re: Request for image rotating script
Post by: Smoky on April 12, 2008, 06:07:23 AM
here is a good place to look for the scripts:

http://www.dynamicdrive.com/dynamicindex14/index.html

and also:

http://www.webdeveloper.com/forum/archive/index.php/t-5767.html

http://javascript.internet.com/miscellaneous/random-image-rotator.html

if you need more, check google "here" (http://www.google.com/search?client=firefox-a&rls=org.mozilla%3Aen-US%3Aofficial&channel=s&hl=en&q=rotating+image+script&btnG=Google+Search)

if you happen to find a good one, post it up here for everyone..  ;)
Title: Re: Request for image rotating script
Post by: IchBin on April 12, 2008, 05:27:17 PM
athenal, we ask that you start your own topic for a few reasons.

1. Issues are marked solved as often as we can.
2. People put notifications on their own topics. You just opened the topic up again notifying these people that don't care to know about your problem.
3. Its in our posting guidelines that you start your own topic, and reference any topic that you need to. (such as this one).
4. Its generally considered rude in many forum communities.

We would appreciate your effort to follow our guidelines. Thanks!
Title: Re: Request for image rotating script
Post by: brianjw on April 12, 2008, 08:53:18 PM
The same rotate.php script everyone is looking for is also the random comic strip which is in the Block Code Snippets board as well. ;)
Title: Re: Request for image rotating script
Post by: lOOmis on April 16, 2008, 09:57:17 PM
The crew over at DzinerStudios put together a way to use Smooth Gallery 2.0. I have it in two of my sites because it looks good and its easy to set up....mostly because of them...

http://smoothgallery.jondesign.net/showcase/timed-gallery/