Wow! It really is that simple. Thanks.
On Oct 5, 12:19 pm, brian wrote:
> $('.caption').each(function()
> {
> $this.width($this.find('img').width());
>
> }
> On Mon, Oct 5, 2009 at 11:52 AM, bombaru wrote:
>
> > Can somebody help me
Can somebody help me out? I'm trying to set a width of a span class
based on the width of the image inside of it. I've got a container
that will also have a bunch of images... some of them will have
captions and will be wrapped in a class "caption"... some will not be
wrapped in the "caption" cl
not
sure how to get around this though.
Thanks
On Aug 25, 11:57 am, bombaru wrote:
> OK... I figured something out to achieve the functionality I'm after.
> This will set the first span to active and then add/remove the active
> class when the user cycles through using the previ
ive');
} else {
$('.visual-cue p
span.active').removeClass('active').prev().addClass
('active');
}
});
Surely there's got to be a better/cleaner way to achieve this. Thanks
for any help/assistance you can pro
if the user
is clicking the next button, and vice-versa if the user is using the
previous button action.
Thanks again for your help.
On Aug 24, 5:04 pm, James wrote:
> So basically you just want to know how many tags there are?
> If so, something like this could work (untested):
>
I'm trying to add a navigational aid to a carousel that I'm working
on. Basically, I want to visually display the number of results in the
carousel and then highlight the result that is currently in the first
position as the user scrolls through the result set - providing a
visual cue to the user
I came across the following script tag in a framework. I've never
seen this before and have no clue why it would be used. Can someone
help shed some light on this?
jQuery(dom_init);
ything at index 10+, then check the length of the jQuery
> object from that operation. If it's length is greater than 0, go ahead
> and add the 'More' link.
>
> On Jun 20, 10:11 am, bombaru wrote:
>
> > One question with this approach... how would I implement t
This approach is a lot cleaner that what I had
concocted and work with jQuery 1.3.2.
On Jun 19, 9:16 pm, bombaru wrote:
> Thanks mkmanning!!! I'll give this a try tomorrow and let you know.
> Looking at it though... I'm pretty confident it will do the trick.
> It'
Works like a champ! Thank you again (mkmanning and karl) for all of
your help.
On Jun 19, 9:16 pm, bombaru wrote:
> Thanks mkmanning!!! I'll give this a try tomorrow and let you know.
> Looking at it though... I'm pretty confident it will do the trick.
> It's amazing h
On Jun 19, 7:36 pm, Karl Swedberg wrote:
> Ah, I see. Helps to be able to see the HTML.
>
> Let us know if mkmanning's approach doesn't do the trick.
>
> --Karl
>
>
> Karl Swedbergwww.englishrules.comwww.learningjquery.com
>
> On Jun 19, 2009,
> });
> }
> });
>
> --Karl
>
>
> Karl Swedbergwww.englishrules.comwww.learningjquery.com
>
> On Jun 19, 2009, at 4:54 PM, bombaru wrote:
>
>
>
> > There has got to be a better way to write this? Basically, I'm
> > r
19, 2:29 pm, James wrote:
> What does the function for "CreateOnClickEvent" look like if you don't
> mind posting that?
>
> On Jun 19, 6:15 am, bombaru wrote:
>
> > Same result: Unresponsive script error
>
> > On Jun 19, 11:17 am, amuhlou wrote:
There has got to be a better way to write this? Basically, I'm
returning a bunch of list item and after the 10th one, setting the
rest to display:none and adding a link. Clicking on the
link removes the display:none and adds a link at the bottom.
I think jQuery 1.3.2 is having some trouble w
Same result: Unresponsive script error
On Jun 19, 11:17 am, amuhlou wrote:
> what happens if you put an empty else {} after the last elseif?
>
> On Jun 19, 10:33 am, bombaru wrote:
>
> > I think it's the "if/else if" statement at the top. If I change the
&g
ot;) {
var position = $zone.attr('position');
if (typeof (CreateOnClickEvent) != "undefined")
CreateOnClickEvent('Search', 30, searchHandler +
e.data.section + ':' + position); // add position data
}
$zone.unbind
I've pinpointed the script that's causing the timeout. Commenting
this script out resolves the issue. I don't see anything in this
script however that is out of place. I'd be curious if some better
trained eyes find something.
Thanks again for all of your help.
===
I've pinpointed the script that's causing the timeout. Commenting
this script out resolves the issue. I don't see anything in this
script however that is out of place. I'd be curious if some better
trained eyes find something.
Thanks again for all of your help.
===
ave other scripts running on the page aside from just jQuery?
> Such as other scripts that rely on jQuery?
>
> On Jun 18, 11:00 am, bombaru wrote:
>
> > I switched to the development version of jQuery so I could actually
> > see where the offending line was. I'm still
deIndex = ++count;
1988 }
1989 }
1990 parent.sizcache = doneName;
1991 }
Again, any help will be much appreciated.
Thanks.
On Jun 18, 4:45 pm, bombaru wrote:
> Anyone know why I might be getting and "Unresponsive script" warning?
> I'm running 1.3.2.min.
Anyone know why I might be getting and "Unresponsive script" warning?
I'm running 1.3.2.min. The Warning pops up and states the following:
A script on this page may be busy, or may have stopped responding.
You can stop the script now, open the script in the debugger, or let
the script continue.
How do I kill/override the animation methods that are built into the
code? I'm not a fan of the opacity or height methods and would like
to see this menu without these additions. Is this the line that needs
tweaking (and if so, can someone show me how)?
$ul.animate(o.animation,o.speed,function(
r' event use the 'change' jquery event
> (analogous to onChange() traditional js)
>
> http://docs.jquery.com/Events/change
>
> -Alex
>
> On Sep 16, 11:08 pm, bombaru <[EMAIL PROTECTED]> wrote:
>
> > I've got an input box and am displaying a form bu
I've got an input box and am displaying a form button on focus... then
hiding the form button on blur. Ideally, I want to display the form
button on focus, but only hide the button if the original contents of
the input box have not changed (put another way... persist the form
button if the quanti
Does anyone have any examples of how I could use a select box to show/
hide different divs on a page. To take it a level further, I would
also like the same behavior to work if images are clicked.
A little background: I'm tring to build a payment options page and
have a list of payment icons (V
25 matches
Mail list logo