|
|
 |
Re: FN-FORUM My webcam again (was easy popups)
date posted 1st March 2001 07:24
On Thu, Mar 01, 2001 at 12:37:50AM -0000, Mark Ch wrote:
>
> Thanks for all the help but heres a strange problem
>
> 1 table with 2 rows
> each has a transparent pic in it... (i.e blue frame transparent middle)
>
> so therefore logic ditates that If i put a picture as athe background of the
> table it works... Viola it does...
>
> However...
>
> Ive setup the page to refresh and strange things happen. The page loads up
> with the new background image thats uploaded BUT when the rest of the table
> kicks in you see the image that was first uploaded at the start of the
> webcam session.
>
> The refresh is working but looks like its still calling it from the cache
> maybe? Any ideas welcomed on this Carol Voderman (conunderum)
>
I usually do the following:
1. Put this line in the document header:
2. Get Javascript to load the picture for you
and tag a random number onto the end. So...
in the document header...
rnd1 = Math.round(Math.random(10000));
function loadpic()
{
document.images.pic.src='camera_pic.html?rr=' + rnd1;
}
Then...
|
 |
|