View Full Version : javascript, pop up window , error
gjclimer
02-25-2007, 11:30 AM
when i try to use either of the tutorials on making a pop up window, i get this error message:
Safari can’t run the script “Launch('http://www.kirupa.com/kirupa.htm')” because Safari doesn’t allow JavaScript to be used in this way.
I am using a mac (hence Safari) and i work in an industry where mac is the more common computer, so i want to make sure my site is mac compatable.
i've never run into this before, help?
g
takethetrain
02-26-2007, 10:40 AM
I tried Kirupa's flash movie (in the tutorial (http://www.kirupa.com/developer/flash5/newwindow.htm)) and did not experience the same problem in Safari. Did the one there work for you? If so, maybe you should test your file online--local files sometimes get funny with security. If not, then there may be an issue with your browser's security settings.
gjclimer
02-27-2007, 11:26 PM
so i discovered that if you just launch it, it works online. Its something in the internal safari security that won't let it work whenyour programming. but it works fine on safari when your on the actual net.
ive run into a problem though...
I have several links to small pop up windows. If one pop up is open, you cannot make the second open. instead it just brings the first pop up window to the foreground.
Is there a change in the coding i can do to allow each link to be open at the same time?
for reference: www.godspeedthewelldressedman.com is my site. (part of the site is under construction... shameful to launch early, i know. i know.)
project107
02-28-2007, 10:49 AM
Um, gj, a few things...
Your buttons have no back to them, so I have to get my cursor directly on the text in order for the buttons to register. Try creating a rectangle of sorts and putting it behind the text in your buttons. Set it's alpha to 0% if you intend on putting them over a pattern or something. Secondly, in your slideshow, I see one thick 'Next' arrow to advance to the next slide, and the 'Previous' arrow ( < ) is all skinny and doesn't match - it also didn't do anything for me when I clicked it. I think it's set to dynamic text, also. Lastly, your pop up windows - I don't see any in-line JS, so posting some files might be helpful. One window opened with a horizontal and vertical scrollbar for me, but I have the screen real estate to fit this comfortably. Good luck!
vBulletin® v3.8.1, Copyright ©2000-2009, Jelsoft Enterprises Ltd.