Go Back  HTML Forums - Free Webmaster Forums and Help Forums > WEBSITE DEVELOPMENT > Client Side Scripting
User Name:
Password:
 

Reply
Thread Tools   Display Modes
  View First Unread
 
Old 09-22-2005, 05:25 PM
  #1
RickyP
Myrmidon (Level 12)
 
RickyP's Avatar
 
Join Date: Aug 2004
Location: Columbia, MO
Posts: 187
iTrader: (0)
RickyP is on a distinguished road
maybe its javascript but i dunno

ok, so im still learning...

http://computersense.org/

^^ that is where my problem lies. Im trying to set it up so that when you click on "Around" or "Dorm Room" or "Randomness" it will display a new picture in the box it goes with. Now threw multiple and multiple pages im sure i could do this... but im thinking that there is a way that i could....

EX:
put all the images for "Around" in a certain folder, and then when you click on the button it will go threw the folder in a certain order (i don't really care the order).

and same for dorm room, and randomness...

am i completely crazy? or is this possible?
RickyP is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote
Old 09-22-2005, 07:41 PM
  #2
maskd
Swordman (Level 9)
 
maskd's Avatar
 
Join Date: Sep 2005
Location: NSW, Australia
Posts: 88
iTrader: (0)
maskd is an unknown quantity at this point
So you mean a random image script?

Google shows heaps of random image scripts, which are easily customisable, all you need to do is add two more array's of images and tell it to randomise each one and then write them to the page.

I'd do it for ya but I'm a bit busy at the moment.
maskd is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote
Old 09-22-2005, 09:11 PM
  #3
RickyP
Myrmidon (Level 12)
 
RickyP's Avatar
 
Join Date: Aug 2004
Location: Columbia, MO
Posts: 187
iTrader: (0)
RickyP is on a distinguished road
yea... i guess kinda of in a way, but its more important for the image to change when you click the button that goes with the box, not when you load the page.

so like, the page loads, all image boxes have an image in them, (doesn't matter if its random or not), and then when i click the title of the box, it changes to a new image.

oh and im very very newb at javascript... i can understand it for the most part, and if shown an example i could learn from it... but when you say "write it to the page" im not exactly sure what you mean.... if you mean just to put it into my html, then i understand... but if not im lost.

BUT after a close look at the search results you get, i guess i should be asking...

IF i was to set it up so that when the image is refreshed it is a new random image....is it possible for me to only refresh that one image box by using a button link?


im probably not making myself very clear....sorry

Last edited by RickyP : 09-22-2005 at 09:13 PM.
RickyP is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote
Old 09-23-2005, 03:05 AM
  #4
Horus_Kol
Mod of the Underlay
 
Horus_Kol's Avatar
 
Join Date: Jun 2002
Location: At a desk, hooked up and ready to rock
Posts: 17,242
iTrader: (0)
Horus_Kol is a glorious beacon of lightHorus_Kol is a glorious beacon of lightHorus_Kol is a glorious beacon of lightHorus_Kol is a glorious beacon of lightHorus_Kol is a glorious beacon of light
you need to look into solutions for pre-loading images - you can have a javascript which downloads a number of images, and select to display certain ones on an event (like a mouseclick or other).
__________________
Personal Blog (and photos): HorusKol
Articles on Programming and Development (PHP/HTML/CSS, C/C++, more): RandomTweak

The great secret that no SEO agent wants you to hear: if you build your website using w3c accessibility guidelines and your content is written for people, you will do better for longer in search engines than any other method...
Horus_Kol is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote

Reply
KEEP TABS
SPONSORS
 
Boxedart
 
 


 
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
  
 
 
 



 
  POSTING RULES
 
 
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Thread Tools
Display Modes

Forum Jump

 

All times are GMT -5. The time now is 04:47 PM.

   

Mascot team created by Drawshop.com

Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.

Server Monitoring by ENIACmonitor 0.01
HTMLforums.com © Big Resources, Inc. Web Design by BoxedArt.com
vRewrite 1.5 beta SEOed URLs completed by Tech Help Forum and Chalo Na.