webcam questions.

    Date: 02/08/06 (Web Development)    Keywords: java, web

    Hello all, I am trying to setup a small webcam page for our new puppy. I am trying to get *just* the picture to refresh every 30 seconds.



    < script language="JavaScript">
    function reloadImage() {
    if (document.images) {
    document.images.myImageName.src = 'webcam.jpg?' + (new Date()).getTime();
    }
    setTimeout('reloadImage()',30000);
    }
    setTimeout('reloadImage()',30000);
    //-->
    < /script>

    Problem is it isn't refreshing the image.


    Also I am trying to figure out how to get the window to resize to the size of the background when the page is loaded.
    How is that done?

    Source: http://community.livejournal.com/webdev/293013.html

« Anyone want a job? || Filling out web forms with... »


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home