JavaScript and client side scripting.
Moderator: General Moderators
moiseszaragoza
Forum Commoner
Posts: 87 Joined: Sun Oct 03, 2004 4:04 pm
Location: Ft lauderdale
Contact:
Post
by moiseszaragoza » Wed Feb 07, 2007 1:37 pm
I was wandering if i can ser a focus or a blur on a particular tab?
I have
Code: Select all
newPage=window.open("newPage.asp", newPage,'');
window.newPage.blur()
That works fine on IE but not on fire fox
thanks for all the help
feyd
Neighborhood Spidermoddy
Posts: 31559 Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA
Post
by feyd » Wed Feb 07, 2007 1:49 pm
Last I saw, no.
moiseszaragoza
Forum Commoner
Posts: 87 Joined: Sun Oct 03, 2004 4:04 pm
Location: Ft lauderdale
Contact:
Post
by moiseszaragoza » Wed Feb 07, 2007 2:27 pm
by any chance is there a way to open a new window instead of a tab?
superdezign
DevNet Master
Posts: 4135 Joined: Sat Jan 20, 2007 11:06 pm
Post
by superdezign » Wed Feb 07, 2007 2:34 pm
The user determines whether new window calls open a new window as opposed to a new tab. I'm pretty sure, with that in mind, that tabs can be accessed in the same manner as new windows in Javascript.
moiseszaragoza
Forum Commoner
Posts: 87 Joined: Sun Oct 03, 2004 4:04 pm
Location: Ft lauderdale
Contact:
Post
by moiseszaragoza » Wed Feb 07, 2007 2:37 pm
superdezign wrote: The user determines whether new window calls open a new window as opposed to a new tab. I'm pretty sure, with that in mind, that tabs can be accessed in the same manner as new windows in Javascript.
do you know how to switch tabs using JavaScripts
superdezign
DevNet Master
Posts: 4135 Joined: Sat Jan 20, 2007 11:06 pm
Post
by superdezign » Wed Feb 07, 2007 2:42 pm
I could be wrong (although if I am, it's a bad move on the part of tabbed navigation), just windowHandle.focus();