Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cannot get the javascript pop ups to work...using projector

Status
Not open for further replies.

fedtrain

Instructor
Jun 23, 2004
142
US
Hello all,
I know popups is an exhaustive topic on most Flash boards, but still can't get it to work after much research

Code:
on (release) {
getURL ("javascript:NewWindow=window.open('[URL unfurl="true"]http://www.google.com/','prodWin','width=800,height=600,[/URL]
left=0,top=0,toolbar=No,location=No,scrollbars=No,status=No,resizable=No,fullscreen=No');  NewWindow.focus();      void(0);");
}

I have tried various forms of this and nothing works. (Google is just a test addy at the moment.)

I have a movie that is a projector...to avoid browser issues....the projector calls a .swf on our servers. That movie has links to external documents. (pdf's)
The problem is that when I use the straight getURL, I end up with a variety of issues related to how the windows are opened/focus/etc.

So I am trying the javascript one now to ensure some kind of consistancy. The result now is that a window starts to load. I see a very brief glimps of the outline and it closes.

Why is this not working?
Thanks

"Credit belongs to the man who is actually in the arena - T.Roosevelt
 
If the OS is XP SP2 .. you'll alway get that problem. It is a deep root system security error that keeps corecting itself before it launches. Also, If it derives from F8 or Director MX, the problem will also arise.

Set the security levels to minimum (just for testing purposes), and disable firewall. (proces of illimination).

oh, and in Dreamweaver 8 .. the code looks a lot diferent. Load it and use the shorter versions.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top