Click to See Complete Forum and Search --> : New script addition


RoboWizard
04-22-2005, 04:04 PM
Hi, I received my weekly newsletter and it had a link to http://javascript.internet.com/navigation/window-check.html but I'm not seeing an option to see this in action. Further, I'm not sure what the script is checking for. Is it determining if a particular window has been opened or used, then placing focus on the window if it has lost focus? Or is this one of those "frame buster" type of scripts where it eliminates a frameset that is surrounding your page?

Bottom line is that the text on the page that says: Use this JavaScript snippet to check the status of a window. Should be a bit more descriptive.

Thanks... Rick :)

toicontien
04-22-2005, 05:07 PM
I think what they're getting at is you can check the URL of the current frame by looking at the status bar of your browser by using the script. :)

RoboWizard
04-22-2005, 07:51 PM
Hi toicontien

I appreciate that you took the time to reply, but I'm not sure it's accurate. Here's why.

When I look at the page, in the text area where you can select the code, I notice that there seems to be some window.open stuff going on as well as a top.location.href. I assume this is somehow manipulating the window, but I'm unsure as to if it's breaking out of a potential surrounding frameset or if it's simply bringing a window that's lost focus back to the foreground. I see nothing that looks like code that would be manipulating the status bar.

Cheers... Rick :)

toicontien
04-25-2005, 12:13 PM
It definitely looks like someone goofed up on that one. I dunno. Get ahold of javascript.internet.com.

RoboWizard
04-25-2005, 12:29 PM
Hmmm, when I scanned their site in search of a way to contact them about the page, I ended up here. I figured they monitored these forums, which is why I posted here.

Cheers... Rick :rolleyes: