RE: javascript Operated windows.
Hi all,
recently on some sites such as Ebay, there are pop ups used to show such things as terms and conditions, instruction info and so on, and these are being allowed by the browser as they contain an address location bar, but it is disabled.
Now the atribute to this soltions is locationbar javascript attribute, but im not sure how to disable this so the user cannot amend the address within th elocation bar.
can somebody point me in the right direction??
ta
kai
Re: javascript Operated windows.
Basically you can't disable the location bar.
But, there's a reason popup blockers were created in the first place - popup windows are supremely annoying. If you must make something appear on the page, create a floating (absolutely positioned) div element. But if it's a public site, not an intranet thing, make sure the functionality also exists and can be accessed without requiring Javascript.
Re: javascript Operated windows.
In my opinion, there's nothing wrong with requested pop-ups, as long as you only use them in the very few places where they are appropriate.
I've never heard of disabling the address bar. I don't think it's possible in any cross-browser-resembling way.