What is the difference between having the test and not having the test the way I wrote previously?
Glen
On 10/10/06,
Karl Swedberg <[EMAIL PROTECTED]> wrote:
On Oct 10, 2006, at 2:30 PM, Glen Lipka wrote:It's not obvious. I'm not that good. :) I need the fundamentals.
So I tried putting return false after the img lines as you suggested, but that didn't change it.
I also pulled it out completely and that had no change either.
If I get rid of the call back I end up with:
$("body").prepend("<div id='IntuitHeader'></div>");
$("#IntuitHeader").load("IntuitProducts.htm");
This loads properly, but no toggle.
However, when I do this:
$("body").prepend("<div id='IntuitHeader'></div>");
$("#IntuitHeader").load(" IntuitProducts.htm",
{test: true},
function()
{
alert('test');
}
);
In that case, the html from intuitHeader doesnt appear. However, the alert does fire.
Am I using the callback feature incorrectly? The reason I am using it is because I want to bind the toggle function after the html loads.
GlenWell, I'm not that bright, so we're even. ;-)And since I couldn't explain well enough what I'd do to change things, I rebuilt your page on my server, minus a couple images:http://test.learningjquery.com/slideMenu/slideMenu.htmIt's working here for me in IE and Firefox. Feel free to copy it all back to your server if you want.Cheers,Karl___________________Karl Swedbergwww.learningjquery.com
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
_______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/