View Full Version : Simple Question

10-09-2008, 10:44 PM
Sorry I'm a complete newbie with Javascript here.. I've taken some tutorials online but am still slightly confused on what to do.

On the website I'm developing I have a flash navigation which I've realized could be a big problem. I have taken some javascript code off the internet to check to see if Flash is enabled and I have all of that working.

If the flash isn't enabled I have a new navigation showing up externally loaded from an external JS file to keep the HTML page cleaner. Now my problem is that I'm not sure how to open a popup in the }else{ statement. (I want to open a popup explaining how this website uses flash and the user should enable it or download it now)

I've tried the:
but nothing shows up and I'm at a loss on how to get it to work without an onclick listener.

I have no idea what to do! :(

10-10-2008, 12:29 AM
Do you have some more code to look at? A link to a test site?

10-10-2008, 01:21 AM
Sorry haha I figured it out like 15 min after... Didn't realize you had to have it online to test the popup function. As soon as I put the page online the popups started working.

Thanks again!