HTML - Delay In Update Of Ftp'ed Jpg
I am creating a webcam and my software ftp's a new jpg every 2 minutes. It overwrites the old jpg.
The problem is that most browsers (IE, Safari, Chrome) see a jpg that is hours old and has been overwritten 60+ times. And when those browsers see the webcam page, they see an old photo. All three of these browsers see the same photo / time - overwritten hours ago. It does not appear to be a browser cache issue because the browser / computer were off or offline at the time that photo was uploaded. I can turn a computer on and see a photo that was overwritten hours earlier. Firefox appears to be an exception. It shows the current photo and the webcam page works properly (although I have at least one Firefox user who reports a problem). Here is the link directly to the jpg that is being uploaded via ftp. The webcam software I am using is EvoCam. http://homepinballrepair.com/webcam.jpg A refresh on Firefox shows the latest photo. Not on the other browsers. What the heck?! Similar TutorialsHi Everyone, I am using 'span title' as a means to display a tool tip. Some of the tooltips are quite long and the popup is disappearing before the user would have a chance to read it all. Is there any means to delay the length of time that the tooltip will appear without the user having to hover over the text again. An example of one of these tooltips is below: <span title="As dentistry has advanced beyond basic care into new areas such as implantology, cosmetics, and other treatments of the entire dento-maxillo-facial complex, so too must the diagnostic tools keep pace with the need for a higher quality of general and specific information. Our surgeries are fully equipped with X-ray machines and in-house film processors. This enables our patients to get their diagnosis results instantly and treatment plan drawn up effectively in one visit."> Periapical film (small dental film) </span> I really appreciate any help you could offer? Thanks Cathal I have a marquee control which i am using is my Asp.net application. But marquee starts after 7 seconds of delay.... But what i need is to display the first item and then scroll after 7 seconds of delay I am using this control in my code behind like this: Testmarq.Controls.Add(new LiteralControl(@"<Marquee OnMouseOver='this.stop();' OnMouseOut='this.start();' direction='up' scrollamount='200' scrolldelay = '7000' behavior='scroll' bgcolor='#ffffff' width='100%' >")); Any idea.. what i am missing.... Thanks in advance Kunal Uppal Hi Members, I have nicely developed aspx page pages in my website with very less server side coding, but every page consist of lots of JavaScript linked to it. I mean I have used almost 5 to 8 javascripy files on each pages, like javascript for calander control, time, some dropdown, dynamic menus etc, now when the page loads it don't display any contents till all the javaScript files gets downloaded and executes i guess. Its okay on broadband but it really irrites on dialup connection. any help to reduce this del;ay dure to javascript file donload time? Plz help Aloha Hey all, new here and not a very good coder at all, but i find pieces of information and try and make best of it....and as far i can see i cant find this sort of information on this website my problem is im trying to create a code that will log in to a website, wait a few (i.e. 2 seconds) then go to a second web page that is a part of this site for example --> www.htmlforum.com --> (automate login) --> then go to www.htmlforum.com/example this is what i have found so far </head> <body> <FORM action=http://www.thewebsiteexample.com/login.php method= post name=login> <INPUT class=login_input type=hidden name=usrname value="myusername"> <INPUT class=login_input type=hidden name=uemail value="myemail@hotmail.com"> <INPUT class=login_input type=hidden name=peeword value="mypassword"> <INPUT class=login_input type=submit value=Login> <body onload="document.login.submit();"> </form> </body> this code allows me to log in successfully to the site i wish to go to i also have this code to allow loading of a new page (but works only AFTER successfully logged in) <script> <!-- location.replace("http://www.mywebsiteexample.com/arms.php"); --> </script> my problem is i dont know how to join the code, whereby i successfully log in, then run the script to go to the subpage my idea is to delay running of the script code perhaps? which should then allow to successfully load the subpage...or perhaps you guys know another way help is DEFINITELY very appreciated! cheers all! I recently just added an RSS feed to my website, and I was wondering how to update it....Do I have to edit it in Notepad, save it, then upload it again? Also, when you subscribe to an RSS feed on Google, is this "headline" thing supposed to be the most recent story, or is that supposed to be my site name and link to my homepage? I'm very confused, as I added like 10 items to my feed and only 2 show up (one of them taking place of my headline for some reason).......Here's the code: Code: <?xml version="1.0" encoding="US-ASCII"?> <rss version="2.0"> <channel> <title>Celtics Insider</title> <link>http://celticsinsider.webs.com</link> <description>Your #1 Source For Anything And Everything Boston Celtics and NBA!</description> <language>en-us</language> <copyright>Celtics Insider</copyright> <item> <title>This Is Our House</title> <link>http://celticsinsider.webs.com/05February2010.html</link> <description>Eddie House's heroics, coupled with a late defensive surge, helped avoid a loss to the last-place New Jersey Nets.</description> </item> <item> <title>Allen's Key Steal Jump-Starts C's</title> <link>http://celticsinsider.webs.com/03February2010.html</link> <description>The Pierce-less Celtics were too much for Dwayne Wade's Miami Heat. Pierce, sidelined with a foot injury suffered in Monday's game, missed his sixth game of this season.</description> </item> <item> <title>Pierce May Have Broken Foot</title> <link>http://celticsinsider.webs.com/02February2010.html</link> <description>It was apparent after the Celtics' win yesterday that All-Star Paul Pierce was hurt; it is a matter of time before the team finds out just how bad it is. The Celtics star forward tumbled and fell down twice in last nights win.</description> </item> <item> <title>C's End Three Game Skid</title> <link>http://celticsinsider.webs.com/01February2010.html</link> <description>Coming off a three game losing streak, the Celtics came into the Verizon Center determined to win. Monday night, the Celtics showed why they have been the top defensive team in the league since aquiring Kevin Garnett.</description> </item> <item> <title>Bryant's Heroics Sink Celtics</title> <link>http://celticsinsider.webs.com/31jan2010.html</link> <description>Kobe Bryants late jumper with 7.3 seconds left in regulation capped an 11-point fourth quarter comeback for the Lakers, spoiling big nights from Rajon Rondo and Tony Allen.</description> </item> <item> <title>Boston Battles Los Angeles In An Instant Classic </title> <link>http://celticsinsider.webs.com/31january2010.html</link> <description>It may not be the NBA Finals and it may not be Christmas Day, but that doesn't matter much with this game -- the luster is never lost for a Celtics-Lakers game.</description> </item> <item> <title>Celtics Can't Stop Magical Comeback</title> <link>http://celticsinsider.webs.com/28january2010.html</link> <description>The play designed for Vince Carter was being shredded. J.J. Redick stood near midcourt, swarmed by defenders, unable to make the pass with the clock about to run out on an improbable comeback.</description> </item> <item> <title>C's Take On Mavericks Tonight</title> <link>http://celticsinsider.webs.com/18jan2010.html</link> <description>The TD Garden will host a Martin Luther King Day special tonight between two of the top teams in the NBA. The Boston Celtics and Dallas Mavericks, both of whom are coming off of tough losses, will meet at 8 p.m. tonight in a nationally televised game.</description> </item> </channel> </rss> Hello, Can you tell me what the best way would be to update a WEB page with simple date content please? We have a page that shows when certain production jobs have run and the last time i had to update it i had to actually change the HTML code and that was a pain. Is there an easier way to maintain this HTML page? I'd like to work with something like WORD where i just deal with the content on the WORD page and let WORD generate the HTML, but this particular HTML page has custom layout, but i'm figuring since WORD can do it there must be another tool that can handle this custom layout and content like a WORD HTML page? Thanks very much for any insights! BobK The company website I manage is growing to the point where I won't be able to update it all by myself. I need to find a tool that will allow people with no html experience to update their section of the site. Does anyone have any recommendations? I want it to be as easy as possible for them. The menu for my website needs to be updated often with new subcategories, etc. My website is all in HTML/CSS and has a lot of pages. Whenever I update the menu, I need to update all the pages on my site. Is there a simpler way to do this -say edit the menu on another file and have the changes be reflected on all the pages for my site? Also note that the menu is using CSS/JS files attached to the html file. Thanks in advance! Hi all, I have a sidebar on my site that I want to put a latest news section in and I want it to be the same in all pages at my site. My problem being that I don't want to update all the pages in the site every time I update the latest news section. I'm wondering if there is any way (other than frames) to 'link' to a separate file in which I change the content every time I update the news and then all pages are updated accordingly. I've thought about using a MySQL database to hold news content and then use php to retrieve it but this seems like overkill given that I am confident there is probably an easier way? Any thoughts? Thanks Aaron I've got a menu I've made in fireworks that I've got to copy to about 20 pages every time I update it. Is there any way to make this process simpler? Hi all, How do I force a single web page to update to its most recent content? This file is being loaded from a frameset and when I load it in IE it doesn't update, I have to wipe all the temporary IE files in order to see the updated content. Thanks in advanced. Hello everyone at HTMLforums. I'm writing up a rather simple layout for a small sub-site (take a look here): http://wintercarroll.co.cc/legendaire/. I plan on having that single side bar with links to various pages. As an example, if someone were to click on Characters, there would be a page of short profiles, and a list of links on the side ever present while you are in the character section. I was wondering if there was an easy way to have this update without having to go though every character page and copy-paste a new link in every time a page gets added? On that same not, I've seen sites with the expanding and contracting menus with the click of an icon (usually a '+'). How does one go about that? I have been asked to update a website on this page there is a "submit" button I get the following error. http://www.mppi.mb.ca/membershipApplication.asp Thank you Bad Referrer - Access Denied Page is using an invalid referer which is not allowed to submit to this script. See the MTS Personal Web Page FAQ for usage. I NEED THE INFORMATION ON THE FORM TO BR SENT TO A SPECIFIC EMAIL ADDRESS.... Hi, I've never really done much with HTML so i was wondering how clever it really is. I have a form on a page where you can type into an input text box and hit submit but then i want the text you input to overwrite the content of a .txt file which is already there. Is that possible? and how? regards Greg ok.. well.. im making a control panel.. that updates the parent window... this is the code in the parent window to pop up the child: <img src="g2cpanel.jpg" onClick="window.open ('cpanel.html', 'newWin', 'width=255, height=255')"> and this is the whole page of my child window: <html> <head> <title>boyo productions::control panel</title> <style type="text/css"> body {background-color: black; text-color: yellow; } .maintitle {background-color: yellow; text-align: center; }</style> <script language="JavaScript"> function updateParent(newURL){ opener.document.location = new URL } </script> </head> <body><center> <img src="cpanel.jpg"><br> <div class="maintitle">welcome to the control panel!</div> <a href="javascript: updateParent('index.html')">**home**</a><br><br> <a href="javascript: updateParent('codes.html')">**get the codes!**</a><br><br> <a href="javascript: updateParent('forum.html')">**forum(coming soon)**</a><br><br> <div class="maintitle">© boyo productions 2007-2008</div> </body> </html> my problem is that i can get the control panel to pop up once the image is clicked on, but, in that child window of a control panel, the links wont update the parent window.. whats wrong with my code? plz help me.. ty all In the Optional zones only one of my zones will update! I save the template and it's fine but the rest of my pages won't update!! What gives?? swingrays Hi I am designing a form to update a template i have created. The idea is to leave the form with a user and they can input details which will update a template i have designed for use with ebay. However i have designed it using javascript and when this updates my template it doesnt actually fill out the data, it is only taking the data from the intial form not actually making a new hard copy with the data? My code: User Form: Code: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <title>Pass Data Form</title> <BODY> <center> <form type=get action="template.htm"> <table border=1> <tr> <td>Item Title:</td> <td><input type=text name=itemtitle size=100></td> </tr> <tr> <td>Item Condition:</td> <td><input type=text name=itemcondition size=50></td> </tr> <tr> <td>Box Condition:</td> <td><input type=text name=boxcondition size=50></td> </tr> <tr> <td>UK Postage:</td> <td><input type=text name=ukpostage size=10></td> </tr> <tr> <td>European Postage:</td> <td><input type=text name=europepost size=10></td> </tr> <tr> <td>Rest Of World Postage:</td> <td><input type=text name=rowpostage size=10></td></tr> <tr> <td>Description Item 1:</td> <td><input type=text name=descritionitem1 size=100></td> </tr> <tr> <td>Description Item 2:</td> <td><input type=text name=descritionitem2 size=100></td> </tr> <tr> <td>Description Item 3:</td> <td><input type=text name=descritionitem3 size=100></td> </tr> <tr> <td>Description Item 4:</td> <td><input type=text name=descritionitem4 size=100></td> </tr> <tr> <td>Description Item 5:</td> <td><input type=text name=descritionitem5 size=100></td> </tr> <tr> <td>Description Item 6:</td> <td><input type=text name=descritionitem6 size=100></td> </tr> <tr> <td>Description Item 7:</td> <td><input type=text name=descritionitem7 size=100></td> </tr> <tr> <td>Description Item 8:</td> <td><input type=text name=descritionitem8 size=100></td> </tr> <tr> <td>Description Item 9:</td> <td><input type=text name=descritionitem9 size=100></td> </tr> <tr> <td>Description Item 10:</td> <td><input type=text name=descritionitem10 size=100></td> </tr> <tr> <td>Description Item 11:</td> <td><input type=text name=descritionitem11 size=100></td> </tr> <tr> <td>Description Item 12:</td> <td><input type=text name=descritionitem12 size=100></td> </tr> <tr> <td colspan=2><input type=submit value="Submit!"> </td> </tr> </table> </form> </center> </head> <body> </body> </html> Template javascript: Code: <SCRIPT LANGUAGE="JavaScript"> <!-- This script and many more are available free online at --> <!-- The JavaScript Source!! http://javascript.internet.com --> <!-- Begin function getParams() { var idx = document.URL.indexOf('?'); var params = new Array(); if (idx != -1) { var pairs = document.URL.substring(idx+1, document.URL.length).split('&'); for (var i=0; i<pairs.length; i++) { nameVal = pairs[i].split('='); params[nameVal[0]] = nameVal[1]; } } return params; } params = getParams(); // End --> </script> <SCRIPT LANGUAGE="JavaScript"> itemtitle = unescape(params["itemtitle"]).replace(/\+/g,' '); document.write(itemtitle); </script> </STRONG></FONT></DIV> </DIV> <DIV align=left><FONT color=#492d67><STRONG> <SCRIPT LANGUAGE="JavaScript"> itemcondition = unescape(params["itemcondition"]).replace(/\+/g,' '); document.write("ITEM CONDITION: " + itemcondition); </script> </STRONG></FONT></DIV> <DIV align=left><FONT color=#492d67></FONT> </DIV> <DIV align=left><FONT color=#492d67><STRONG> <SCRIPT LANGUAGE="JavaScript"> boxcondition = unescape(params["boxcondition"]).replace(/\+/g,' '); document.write("BOX CONDITION: " + boxcondition); </script></STRONG></FONT> </DIV> <DIV align=left><FONT color=#492d67></FONT> </DIV> <DIV align=left><FONT color=#492d67><STRONG> <SCRIPT LANGUAGE="JavaScript"> ukpostage = unescape(params["ukpostage"]).replace(/\+/g,' '); europepost = unescape(params["europepost"]).replace(/\+/g,' '); rowpostage = unescape(params["rowpostage"]).replace(/\+/g,' '); document.write("POSTAGE: " + ukpostage + " (UK Mainland) " + europepost + " (Europe) " + rowpostage + " (R.O.W) " ); </script></STRONG></FONT> </DIV> <DIV align=left></DIV> <UL> <LI> <DIV align=left><FONT color=#492d67> <SCRIPT LANGUAGE="JavaScript"> descritionitem1 = unescape(params["descritionitem1"]).replace(/\+/g,' '); document.write(descritionitem1); </script> <br> <LI> <DIV align=left><FONT color=#492d67> <SCRIPT LANGUAGE="JavaScript"> descritionitem2 = unescape(params["descritionitem2"]).replace(/\+/g,' '); document.write(descritionitem2); </script> <br> <LI> <DIV align=left><FONT color=#492d67> <SCRIPT LANGUAGE="JavaScript"> descritionitem3 = unescape(params["descritionitem3"]).replace(/\+/g,' '); document.write(descritionitem3); </script> <br> <LI> <DIV align=left><FONT color=#492d67> <SCRIPT LANGUAGE="JavaScript"> descritionitem4 = unescape(params["descritionitem4"]).replace(/\+/g,' '); document.write(descritionitem4); </script> <br> <LI> <DIV align=left><FONT color=#492d67> <SCRIPT LANGUAGE="JavaScript"> descritionitem5 = unescape(params["descritionitem5"]).replace(/\+/g,' '); document.write(descritionitem5); </script> <br> <LI> <DIV align=left><FONT color=#492d67> <SCRIPT LANGUAGE="JavaScript"> descritionitem6 = unescape(params["descritionitem6"]).replace(/\+/g,' '); document.write(descritionitem6); </script> <br> <LI> <DIV align=left><FONT color=#492d67> <SCRIPT LANGUAGE="JavaScript"> descritionitem7 = unescape(params["descritionitem7"]).replace(/\+/g,' '); document.write(descritionitem7); </script> <br> <LI> <DIV align=left><FONT color=#492d67> <SCRIPT LANGUAGE="JavaScript"> descritionitem8 = unescape(params["descritionitem8"]).replace(/\+/g,' '); document.write(descritionitem8); </script> <br> <LI> <DIV align=left><FONT color=#492d67> <SCRIPT LANGUAGE="JavaScript"> descritionitem9 = unescape(params["descritionitem9"]).replace(/\+/g,' '); document.write(descritionitem9); </script> <br> <LI> <DIV align=left><FONT color=#492d67> <SCRIPT LANGUAGE="JavaScript"> descritionitem10 = unescape(params["descritionitem10"]).replace(/\+/g,' '); document.write(descritionitem10); </script> <br> <LI> <DIV align=left><FONT color=#492d67> <SCRIPT LANGUAGE="JavaScript"> descritionitem11 = unescape(params["descritionitem11"]).replace(/\+/g,' '); document.write(descritionitem11); </script> <br> <LI> <DIV align=left><FONT color=#492d67> <SCRIPT LANGUAGE="JavaScript"> descritionitem12 = unescape(params["descritionitem12"]).replace(/\+/g,' '); document.write(descritionitem12); </script> I would like the new template so i can view the source code which will contain the user filled info. This will then just be copied into the ebay description for use. Any help appreciated. My current web site is at "CAVAglass.com" I created "http://www.cavaglass.com/gallery/1.GORMENGHAST.htm" and want it to be my new Index Page. All the links work fine here. When I rename "http://www.cavaglass.com/gallery/1.GORMENGHAST.htm" as "index.htm", and open my "CAVAglass.com" website this home page looks fine, but no links work. Any suggestions? Best, Joseph hi guys. i am builder my sister a small website for her cat breeding hobby, it has about 6 or 7 pages, on each page i have the news section sat on the side of the page under the links. what im wanting to know is. is there a way i can add some code to the HTML for the section where the news is now to make it so i can update it from a text file so i dont have to update the news on all 7 pages individualy and can just edit the text file upload it to the server hit refresh on the page and its done thanks in advance |