If someone tried to make me dig my own grave I would say No.
They're going to kill me anyway and I'd love to die the way I lived:
Avoiding Manual Labour.
[QUOTE=Big Frank;177011]Then script it with PHP or Javascript or Actionscript or something.QUOTE]
Thanks for the advice Frank but i don't know how to do that.............................................. ..............yet
You don't need to know. There are loads of tutorials on the web on how to do it using, for starters, Javascript. Here's one I found within 2 seconds of a Google search:
http://www.javascript-page.com/ranimage.html
If someone tried to make me dig my own grave I would say No.
They're going to kill me anyway and I'd love to die the way I lived:
Avoiding Manual Labour.
Ahh, much easier then.
If you can use PHP, you can just use this code:
Then if you have 10 images named 1.jpg through 10.jpg it will pick them randomly. Just change your the URL to match where your images are located. and if you have less than 10 images, change the 10 to 8 or whatever.HTML Code:<?php srand ((double) microtime( )*1000000); $photo = rand(0,10); echo "<img src=\"http://www.website.com/images/$photo.jpg\">"; ?>
I'd start a revolution, if I could get up in the morning.
thanks frank, i've found stuff like that too but i really don't know what to do with it i liked the link by A4Hire because it had steps as to what to do and at the stage i'm at i pretty much need it spelled out
Thanks Antony, what do you mean, change the url to match where the images are located do i just copy and paste that code into the page?
Thanks for all your help guys
You paste it directly into your page where you want the image to appear, and you change http://www.website.com/images/ to the location of your image.
BUT... the page itself needs to be named whatever.php, and that relies on PHP being enabled on your website.
I'd start a revolution, if I could get up in the morning.
If u dont want the Page need to be reloaded every time to show a random Picture better go with Javascript. This simulate the behaivor from animated gif.
It works in a very similar manner. I have such a Script few years ago, if u like i can find and post it here for you.
Whatever you use, dont use gif images - they are a good choice for low detail/less color images like cartoons, jpeg is optimize for Pictures.
Frank i tried the link and this is what happened just get a red X
i also get the same with A4hires link, so at least i'm consistant
Egg, once you had the pictures of the cars, what did you do then, did you use a programme? i've got macromedia flash8 but (as you can no doubt tell) never used it.
how do you then put it in to the webpages?
http://i47.photobucket.com/albums/f1...cing/front.gif
http://i47.photobucket.com/albums/f1...ing/front1.gif
ps, yes magicmesh, i'll give it a go, can you post it please
Remove the
from the image URLs. I am assuming the images are in the same directory (folder) as the page that contains your script.Code:F:\
Last edited by Big Frank; 13 October 2006 at 04:32 PM.
If someone tried to make me dig my own grave I would say No.
They're going to kill me anyway and I'd love to die the way I lived:
Avoiding Manual Labour.
thanks for your video lessons. i was really interested in your video lessons but every thing was in a different language actually Arabic of which i didn't even know where to log on
could you pls help me or give me a simple way to log on
Bookmarks