sxyloverboy
Jun 16 2005, 01:04 PM
| | Im looking for somethin that puts a diffrent image for each pageload/refresh. And it should be something that dosent need any super server technolgys like php and mysql and all that stuff. something that is enough just on the page and finished. |
Reply
overture
Jun 16 2005, 01:23 PM
Here you go, with a small amount of searching in google i found this: CODE <script language="JavaScript"> <!-- /* Random Image Link Script By Website Abstraction (http://www.wsabstract.com) and Java-scripts.net (http://www.java-scripts.net) */
function random_imglink(){ var myimages=new Array() //specify random images below. You can have as many as you wish myimages[1]="1.png" myimages[2]="2.png" myimages[3]="3.png"
var ry=Math.floor(Math.random()*myimages.length)
if (ry==0) ry=1 document.write('<img src="'+myimages[ry]+'" border=0>') }
random_imglink() //--> </script>
Source: http://www.java-scripts.net/javascripts/Ra...ge-Script.phtmlIt uses Javascript so it can be used on every single webpage imaginable, as long as the user has Javascript Enabled  .
Reply
sxyloverboy
Jun 17 2005, 09:44 PM
ok thanks man. that was exactly what im looking for. its seems easy to use and expand.
Reply
finaldesign
Jun 20 2005, 06:54 AM
But you can do exact thing in PGP, why not? I must say Im really not very good at PHP, but implementing an PHP script is simple as installing an aplication on your PC.
Reply
sxyloverboy
Jun 20 2005, 03:54 PM
QUOTE(finaldesign @ Jun 20 2005, 05:54 AM) But you can do exact thing in PGP, why not? I must say Im really not very good at PHP, but implementing an PHP script is simple as installing an aplication on your PC. yeah i know that it would have been easyer to impliment an php script but the server i was using at the time didnt support php so that was out. but greatfully i now got hosted by astahost and can use php. hahaha.
Reply
iGuest
Apr 17 2008, 08:07 PM
Rotate links to the images?
Random Images On Eacht Pageload And Refresh.
Replying to overtureI need a script like this only plus individual links to each image, how would one go about that? -question by Tristan
Reply
iGuest
May 7 2008, 03:34 PM
but how to make it launch in a popup window...?
Random Images On Eacht Pageload And Refresh.
With window dimensions, toolbar, statusbar, and other settings specified in the random image generator script? I'm not having any luck on my end. Thanks in advance for any help. -question by anne
Reply
Recent Queries:--
rotate image random when i refresh page - 0.48 hr back. (1)
-
showing a random image on every page refresh - 3.28 hr back. (1)
-
asp pageload photo popup - 14.80 hr back. (1)
-
xhtml random image simple on page load - 19.76 hr back. (1)
-
html random image - 23.29 hr back. (1)
-
dynamic background image load on every refresh javascript - 25.99 hr back. (1)
-
dispaly ramdom image on loading a page without refresh in .net - 27.36 hr back. (1)
-
display random image on loading a page without refresh in net - 27.38 hr back. (1)
-
display random image on loading a page without refresh in .net - 27.40 hr back. (2)
-
random image on page load - 36.84 hr back. (1)
-
how to make advert change when refresh - 38.59 hr back. (2)
-
rotate image on refresh - 40.39 hr back. (1)
-
javascript random image rotator - 40.92 hr back. (1)
-
rotate image sequence refresh - 41.16 hr back. (1)
Similar Topics
Keywords : random, images, eacht, pageload, refresh, plain, htlm, javascript
- Javascript Problem
(3)
Xhtml, Javascript, Css And Frames.
(0) Hello, I am building a form where a user selections several options (it uses javascript to modify
checkbox values based on other selections). At the end I need to re-generate html code based on the
selected form values, I don't particularly care what way it's done (although my site is
XHTML 1.0 Transitional), but I need it to update on the fly as they change options. The HTML code
is Google AdSense code, and I am trying to build my own from to generate all the different ad types
and generate the code (it's not just for me). What kind of options do I have?....
Ie Png Transparency Javascript?
is there one? (3) im working on a new design for my website but i need to be able to have transparent pngs. its all
fine in firefox and i think IE 7 it works, but IE 6, cos i no half the people that will be going on
my site will use internet explorer 6. so basically, does anyone know any javascript that will make
transparent PNG's work on internet explorer? id use gif but i dont just want a transparent
background. also, id use CSS and just gifs but i need some of it to not be transparent, lol im
fussy. so if you know anything please tell me, i gave up on javascript, its too hard. ....
Can I Make A Webpage With Javascript
title kinda says it all (9) ok, i plan to make a game, and i was wondering if i can make my webpage in javascript, i just
started learning it for this massive enderour i plan to over take, and i wanted to know if it was
possible lol. im also learning php and mysql. Thanks, Zemon1....
Javascript Show / Hide Functions
need some fine-tuning (3) Searching before posting my topic, i found this very helpful post. Javascript show + hide
However, I'm still muddling around trying to fine tune it, and since i'm no good at coding,
I'd appreciate any help. Using that example, how do I get the div text to be hidden on loading,
rather than showing it all at page load. Also, is there a way to have the text change when clicked?
so that for example, it would say "expand" when it's the small amount of text, and "collapse"
when it's the full text? ....
Where To Get Chat/Guestbook/Photo Album etc. Scripts?
javascript and flah chat , guestbook, photo album and other (4) Post here some links where u can download flash or javascript chat , guestbook, photoalbum, forum
... etc ......
To Display Images With Links In A Rotating Sequence Without Refreshing The Page!
how to rotate images with links in a sequence automatically without ha (0) hai this is my first post and i really hope someone finds it useful. i was looking for this trick
for long and finally found out today... to rotate images in your page automatically in a sequence
without having to refresh the page. i find it particualry useful to highlight on the home page the
various contents inside my site. Copied from
http://www.cgiscript.net/cgi-script/csNews...6.5787238091439 QUOTE Step 1: place the code
below between the and tags within the HTML page where you want the random banners to appear.
CODE ....
JavaScript
(1) Is there any place that i can get javascript from to use on my web page? Also are there any
tutorials on how to write javascript. I have no idea how it works and would be greatful for any help
that i can get. Thanx....
Get Input From Html/txt File?
with just html/css and maybe javascript? (2) I was just wondering if it's possible to retrieve text (and maybe images) from a .html or .txt
file. So for example you get the header and footer from an external file. Is it possible with just
html/css and maybe a little javascript or does it require server side scripting like php???
-=jeroen=-....
Hiding/showing Text On Click
is it possible with css/javascript (2) Ok, I got an question: I want to make a site with a news box or something similar. It's gonna be
a table with a small piece of text and an "read more" button. Now I want to make it so that if
people click on the "read more" there will appear an other piece of text underneath it. How do I do
this? thanks in advance, -=jeroen=-....
Php: How To Make A Menu With Images ?
Help needed (6) i try to make a site and i know html but i don't understand php, can somebody post some
code's? know somebody how you must make a menu in php with images at it, etx.....
Javascript Disables Css Link?
(4) Here's the code I'm using for my javascript link I decided to add to a website I'm
working on: Go Back The problem is that the css doesn't affect the javascript link. It
displays as a plain blue underlined link. The stylesheet correctly renders regular links to other
pages in the site, so the problem doesn't lie in my CSS coding. Thanks for the help.....
Help>> Fade Images
(1) Hi, Im trying to find out how to fade in scaled down images when the user holds the mouse over the
image. The image will be linking to the original image in a popup window that fits the size of the
image, if that makes any difference. also i dont want the image to be totaly faded out before the
user puts the mouse over, like 20% visible then when mouse over occurs it slowly goes to 100%, hope
u can help......
What Is The Best Javascript Menu Builder?
(7) I really need a free, cool and easy-to-integrate JAVASCRIPT menu builder for my new site. I mean
free to use as in unlimitated use provided i link the producer's site to my menu. Anyway if
someone knows anything pleas help. Thanks !!....
All Images Don't Show Up When Published!
Site looks OK when previed on computer (7) First attempt to publish the site didn't work to good. /sad.gif' border='0'
style='vertical-align:middle' alt='sad.gif' /> I have all the images used to test in /images/
folder and it's my first attempt on using CSS so it may be botched on the css level /wink.gif'
border='0' style='vertical-align:middle' alt='wink.gif' /> My CSS file are here at: style.css . I
created a index.html file and uploaded it together with all the images used. In the #header part 1
image show up but not the other (second image show not the first). Background image does not show ....
Javascript
Do you use javascript in your page ? (20) Hi , I begin to use Javascript recently. I understand very well and I'm already able to make
little scripts. I like Javascript , it adds interactivity to the page. But sometimes , it is not so
good ( Alerts while a page is loading ) So when do you use it , and when do you think Javascript is
the most useful on a page. Thanks Mathieu....
JavaScript template
(1) to begin a javascript template, you will need to begin with this code.... Untitled
Document ....
Dynamic ASP Javascript
(0) to begin a dynamic ASP Javascript you will need to begin with this code..... Untitled
Document ....
Protect images from Right-click
No scripts - just a small trick (5) Offen happens to see your images used in someone's website. Here is a little trick how protect
them, from the right-click 'Save Image As..' If you use tables, you can use the
'real' picture as backgroung in a cell and use a 1x1 tranparent GIF to cover it. See the
code to understand. CODE ....
Looking for random, images, eacht, pageload, refresh, plain, htlm, javascript
|
*SIMILAR VIDEOS*
Searching Video's for random, images, eacht, pageload, refresh, plain, htlm, javascript
|
advertisement
|
|