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!