Info windows, on focus, on blur....BLOCKED!

J

JoJo

Hi,

I am a bit of a newbie but bit by bit i am getting my website together. The
one last thing that i want to do is on the "about us" page is this. When a
user clicks on an image of each member of the team, i want to have a small
300x300 pixel pop up window appear with a photo and details of the team
member. I have these pages created already - not opening them on the fly. I
have written the necessary script which appears to work fine. Only problem
is that i wanted to add the all important "on focus" (bring to front), "on
blur" (close window) actions. These work fine but IE keeps blocking the
script from working with that annoying information bar. Thus rendering the
automation of these windows unnecessary. If you have to click to unblock,
then may as well click to close the window, right? I am using (unfortunately
as can't afford to upgrade) FPage 2000. Would it make any difference if i
wrote javascript in an external file and linked to it, or would this still
cause the same problem? I fnot any other suggestions...
Thanks for all your help (and patience as i'm sure this is probably a really
obvious question!)
 
R

Ronx

Have you published the web to a server, and tried from there?
If on your PC, you may be blocked by the "run commands from PC" security
measure, which will not affect pages viewed from a web server.
I think the on focus is not necessary - if the pop-up has the focus, it is
already at the front. Perhaps you mean
onload="window.focus();"
FYI, onload="window.focus();" does not work in IE7, if pop-ups or new
windows are set to open in a new tab, but is OK in FireFox and IE6, with no
blocking. Other users may have set their browsers to block ALL pop-ups, I
block only those that load with onload=...
 
J

JoJo

Ronx,
I'll try that - tomorrow is publishing day ***shakes violently with fear***
so i'll try then! Thanks so much for your help.
Jojo
 

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