...

View Full Version : Simple Question



CoreyWilson
10-09-2008, 09: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:
window.open('random.html','name');
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! :(

jmrker
10-09-2008, 11:29 PM
Do you have some more code to look at? A link to a test site?

CoreyWilson
10-10-2008, 12: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!



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum