Making an IFRAME unable to receive focus

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
 
H

Hans Le Roy

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top