+ Post New Thread
Page 2 of 2 FirstFirst 12
Results 16 to 18 of 18
Web Development Thread, Update Div Background Image in Coding and Web Development; Originally Posted by CESIL Try adding the current time using Javascript Date object method .getTime() to the end of the ...
  1. #16

    Steve21's Avatar
    Join Date
    Feb 2011
    Location
    Swindon
    Posts
    2,686
    Thank Post
    333
    Thanked 513 Times in 481 Posts
    Rep Power
    178
    Quote Originally Posted by CESIL View Post
    Try adding the current time using Javascript Date object method .getTime() to the end of the url ie
    Code:
    var d = new Date();
    $fName = 'url("desktop.jpg?'+d.getTime()+'")';
    Will do, Thanks!

    Steve

  2. #17


    Join Date
    Feb 2007
    Location
    51.405546, -0.510212
    Posts
    8,706
    Thank Post
    220
    Thanked 2,615 Times in 1,926 Posts
    Rep Power
    777
    @Steve21. FileWatcher and/or bgStretcher might be worth a look?

  3. Thanks to Arthur from:

    Steve21 (6th March 2012)

  4. #18

    Join Date
    Mar 2014
    Posts
    1
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    This does what you want using one line of HTML and includes error recovery and there is a working demo shown here:


    Foscam Forum • View topic - A How To Embed Any Foscam IP Camera In Webpage Using 1 Line


    Don

SHARE:
+ Post New Thread
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Joomla - Creating a background image for all the pages
    By bodminman in forum Web Development
    Replies: 2
    Last Post: 27th May 2010, 11:41 PM
  2. Background Images In Home Directories
    By ahunter in forum Netware
    Replies: 3
    Last Post: 3rd May 2010, 07:23 AM
  3. Xibo - Background Image Hell
    By Hightower in forum AV and Multimedia Related
    Replies: 1
    Last Post: 6th November 2009, 11:37 AM
  4. Replies: 2
    Last Post: 5th September 2008, 08:37 AM
  5. Updating RIS image drivers
    By edie209 in forum Windows
    Replies: 2
    Last Post: 7th July 2006, 03:53 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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