Why is the Tinybox 2 demo not working properly after I download it to my Mac?

The demo works fine from the scriptiny website but when I download the files I have errors on some of the options.

1) No Anim... works fine

2) Ajax Post... preload spins but doesn't load

3) Custom Position... works fine

4) iFrame... opens up fine but a "Javascript - closed" system window opens when I close the frame.

5) Ajax, Advanced Functions (the one I need)... preload spins but doesn't load

6) Image, Load callback... Opens a system window "Javascript loaded" and will only load the image after I have clicked "close",

I'm running OSX 10.6.8 and have tried this demo file on Safari, Chrome and Firefox.

Thanks for the great code, I'm also using the TinyDropdown2 and its working a treat.
asked Jun 15, 2012 by nichlee (120 points)

1 Answer

0 votes
The ajax related functions will only work in the context of a web server. If you use something like MAMP or have another web server running it should work, just not from your local filesystem. As for #4 I believe there was a callback function on that calling the alert. #6 should not be a problem either as you won't actually ever do something blocking like an alert onload.
answered Jun 15, 2012 by Michael (5,600 points)
Thanks so much. I think I'm sorted.