I haven't had any problems with Safari and returning false. A link to
a page where we can look at the code would help.

Karl Rudd

On 4/3/07, Dave <[EMAIL PROTECTED]> wrote:

I have a basic html page that includes a couple links to media files.
I've set the href of those links to actual mp3s. Through jQuery
(version 1.1.2) I've added click handlers to these links that will
sometimes return false, based on a few cookies the user may have. The
reason I don't use the hash mark (#) in the href is because I want the
site to degrade smoothly if javascript is off (meaning the media links
will still work). This all works great in IE and Firefox, meaning a
user click will be stopped if the click handler returns false,
otherwise it will go through and load the media file. However, in
Safari, the user click will load the media file no matter what, so the
logic I've built in (that will sometimes show a dialog instead of
loading the file) is utterly useless. Is there some workaround to
getting Safari to stop events like this? I was under the impression
that jQuery already set stopPropagation and returnValue so that this
would happen. Any help on this subject would be great. Thanks!

Dave


Reply via email to