SitePoint Sponsor

User Tag List

Results 1 to 7 of 7
  1. #1
    SitePoint Zealot
    Join Date
    Jul 2008
    Posts
    125
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    update only 1 image!

    I'm using a page updater and want only update 1 image in my website,
    PHP Code:
    <script language="JavaScript"><!--

    if (
    document.images)

    setTimeout('location.reload(true)',30*30*5);

    else

    setTimeout('location.href = location.href',30*30*5);

    //--></script> 
    also update only 1 specific thing in the page

  2. #2
    SitePoint Zealot
    Join Date
    Jul 2008
    Posts
    125
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    also update only 1 specific thing in the page

  3. #3
    SitePoint Zealot Rexibit's Avatar
    Join Date
    Jul 2008
    Location
    United States
    Posts
    178
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I'm not that knowledgeable in JavaScript, but if you only want to update one image, wouldn't you need some way of referencing it?
    Rexibit Web Services
    Don't just build it - CSS it

  4. #4
    SitePoint Zealot
    Join Date
    Jul 2008
    Posts
    125
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Why do you post if you don't even know how the scipt work?

  5. #5
    SitePoint Zealot
    Join Date
    Jul 2008
    Posts
    125
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question

    :d

  6. #6
    SitePoint Zealot
    Join Date
    Jul 2008
    Posts
    125
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    any noob who can help here or what?

  7. #7
    SitePoint Zealot
    Join Date
    Jul 2008
    Posts
    125
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ?


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
  •