-
Simple Controls Gallery and Safari
1) Script Title: Simple Controls Gallery
2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...plegallery.htm
3) Describe problem: This script is fantastic, I love it, but for some reason it makes Safari quit unexpectedly whenever I try to open the page where I am using it:
http://www.corinnesilva.com/new/slide.php
Is there a fix for this. The person I'm doing the website for is a Safari user (obviously!)
Any help greatly appreciated.
Jude x
-
-
Does this happen on the DD demo page for you as well? Using Safari 3.x Win to test your page btw, I don't see any issues.
DD Admin
-
-
Oh my goodness, yes it does!
I'm using Safari Version 2.0.4 (419.3) on a Mac.
I'll get some other Safari users to test the link and see if it's the same for them.
Thanks.
Jude x
-
-
Hmm I don't have access to a Mac unfortunately, so it's hard for me to debug for it. Aren't most Mac users on Safari 3.x as well?
DD Admin
-
-
I can't test Safari 2.x either, for the same reason. But are you getting anything in the error log or whatever Safari 2 has that might give us a clue as to the problem?
This might tell us something - turn off javascript in Safari 2 and view the pages (yours and the one on Dynamic Drive), do they both still crash?
If so, it would probably be the css of the Gallery, not the script itself.
One thing that Safari 2 might be choking on is jQuery itself, or perhaps just the pack(ed) version of it. Try it with the uncompressed version:
http://code.google.com/p/jqueryjs/do....6.js&can=2&q=
Last edited by jscheuer1; 01-13-2009 at 03:34 PM.
Reason: add bit about jQuery
-
-
I suspect it might be jQuery itself Safari 2 is choking on as well. This since in another thread someone had mentioned another jQuery based script on DD unexpectedly closing in Safari for him/her. Anyhow, without access to a Mac, one can only speculate based on info provided by someone who does.
DD Admin
-
-
Thanks for that useful information. I can report that with javascript turned off in Safari the pages load and Safari doesn't crash.
I replaced the packed version of jQuery with the uncompressd one but am still getting the same problem.
-
-
To test if it is just JQuery, the next step would be to try a page with javascript on, but no Gallery script. Just put the the jQuery script tag in the head of the page.
If it still crashes, it is incompatible with jQuery itself. Even if it doesn't, it may still be incompatible with jQuery, but if it does crash - then there is no question about it.
-
-
I did that and it doesn't crash with the jQuery script in and with the Simplegallery script removed.
What can we deduce from this - that it's the Simplegallery script?
I appreciate all your detective work!
-
-
No. All this tells us is that it is either the gallery script alone, or the gallery script and jQuery in combination. Without the gallery or some other script, jQuery itself doesn't do a lot of stuff. It just more or less sits there waiting for commands.
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks