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.
for auto refreshing research ajax snippets in google you might find something there
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
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.
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.
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.
Make your own topic.
Don't hijack someone else's thread.
Do a google search btw.
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.
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
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.. ;)
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!
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. ;)
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/