Jump to content

Parkpre

Members
  • Posts

    16
  • Joined

  • Last visited

Everything posted by Parkpre

  1. hello peoplehow would i go about making the images within this script links? <script LANGUAGE="JavaScript">var theImages = new Array() theImages[0] = 'photo1.jpg'theImages[1] = 'photo2.jpg'theImages[2] = 'photo3.jpg'theImages[3] = 'photo4.jpg'var j = 0var p = theImages.length;var preBuffer = new Array()for (i = 0; i < p; i++){ preBuffer[i] = new Image() preBuffer[i].src = theImages[i]}var whichImage = Math.round(Math.random()*(p-1));function showImage(){document.write('<img src="'+theImages[whichImage]+'">');}</script> the code is a random image thingy, thank you!
  2. think i prefere the 1st one, i'll try to get it working!thanks for your help anyways!
  3. heres a link to what ive done can you tell me where im going wrong, cause its still not working!http://www.beech33.karoo.net/change.htmlCheers!
  4. did you test this ? it doesnt seem to be working?cheers for helping tho? any ideas why it might not be working?
  5. javascript isnt my strong point,where would i add the cleartimeout?
  6. that could be what im looking for!cheers scott!
  7. hi people! on the homepage im creating, i have a space thats showing the latest information for the current day.what i'd like for this space is for the content of this area to change every X amount of seconds, so that i can fit more info onto the page!but when the cursor moves over the content it should stay on the current content untill the user rolls outI think this would be best in javascript, so anyone got a link to something that could help? etc?Cheers people!
  8. Cheers!!! Really big help!
  9. cheers ASPNETGUY but im getting a Syntax Error?any ideas?
  10. Hi people! i have this scipt to change an image a day! <script type="text/javascript" language="JavaScript"> var now = new Date (); var day = now.getDay(); //the week begins on SUNDAY if(day == 0) document.write("<img src='entssunday.jpg' width='424' height='82' border='0' align='left'"); if(day == 1) document.write("<img src='entsmonday.jpg' width='424' height='82' border='0' align='left'"); if(day == 2) document.write("<img src='entstuesday.jpg' width='424' height='82' border='0' align='left'"); if(day == 3) document.write("<img src='entswednesday.jpg' width='424' height='82' border='0' align='left'>"); if(day == 4) document.write("<img src='entsthursday.jpg' width='424' height='82' border='0' align='left'"); if(day == 5) document.write("<img src='entsfriday.jpg' width='424' height='82' border='0' align='left'"); if(day == 6) document.write("<img src='entssaturday.jpg' width='424' height='82' border='0' align='left'"); </script> really useful code i think, and working well!what i want is to make the images into links, can some one in the know give me some pointers or amend my script! :ph34r: Cheers!
  11. is there any programs or websites that can tell how long a webpage would take to load on different connection speeds? Cheers!
  12. only jus got round to checking this, cheers people for your replys will try it at work tomorrow!
  13. right firstly Hi! Im using CSS to control how my links look in my pages using: A:link {text-decoration: none; color: white;}A:visited {text-decoration: none; color: white;}A:active {text-decoration: none; color: white;}A:hover {text-decoration: underline; color: white;} My links look like this [My Link]what id like to do is change the color of the '[' and ']' through out my pages!any suggestions how this could be done using CSS? tried searching but didnt find anything?Cheers!
×
×
  • Create New...