Ask a Question related to Macromedia Dynamic HTML, Design and Development.
-
sgl0ss #1
Create a Rotating Banner
I'm trying to create a banner that rotates everytime the page is refreshed. Is it possible to achieve this without using javascript or flash??? How??? Thanks
sgl0ss Guest
-
Create an animated banner like this one
Does any one know how to make images move up and down or left and right like in this ad banner: http://www.praloup.com/ its ths portrait... -
Rotating Problem
- I have a a model that rotates by pressing the left- and right arrowkeys. - Now I have a second model that keeps rotating (automatically) until it... -
Has anyone seen the "Mad Mad House" banner or the Pizza Hut banner? [video]
Has anyone seen these two banners anyplace? I've run into both of them on Yahoo and am desperately seeking a tutorial or any resources on how these... -
Rotating
how do I rotate a primitive/model without rotating it's own axis system. example - When creating a cone, it is created with it's sharp end pointing... -
Rotating Banner Ads
How do I set up rotating banner ads? Thanks, Brad ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ www.ropeofsilicon.com -
Excavatorak #2
Re: Create a Rotating Banner
Your going to need something to make it rotate... CSS isn't goiing to do it. You could use an animated .gif but that would rotate all the time. Not sure what else you could do.
Excavatorak Guest
-
elliot@carto #3
Re: Create a Rotating Banner
Not sure if this will help - I found this little snippit a few months back
which I used on a php page:
img src="ImagesFolder/ImageName{"1"|mt_rand:3}.jpg"
The catch is all images have to be named the same thing, with a different
number on the end, eg: flower1.jpg, flower2.jpg, flower3.jpg
The breakdown is:
? Change "ImagesFolder" to the name of the folder your images are in
? Change "ImageName" to the name of the image - "flower" with no numbers
? The 3 is how many images you want it to rotate between. As far as I know
this can be as many as you want. What it will do is randomly select any number
between 1 and 3 and stick in between the { } so you'll end up with flower2.jpg
- each time the page is refreshed, a new image is loaded. Only downside is it
doesn't have any sort of memory as to the last loaded image, so it's possible
to reload a few times and get the same image each time. I guess the more images
you have for it to choose from, the less likely that'll be.
Let me know if you get stuck. As I said it worked for me on a php page so not
sure if it will work in other languages.
elliot@carto Guest
-
hairy octopotamus #4
Re: Create a Rotating Banner
If you're using PHP/MySQL database to store your banners, you can select them
at random, and the banner displayed will be refreshed every time (in a random
order). To do this, just create a record set of your banner, and ORDER BY RAND
() LIMIT 1
hairy octopotamus Guest



Reply With Quote

