I'm using jMaps (jQuery Google Maps plugin).
Is there a way to make a marker's HTML bubble appear when the map
loads? It looks like that HTML bubble only opens based on a marker
event (like click or mouseover). I'm hoping to just have the bubble
visible without any user action.
thanks
--dave
try this
$('#divLoginBox1').click(function(e) {
e.stopPropagation();
});
$(document).click(function() {
$('#divLoginBox1').hide();
});
--dave
>
> $('div.items").show("slow");
> of course i could use the callback of each show so taht the next one only
> start when current is finished animating, but i don't know in advance the
> amount of divs there will be so i'm kind of stuck on how to achieve that.
I think the FX Queues extension ca
$(document).ready(
function () {
$('[EMAIL PROTECTED]"radio"]').click( function() {
$('#giftMsg').toggle($(this).show(),$
(this).hide());
});
}
);
toggle() takes 2 functions as argument
> in the showSectionActionsDialog function IE give the error "Object
> doesn't support this property or method" when trying to get the value
> of the "actions" variable
Marcello,
I tried the snippet you sent and IE 7 didn't spit out any errors. Do
you have a page online that's causing the e
>
> This works great on my localhost. However, when I publish online I
> experience a problem: on page load the whole is shown for a
> second, including all nested submenu's, before it is hidden by
> jQuery. I guess this is because all elements need to be loaded
> into the DOM before the jQuer
On Dec 4, 8:23 pm, "Benjamin Sterling"
<[EMAIL PROTECTED]> wrote:
> Dave, I know I am getting in here late, but I did a post on fast selectors
> that may point you in the right
> direction:http://benjaminsterling.com/jquery-what-are-the-fastest-selector/
Benjamin, very cool. Thanks for the lin
>
> $('p span'): 863ms
> $('p').find('span'): 3050ms
Wow, that's a big difference.
Thanks Eric for running this test and thanks Gordon for pointing me to
the Firebug profiler
cheers
--dave
> The function assigned to init plus the reference to a variable defined
> outside of it ('me') is called a closure. You'll see people use 'self
> = this' or '$this = $(this)' for this purpose frequently.
Thanks Danny,
Great explanation.
--dave
is there a difference in performance for these two:
$('p span')
$('p').find('span')
while, I'm on the subject, what's a good way to test performance of
queries (and scripts in general)
thanks
--dave
I'm trying to wrap my head around objects and object literals. I can't
seem to figure out how to access the object within one of its methods,
when the method is triggered by an event. In other words the context
for 'this' shifts when the method is invoked by a handler. See simple
example below:
>
> Thanks for the heads-up, Dave. Actually, though, I'm not seeing that
> problem in Safari 3 Mac.
>
Weird. Yesterday, all of the text overlapped, but it looks fine now
(actually looks great--awesome effect) in Safari 3.
--dave
On Nov 30, 1:46 pm, Karl Swedberg <[EMAIL PROTECTED]> wrote:
>
> Just kidding. I'm glad you switched it to the cycle plugin. I'm
> actually using it, too, on a site I just
> redesigned:http://www.calvin.edu/festival/
Karl,
Thought you might want to know that the scrolling list of speakers o
On Nov 29, 6:32 pm, Josh Bush <[EMAIL PROTECTED]> wrote:
> I just released version 1.1.2 of my Masked Input Plugin for jQuery.
Josh, that's great. Very nice implementation with just the right
amount of information for users to quickly figure out what they need
to input. I'll definitely be tryin
On Nov 29, 5:16 am, Guy Fraser <[EMAIL PROTECTED]> wrote:
> Another sweet thing found on
> Ajaxian:http://feeds.feedburner.com/~r/ajaxian/~3/192351009/new-css-javascrip...
>
> There was recently a thread regarding a jQuery plugin which dealt with
> CSS but I can't find it now.
Maybe you're thi
> I have a question, I think this is a small things, but I don't know
> the answer.
>
> I have a variable:
> var myVar = 'You must fill class="field">Fields...';
var myVar = 'You must fillFields...';
if ($(myVar).hasClass('css-error')) {
// yes it has the css-error class
}
.hasClass is new in
I'm trying to select text inside list items. I'm using
jQuery's .text( ) method. Unfortunately, that returns the text of all
children as well. That means for a nested list like this
index.html
about
index.html
more.html
$('li').eq(1).text() returns
'about
index.
17 matches
Mail list logo