Making an IFRAME unable to receive focus

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a web page that will run on a local machine using IE6+ . This page
contains an IFRAME element with an id of 'ifrm'. The purpose of the iframe
is to run an automated powerpoint presentation that has been published as (a)
web page(s). I would like to make the iframe so that it can NEVER receive
focus, because the page containing the iframe will sometimes be BEHIND
another web page (kiosk2).

I have placed
onfocus="self.blur(); kiosk2.focus();"
inside the iframe tag. This helped some but the page (kiosk2) in front
flashes occasionally.

Is there something like a 'canHaveFocus' attribute in IE. I have not been
able to find anything like it in the online documentation. Any help will be
GREATLY appreciated.

Thanks,
Garry
 
Hi,

IFRAME doesn't seem the best option to me. It can be disabled from IE,
Tools, Options. Can't you put simply a link with "target=_blank"?

Kind regards

Hans Le Roy
MS MVP Windows/IE
 
Back
Top