Code Comments
Programming Forum and web based access to our favorite programming groups.hi all, is there sombody who can helpme witht he following, i am ''pretty new'' to php and am looking for a script to show images randomly at a 10/ 15 seconds interval. is there anybody who can help me with this or does know where to find a good template script for this? thanks in advance, rene
Post Follow-up to this messagerene willemsen wrote: > hi all, > > is there sombody who can helpme witht he following, i am ''pretty new'' to > php and am looking for a script to show images randomly at a 10/ 15 second s > interval. is there anybody who can help me with this or does know where to > find a good template script for this? > > thanks in advance, > rene > > you have to use java script or flash!
Post Follow-up to this messagerene willemsen wrote: > hi all, > > is there sombody who can helpme witht he following, i am ''pretty new'' to > php and am looking for a script to show images randomly at a 10/ 15 second s > interval. is there anybody who can help me with this or does know where to > find a good template script for this? > > thanks in advance, > hmm if you want to use php, it may be because you want to select php images and order them randomly before to run the script. I wrote a script who take randomly 10 images from a directory full of images, create a random order from them and then generate (print the code of) a javascript array that contains the images list. I wrote javascript shading for the images transitions. The shading (it disapear smoothly) is working on IE/Netscape/mozilla/konqueror/safari I can send the script to you, in exchange you just tell me the web site you plan to use it on (so that i know to what i contributed). Nadine St-Amand nadine@coloria.ca
Post Follow-up to this messageGale wrote: > rene willemsen wrote: > > you have to use java script or flash! That is bulls**t, can be done in php, you would have been able to see my replay if the original poster haden't been a stupid multiposter and done a proper crosspost instead. //Aho
Post Follow-up to this messagerene willemsen wrote: > hi all, > > is there sombody who can helpme witht he following, i am ''pretty new'' to > php and am looking for a script to show images randomly at a 10/ 15 second s > interval. is there anybody who can help me with this or does know where to > find a good template script for this? > > thanks in advance, > rene > > SELECT imagefile FROM images LIMIT 1 ORDER BY RAND(); :-)
Post Follow-up to this messageOn Sun, 29 May 2005 21:15:48 +0200, Vincent THOREL <vincent.thorel@laposte.net> wrote: >rene willemsen wrote: >SELECT imagefile FROM images LIMIT 1 ORDER BY RAND(); > >:-) Which will give you an error. It should be order by rand() limit 1 If the original poster had restricted his enquiry to just the one group instead of multi-posting, s/he would have avoided non-sense like this. Multi-post perhaps if you don't get an answer in your first choice of group; to START by multi-posting is just plain stupid.
Post Follow-up to this messagePowered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.