Go Back   CodingForums.com > :: Client side development > JavaScript programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 10-09-2008, 09:44 PM   PM User | #1
CoreyWilson
New to the CF scene

 
Join Date: Oct 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
CoreyWilson is an unknown quantity at this point
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!
CoreyWilson is offline   Reply With Quote
Old 10-09-2008, 11:29 PM   PM User | #2
jmrker
Senior Coder

 
jmrker's Avatar
 
Join Date: Aug 2006
Location: FL
Posts: 2,764
Thanks: 29
Thanked 453 Times in 447 Posts
jmrker will become famous soon enough
Do you have some more code to look at? A link to a test site?
jmrker is offline   Reply With Quote
Old 10-10-2008, 12:21 AM   PM User | #3
CoreyWilson
New to the CF scene

 
Join Date: Oct 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
CoreyWilson is an unknown quantity at this point
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!
CoreyWilson is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 08:29 PM.


Advertisement
Log in to turn off these ads.