File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

focus is not coming event after giving window.focus()

 
Rakesh Kumar
Ranch Hand
Posts: 63
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear friends,
I am opening a window which loads an applet and after that i am caliing like below.

var win= window.open()
win.focus();
But the focus is not coming on it.

if you have any idea please share it.
Thanks
Rak
 
Rakesh Kumar
Ranch Hand
Posts: 63
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Cod eis as below


parentframe.location.href="dummy.html"
var win = window.open("applethtml")
win.focus()


Actually focus is going to parentframe from wheer applet popped out.Eventhough
I am calling " win.focus()" it is not focussong to applet window.

Please share if you guys have any idea on this how we can bvring the focus on window only.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic