>
>
>
>
>
> > function() {
> > $("body").prepend(' > id="example" href="css/jquery-ui.min.css" />');
> > $.getScript("js/mail.js");
> > $("#say_hello_box").dialog("open&
Hello,
When a user clicks a button I dynamically load large CSS and JS files.
I handle it in this way:
$("#say_hello").click(function() {
$("body").prepend('');
$.getScript("js/mail.js");
$("#say_hello_box").dialog("open");
});
It works great, but the problem is that som
Your approach worked great! Thanks a lot for the help.
On Jul 21, 2:00 am, Liam Potter wrote:
> take off the height in the CSS, store the computed height in a var, and
> on page load set the div to the 300px, then animate to the height
> contained in the var.
>
> ebakunin w
Hello,
I have a with a height of 300px, overflow hidden, and a lot of
text -- more than can be displayed in the . I would like
to .animate() the to display the entire text. Without animation
I could just use .css("height", "auto"). When I use the same code in
animation -- .animate({"height":"au
Hello,
I have a a drop-down box ( and ) that is empty until
clicked, at which time $.getJSON() adds a number of option tags. The
problem is how Firefox and IE behave after the data is inserted into
the down-down. FF keeps the drop-down "open" so the user can
immediately view all the options. IE,
ld get you what you're looking for.
>
> --John
>
> On Dec 9, 2007 7:53 PM, ebakunin <[EMAIL PROTECTED]> wrote:
>
>
>
> > I am having trouble understanding how to use $(this) in a function. I
> > would like to refer to a div container by an
I am having trouble understanding how to use $(this) in a function. I
would like to refer to a div container by an image in that container.
The architecture is something like this:
Ideally I would use:
$(".trigger").click(function () {
$(".container:has(this)").hide("slow");
});
But
7 matches
Mail list logo