Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Publisher / Web Design / August 2006

Tip: Looking for answers? Try searching our database.

About focus and iframe

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
garks - 24 Aug 2006 10:03 GMT
Recently I created a webpage which contains some buttons and iframe.
The iframe was hidden before the buttons is clicked.
When the button is clicked the iframe is shown.
When the button is clicked again, the iframe is hidden again.
The iframe links some external webpages. Some of them have focus
themselves.

The situation is here~~~
When I clicked the button, the iframe was shown correctly.
When I clicked the button again, the iframe was hidden.
But, if the contained webpage has its own focus, errors occurs
"Can't move the focus ot the control because it is invisible, not
enabled, or of a
type that does not accept the focus"

I have tried to change the html,
using
  object.innerHTML=""
to replace the <iframe src="http://www...com"></iframe>
But it seems doesn't work.

How to hide the focus of the external webpage?
Can anyone help me?
DavidF - 25 Aug 2006 01:45 GMT
I don't know the answer to your question, and perhaps someone else will jump
in and offer a solution. However, FWIW I quit using iframes in my Publisher
built websites when I found that they didn't work when the site was viewed
with FireFox. Instead I went to pop up windows, which did work in FireFox
and IE. Also, the new security features in IE, also stops the iframe from
working. Probably...maybe the code I was using, but like I said, I gave up
and moved to popup windows.

DavidF

> Recently I created a webpage which contains some buttons and iframe.
> The iframe was hidden before the buttons is clicked.
[quoted text clipped - 19 lines]
> How to hide the focus of the external webpage?
> Can anyone help me?

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.