PDA

View Full Version : popup with javascript & external txt file


worf
04-16-2002, 05:24 AM
Hi,

I've set up popup window specifications in a .js file. The .swf file picks these up from an external text file.

The link in the text file looks as follows:
&tips=<p><a href="javascript:newWin('../tips/index.htm')"><u>Tips</u></a></p>

This all works fine until the html page with the flash file is placed in a frameset on a different server.

The javascript stops working in the text file, but if the same javascript link is placed directly on the html page which contains the .swf file, it works fine.

Is this a specific quirk between external txt files used Flash and Javascript? Is there any way to fix this?

Thank you

Jesse
04-16-2002, 09:03 AM
grrr double post, see my next one...

Jesse
04-16-2002, 09:03 AM
No that I know of, although there is a limitation on loading variables from another server. Is the text file content loading and not working, or not loading?

worf
04-16-2002, 10:19 AM
Hi Jesse,

Thanks for your reply :) The text file is loading and working aok if the file is not placed in a frameset - so I don't think it's a loading problem or a file size problem. The links that don't use the javascript popup also work fine even when they're in the frameset.

Worf