Notices
Results 1 to 9 of 9

Thread: HTML: Image change on Refresh

  1. #1 HTML: Image change on Refresh 
    Forum Freshman
    Join Date
    Jan 2007
    Location
    San Diego, CA
    Posts
    15
    Hi I can't seem to find a working code online to change the header image of this site I'm working on. I want the image to change to another image every time the user REFRESHES the page. I am using Dreamweaver. Can anyone help?
    Thanks.


    Reply With Quote  
     

  2.  
     

  3. #2  
    Guest
    I don't remember ever coming across such a command in HTML, - I know you can change it at regular intervals - are you sure it's possible?


    Reply With Quote  
     

  4. #3  
    Forum Professor captaincaveman's Avatar
    Join Date
    Jul 2006
    Posts
    1,377
    ive seen it on sites before and know it can be done but cant remember where. if i knew were i saw it you could rip the source off that site
    CAPTAINCAVEMAN


    I ANSWER TO NO-ONE - The wonders of athiesm

    that which does not kill us only postpones the inevitable
    Reply With Quote  
     

  5. #4  
    Guest
    Are you sure it was HTML and not Javascript?
    Reply With Quote  
     

  6. #5  
    Forum Freshman
    Join Date
    Jan 2007
    Location
    San Diego, CA
    Posts
    15
    maybe it was java, i dont know. ive seen the php way but i dont have that. my server does not support it.
    so i need the other way.thanks.
    Reply With Quote  
     

  7. #6  
    Forum Freshman
    Join Date
    Jan 2007
    Posts
    6
    i have the code in java script..

    you can add it to the dreamweaver i guess..

    waite me.. ill b back soon & attach the code

    There is no magic ..
    There is always logic..

    ^___^
    Reply With Quote  
     

  8. #7  
    Forum Sophomore
    Join Date
    Dec 2006
    Posts
    159
    I think u can do it by using cookies. How many images u require to get changed?
    Reply With Quote  
     

  9. #8 back...!!! 
    Forum Freshman
    Join Date
    Jan 2007
    Posts
    6
    here is the full description with an example in the link below:

    http://jscode.com/js_random_image.shtml

    hope your question has been answered..
    There is no magic ..
    There is always logic..

    ^___^
    Reply With Quote  
     

  10. #9 Re: back...!!! 
    Forum Freshman
    Join Date
    Jan 2007
    Location
    San Diego, CA
    Posts
    15
    Quote Originally Posted by java_girl
    here is the full description with an example in the link below:

    http://jscode.com/js_random_image.shtml

    hope your question has been answered..
    thank you it works perfectly. i just have to get to work making more header images. thanks again!
    Reply With Quote  
     

Bookmarks
Bookmarks
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •