Javascript? I Need a random picture thingy>>>

free web hosting
Open Discussion > Have your say > General Talk

Javascript? I Need a random picture thingy>>>

Boomba
I need a script or something so that every time a page is loaded, there is a different picture shown...? and so I can like put a list of URL's and it goes through them randomly or just has an order...

Reply

wildteen88
Random have you tried going to http://www.dynamicdrive.com as they a good random picture script there!

Reply

Boomba
thanks for the promt reply, i have been there before but i havnt been able to see the code. I will look again.

Reply

wildteen88
I'm not sure if his any good but have forund a script here:
http://www.javascriptkit.com/script/cut118.shtml

Its at JavascriptKit.com

Reply

Nazrin
You can read this:Script

or check here to choose others.

I don't think I found JavaScript but these are Php Script...biggrin.gif

Reply

Comic Gate
Thanks, Wildteen88 found the code for me. Thanks.

Reply

l33tg33k
i remember seeing this in other forums on fnh check next time b4 posting

Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.

Recent Queries:-
  1. javascript random question - 356.87 hr back. (1)
Similar Topics

Keywords : javascript random thingy

  1. Random Thoughts - (11)
  2. I Have Several Random Questions... - Why Is This???? (8)
    ok these have been puzzling me if mineral water has been trickling down millions of years why does
    it have a expiary date on the bottle??? do blind people dream? Do They Dream? Square root of pie?
    hotdogs come in packs of 8 and hotdog rolls come in packs of 10 why?...
  3. Do You Like George Bush - just been random (10)
    i dont like him lol...
  4. What Would You Walk On Rather? - Random Poll V1.4 (11)
    Let's see what people vote for, I'm interested. /dry.gif' border='0'
    style='vertical-align:middle' alt='dry.gif' /> >_>...
  5. Johnny's Random Facts: #1 - Part 1 of my interesting facts! (25)
    Okay guys, I'm going to be posting random interesting facts, so here's number 1. (I'll
    post them in seperate topics, so there will be one topic to talk about each fact.) #1 -- QUOTE
    In the 1800's anyone in England who unsuccessfully attempted suicide faced the death penalty.
    Okay guys, I'm going to be posting random interesting facts, so here's number 2. (I'll
    post them in seperate topics, so there will be one topic to talk about each fact.) #2 -- QUOTE
    The house where Jefferson wrote the Declaration of Indepedence was replaced wi...
  6. It's A Random Thang - See inside for promotional details (3)
    Well, my mind is gone broken, I can't think of random polls, only sensible polls asking about
    the meaning of life, but their just generic. And we all know the answer is 42.. if not, read the
    hitch hikers guide to the galaxy, the peices of the puzzle will all fall together and you will fear
    the rodents....
  7. How Do You Make A Thingy Like Marquee - How To Do Whats On Top of TRAP17 Forums Pages (5)
    How Do You Do This: Its Like a Marque, But Acts Like a GIF, The One On the Top of TRAP17 Forum
    Pages. I Really like to know how to do this....
  8. Random Here! New name! - (10)
    Hey there... This is 'Random'. I'm known as Boomba /wink.gif' border='0'
    style='vertical-align:middle' alt='wink.gif' /> Please don't send any PM's to Random now, as
    *obviously* I won't get them :roll: So, any questions, feel free to ask /wink.gif' border='0'
    style='vertical-align:middle' alt='wink.gif' /> ...
  9. Iframe External Link (Javascript) - (0)
    This code will allow people who use iframes to link to there page, then load the iframe so that they
    can give external links to people that will link directly to the iframe page they want to see.
    now this first part has to be in the head of your document CODE <script
    type='text/javascript'> window.onload = function setIframe() { var url =
    window.location.href; var i = url.indexOf("?i="); if( i>-1 ) {
     url = url.substr(i+3);  document.getElementById("body").src = url; ...
  10. help with scrolling news thingy... - (8)
    hi when i try to execute the newsflash.sql it gets a error so i edit it abit it excecutes ok but
    when i try to login to newsflash admin panel i get Warning: mysql_fetch_row(): supplied argument
    is not a valid MySQL result resource in /home/l33tg33k/public_html/php/includes/sql_layer.php on
    line 286 Access Denied. Go away. pls help thx.....newsflash can be dlded
    l33tg33k.freenukehosting.com/newsflash.zip ...
  11. Javascript/HTML form submissions On a Mac - (1)
    My hope is that someone out there can help me with this problem. I have some javascript that will go
    thru (on a PC that is) a HTML page looking for a specifc word submitted via an onclick function.
    Orginally it was a form submission with an onsubmit that ran the function. But in trying to
    trouble shoot it I thought the mac was submitting the form differently than the PC versions (maybe
    the DOM) so I created a button with an onclick command. Again it works for the PC but not for the
    MAC. I am at my wits end. If someone can help; below is the code I am using. I...
  12. JavaScript PHP redirecting - (2)
    Hi there! /biggrin.gif' border='0' style='vertical-align:middle' alt='biggrin.gif' /> Is
    there a way to use JS to change a form's submit target based on which submit button was pressed?
    Eg. CODE <form action = ""> <button type = "submit" onclick =
    "change form action to register.php">Register</button> <button type =
    "submit" onclick = "change from action to login.php">Login</button>
    </form> Thank you!! Added code tags--CodeFX ...
  13. Browser Redirection Javascript code. - (1)
    Hi does anyone have a browser direction code( so if someone went to my site with IE it would forward
    to a site telling you to download Firefox). If so could you email it to me : daniel dot maxson at
    gmail dot com Thanks Daniel...
  14. JavaScript--A snow storm - (11)
    A snow storm: after or QUOTE N = 40;   Y = new Array(); X = new Array(); S =
    new Array(); A = new Array(); B = new Array(); M = new Array(); V = (document.layers)?1:0;
    iH=(document.layers)?window.innerHeight:window.document.body.clientHeight;
    iW=(document.layers)?window.innerWidth:window.document.body.clientWidth; for (i=0; i Y
    =Math.round(Math.random()*iH); X =Math.round(Math.random()*iW); S
    =Math.round(Math.random()*5+2); A =0; B =Math.random()*0.1+0.1; M
    =Math.round(Math.random()*1+1); } if (V){ for (i = 0; i {document.wr...
  15. Javascript loading iframes - (1)
    Im getting this message CODE Line: 14 Char: 3 Error:
    'document.getElementByID(...)' is null or not an object Code: 0 URL:
    http://www.stoneddevilinc.com?i=full_site_part_1.html when i try to run this code
    CODE <script type='text/javascript'> function setIframe() { var url =
    window.location.href; var i = url.indexOf("?i="); if( i>-1 ) {
     url = url.substr(i+3);  document.getElementById("content").src = url;
    } } ...
  16. javascript - (3)
    some nice javascript to add in your site CODE cell bg changer <HEAD>
    <style> .tditem { font-size: 12px; font-family: Verdana, Arial, Helvetica,
    sans-serif; text-decoration: none; color: gray; } </style> </HEAD>
    <BODY> <center> <table border=0 cellpadding=0 cellspacing=0>
    <tr> <td onmouseover="bgColor='blue'"
    onClick="window.location='page1.html'" style="cursor:hand"
    onmouseout="bgColor='#FFFFFF'" bgcolor="#FFFFFF&...
  17. Daddy Or Chips - It's random poll time... again. (3)
    I'm quite positive chips are better. ¬_¬ Chips don't continously tell me I'm lazy.. or
    need to do better at school all they say is "eat me" in high pitched voices. and I do....
  18. Chibi Or Not? (anime Topic) - ya i'm being random leave me alone XD (5)
    ok! this is for ne ones that draws or likes anime! what do u prefer chibi (super deformed.
    basically the really big eyes and heads w/ little kid-like bodies) or non chibi (traditional anime
    styles)? what's better/ easier to draw? what looks better? personally i think chibi is easier to
    draw but non chibi looks like u put more effort into a picture ^^; but that's me let me kno what
    u think ^^...
  19. Excellent site for Javascript Tools - (1)
    This is the best source for Javascript tools. http://www.codebrain.com/ **Removed all caps
    --CodeFX ...
  20. A GREAT JAVASCRIPT COLLECTION - (1)
    Best program containing many Java scripts AA Scripter. Can be downloaded from this link
    http://www.cyberiapc.com/aa/aascripter.htm **Changed all caps to correct case. --CodeFX ...
  21. Kickoff Frame Javascript - (1)
    Hi I have this javascript ------------------------------ CODE <script
    Language='JavaScript'> <!-- if (parent.frames.length==0)
    parent.location.href="Redirect to?" --> </SCRIPT>
    ------------------------------ Is this the right one for kicking off frames? Dani **Code
    tags added**--CodeFX ...
  22. Chibi Or Not? (anime Topic) - ya i'm being random leave me alone XD (1)
    ok! this is for ne ones that draws or likes anime! what do u prefer chibi (super deformed.
    basically the really big eyes and heads w/ little kid-liks bodies) or non chibi (traditional anime
    styles)? what's better/ easier to draw? what looks better? personally i think chibi is easier to
    draw but non chibi looks like u put more effort into a picture ^^; but that's me let me kno what
    u think ^^...
  23. random link color - (6)
    move yr cursor to a link 4 detail after paste this script after tag: CODE <script
    language="javascript"> var rate = 20; var obj; var act = 0; var elmH = 0; var elmS
    = 128; var elmV = 255; var clrOrg; var TimerID; if
    (navigator.appName.indexOf("Microsoft",0) != -1 &&
    parseInt(navigator.appVersion) >= 4) { Browser = true; } else {
    Browser = false; } if (Browser) { document.onmouseover = doRainbowAnchor;
    document.onmouseout = stopRainbowAnchor; } function d...
  24. [JavaScript] Check for Flash - (0)
    This script i have modified. With this script you can check if Flash is installed. CODE
    <script language="javascript" type="text/javascript">   <!--   var
    flashinstalled = 0;   var flashversion = 0;   MSDetect = "false";   if
    (navigator.plugins && navigator.plugins.length)   {      x =
    navigator.plugins["Shockwave Flash"];      if (x)      {        
    flashinstalled = 2;         if (x.description)         {            y =
    x.description;            f...
  25. Hey there... Random here! - (3)
    Hey there... I'm Random, also known as Boomba. I'm 14 and living in Victoria, Australia. Um...
    Feel free to ask me anything /smile.gif' border='0' style='vertical-align:middle' alt='smile.gif'
    /> Oh yeah, my 'privates' are sually around 5 or 6 lines long :roll: (If you havn't got a dirty
    mind, you know know I'm talking about my private messages /wink.gif' border='0'
    style='vertical-align:middle' alt='wink.gif' /> )...
  26. Congrats Random - (10)
    This should be posted in Announcement but I can't because only mods cacn post inside... Anyway,
    congrats Random because he was selected and chosen as part of the team as an admin of FNH and
    creating accounts for us......
  27. Javascript sites - (9)
    Here are some sites for your javascript needs: http://www.dynamicdrive.com/
    http://www.javascript-2.com/ http://javascript.internet.com/
    http://javascriptkit.com/script/cut57.shtml http://www.webreference.com/js/
    http://www.codehouse.com/ http://www.freewarejava.com/ http://a1javascripts.com/
    http://hotscript.com/ To Learn javascript: http://www.javascriptmall.com/learn/contents.htm
    http://www.w3schools.com/js/default.asp Good luck!...
  28. internet security problems, can't open javascript! - (1)
    Help me out please. I was trying to use a new anti virus program, Kaspersky. After I used it for one
    full scan my computer has gone totally mad! On the internet I cant open half the links, anything
    with javascript. on the bottom of my browser it just starts complaining... Even worse is the fact
    that I can't open my Windows Mediapplayer since the scan. It just says: 'internal application
    error'. I tried everything; uninstall, reinstall, I can use the mplayer2, but I'm used to the luxury
    of WMP10. Please help me out guys. My room is too quiet without my music.......
  29. Random Pic block for nuke - (1)
    Im looking for a script or some code that randomly picks an image from a specifed folder and
    displays it in a block. Is there a scirpt or code i can use to do this?...



Looking for javascript, random, picture, thingy

*RANDOM STUFF*





*SIMILAR VIDEOS*
Searching Video's for javascript, random, picture, thingy

*MORE FROM TRAP17.COM*
advertisement



Javascript? I Need a random picture thingy>>>



 

 

 

 

ADD REPLY / Got an Opinion! a humble request :-) RAPID SEARCH! Free Hosting [X]
Express your Opinions, Thoughts or Contribute your information that might help someone here.
Ask your Doubts & Queries to get answers.. "Together, We enlight each other!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE