Updated: 2/18/03; 2:36:04 PM.
Jake's Radio 'Blog
Inch-by-inch...
        

 

Wednesday, January 29, 2003
Question answered

Thanks to "Jorge" for the answer to my question earlier. I've got this implemented here, and wouldn't you know it -- it works!

The trick is to detect whether the browser is MSIE on Windows, and if so then to add a snippet of JavaScript to the page that scrolls to the end of the list:

function window.onload () {document.all["status"].scrollIntoView();}

Of course I also had to remove the #status anchor from the URL, but that wass trivial with the way I had the page coded. Thanks.

Now for a little code clean-up, some docs and a beta release...
19:00'39    comment []

Question for IE Windows experts

I'm working on a new backup/restore feature for Radio UserLand, and have hit a bit of a snag.

The backup/restore operation is initiated by submitting a form in the browser. Since a full backup takes a little time to complete, the page that loads in response to the form submission displays a list describing its progress.

I've got an <a name="status"> tag at the end of the list, and I'm using a meta-refresh tag to reload the status page every 15 seconds to the #status anchor, so that the user will always see the most recent item in the list, which is at the bottom of the page.

So here's the problem:

The page refreshes just fine using just about any browser I can get my hands on, using MacOS, but Internet Explorer 6 on Windows will only reload the page once with the #status anchor at the end of the URL.

If I remove #status from the end of the URL, then IE will happily reload the page every 15 seconds, but won't scroll to the bottom to show the user what's going on.

Apparently this is a bug in IE 6 for Windows, since that's the only place where I see this behavior. Do any of you IE for Windows gurus out there know a workaround for this bug?
15:42'46    comment []


© Copyright 2003 Jake Savin. Click here to send an email to the editor of this weblog.
 
January 2003
Sun Mon Tue Wed Thu Fri Sat
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31  
Dec   Feb



Radio Stuff

Themes



Subscribe to "Jake's Radio 'Blog" in Radio UserLand. Click to see the XML version of this web page.
Click here to send an email to the editor of this weblog.

Click on the coffee mug to add Jake Savin's Instant Outline to your Radio UserLand buddy list.


Subscriptions


Click here to visit the Radio UserLand website.