Hey Josh,
I haven't used the Shadowbox plugin (though I've admired its beauty).
But sometimes it's hard to catch what could be a JavaScript error when
the page gets refreshed. Have you tried using Firebug and checking the
"Break on all errors" option? That might help you troubleshoot. it
could be an event binding thing, or it could be some other error that
isn't being reported quickly enough before the page refreshes. Hope
that makes sense.
To turn on "Break on all errors," open the Firebug console and click
on the "Script" tab. Then click the "Options" drop-down and choose
"Break on all errors."
--Karl
_________________
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On Apr 2, 2008, at 2:04 PM, Josh Nathanson wrote:
Hey all,
I'm using the Shadowbox script successfully with jQuery 1.2.1,
however when changing to jQuery 1.2.3, it no longer functions
properly. It looks like something in the preventDefault mechanism
in the Shadowbox jQuery adapter is broken, because when clicking on
the image, it does not prevent the default link event -- it just
reloads the image in a new page. But, I don't see anything wrong
with it right off the bat so it may be something to do with event
binding being handled differently in jQ 1.2.3.
Just hoping maybe somebody has also seen this and figured out what's
going on.
-- Josh