Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3

Thread: Simple Question

  1. #1
    New to the CF scene
    Join Date
    Oct 2008
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Unhappy Simple Question

    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!

  • #2
    Senior Coder jmrker's Avatar
    Join Date
    Aug 2006
    Location
    FL
    Posts
    3,086
    Thanks
    38
    Thanked 498 Times in 492 Posts
    Do you have some more code to look at? A link to a test site?

  • #3
    New to the CF scene
    Join Date
    Oct 2008
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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!


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •