See http://documents.ccme.ca/sandbox/ for example
I have a sortable list, and the list items are themselves sortable
lists. Everything works fine in Firefox, but in IE (both 6 and 7), you
can only move an item once. After that, it's "frozen", and you can't
move it, though the other items still wo
> $(object).css("opacity", 0.7).fadeIn(400);
>
Ha! That did the trick. Thanks.
Aaron
> For me, I like having the opacity setting in the CSS, so i set it
> there and set "display:none". Then I use fadeIn instead of fadeTo.
> Not a solution, but a possible alternative. I'm sure someone else
> will have a real solution.
>
The problem with fadeIn is that it brings the element to 10
I have an element with this style associated with it:
filter:alpha(opacity=0);
-moz-opacity: 0;
opacity: 0;
Now, I fade it in:
$(object).fadeTo(1000, 0.8);
In FF and Safari, this results in the object fading from 0% to 80%
opacity. But in IE, it makes the object pop in
> Cool, looks like you have it working.
Well, here's a couple notes in conclusion.
My original problem was this: when embedding a QuickTime object in IE,
if you remove the DOM object that contains the QuickTime, then try to
make the exact same DOM object with a new QuickTime, the QuickTime
contr
Sorry, here's an example to go with my ramblings:
http://www.andcuriouser.com/sandbox/jqueryqt/test.html
Aaron
> anything else won't work as well.
Right now, my sample code is FF-only until I can get that up and
running (since FF is better for JS debugging). After that, I'll work
on IE (using the double-object method). Apple's method works, but it
doesn't validate. Compare it to this:
http://www.apple.co
> Yes, that method or creating the element should work just fine. Can
> you post a sample page? Maybe there's just a minor typo or something
> causing the problem.
>
Sure.
http://www.andcuriouser.com/sandbox/jqueryqt/test.html
The error:
Error: uncaught exception: [Exception... "String conta
> Actually you don't need to go that low-level. Take a peak at the
> "generate" method here:
>
> http://malsup.com/jquery/media/jquery.media.js
>
I'm sorry, I've gone over the JS a thousand times and I'm not making
any progress. My JS just isn't that strong.
Looking over the "generate" method,
> That problem that is fixed by using straight DOM code for creating the
> object and param elements.
>
Well, this is the first time I've tried making elements using straight
DOM code in JS. This is what I coded:
var body = document.getElementsByTagName("body")[0];
var movieBuil
> I've found that it is somewhat unreliable to add object elements using
> innerHTML. For my media plugin I resorted to using DOM methods to add
> media in IE. For an example, look at the "generate" method at the
> bottom of this file: http://malsup.com/jquery/media/jquery.media.js
Thanks for
http://www.andcuriouser.com/sandbox/jqueryqt/test.html
Contents of test.html:
function swapMovie() {
$("#TB_movie").remove();
$("body").append("");
$("#TB_movie").load("test-movie.html");
} // swapMovie()
Swap the movie
Contents of test-mo
> The problem is that even though you're unbinding the old one and
> attaching a new one, the new one will still be executed, since we're
> still within a 'keydown' event.
You're exactly right.
Thanks for taking a look. I found a way to rewrite things so that the
functions doesn't have to call i
> What's causing the hiccup? I'm guessing it's the fact that it's
> looking for a key down, and IE is still assuming the key is down when
> the function is called. I tried using keypress instead of keydown, but
> keypress doesn't seem to register the left and right arrow keys, which
> is exactly w
Demonstration code:
function TB_keyCatch() {
$(document).keydown(function(e) {
alert("triggering hit");
$(document).unbind( "keydown" );
TB_keyCatch();
}); // keydown
} // TB_keyCatch()
TB_keyCatch();
Essentially, if I'm und
15 matches
Mail list logo