[jQuery] Re: why is this href firing???

2009-07-08 Thread Karl Swedberg


On Jul 8, 2009, at 11:47 AM, MorningZ wrote:



I see this (stopping links in their tracks) a lot and it's puzzling,
so i think:

*if you do not want an  to actually follow a link, then don't use
an , use a  or something instead and use CSS to make it look
like a link to the user*

That will 100% solve all issues with a hyperlink acting like, well, a
hyperlink  :-)


The problem with using a  in those cases is that it isn't  
accessible. Links can be focused. You can tab to them and press Enter/ 
Return, and the click event will fire. Not so with spans.


--Karl


Karl Swedberg
www.englishrules.com
www.learningjquery.com



[jQuery] Re: [ANNOUNCE] New plugin: Loading

2009-07-08 Thread brian

Very nice! I'd been playing with something along these lines but it's
really buggy (and I'm lazy). Kudos for the 'classname' option. I much
prefer to specify a 'loading' image with CSS than to pass the filename
to a JS object. And it doesn't require dimensions (mine does). I'll
quietly retire my little experiment now.

On Wed, Jul 8, 2009 at 11:39 PM, Nathan Bubna wrote:
>
> http://plugins.jquery.com/project/loading
>
> If you need to let the user know something is happening in the
> background, this is the easiest way.  It handles creation,
> positioning, masking/blocking stuff behind, and even "pulsing" the
> loading message with a few simple options.  Of course, there's more
> than a few options.  Everything is configurable and extensible.  It's
> even easy to create your own pulsing/spinning/throbbing effects, and
> it can display text (default), images or any element you like with
> ease and simplicity.  It works page-wide with a "static" call:
>
> $.loading(true, {mask:true})
>
> or per-element, with chaining and all:
>
> $('#foo').loading({ align:'center' })
>
> The best way to start seeing what can be done and how to use it is to
> play with the demo:
>
> http://jquery-values.googlecode.com/svn/other/loading/jquery.loading.htm
>
> Enjoy.  And if you find bugs or have more clever ideas for it, let me
> know.  I like feedback of all kinds.
>


[jQuery] [ANNOUNCE] New plugin: Loading

2009-07-08 Thread Nathan Bubna

http://plugins.jquery.com/project/loading

If you need to let the user know something is happening in the
background, this is the easiest way.  It handles creation,
positioning, masking/blocking stuff behind, and even "pulsing" the
loading message with a few simple options.  Of course, there's more
than a few options.  Everything is configurable and extensible.  It's
even easy to create your own pulsing/spinning/throbbing effects, and
it can display text (default), images or any element you like with
ease and simplicity.  It works page-wide with a "static" call:

$.loading(true, {mask:true})

or per-element, with chaining and all:

$('#foo').loading({ align:'center' })

The best way to start seeing what can be done and how to use it is to
play with the demo:

http://jquery-values.googlecode.com/svn/other/loading/jquery.loading.htm

Enjoy.  And if you find bugs or have more clever ideas for it, let me
know.  I like feedback of all kinds.


[jQuery] Re: Remove margin in last in Unordered List

2009-07-08 Thread expresso

tried this but doesn't look like you can do this

$("#mycarousel > li").index(i).css("margin-right", "0px").css("padding-
right", "6px");

On Jul 8, 9:48 pm, expresso  wrote:
> Like something like this
>
> $("#mycarousel > li[" + i + "]").css("margin-right", "0px").css
> ("padding-right", "6px");
>
> On Jul 8, 9:46 pm, expresso  wrote:
>
> > Thanks.  I wonder if you can even access an  by index?
>
> > On Jul 8, 9:35 pm, MorningZ  wrote:
>
> > > Why wouldn't you just use:
>
> > >http://docs.jquery.com/Selectors/last
>
> > > $("#mycarousel > li:last").css("property", "value");
>
> > > On Jul 8, 10:17 pm, expresso  wrote:
>
> > > > If I have the following:
>
> > > > 
> > > >     
> > > >         
> > > >         
> > > >         
> > > >         
> > > >         
> > > >         
> > > > 
> > > > 
>
> > > > Trying to figure out how I can do a .each on each  and then add an
> > > > additional style to the last  in the list.


[jQuery] Re: Remove margin in last in Unordered List

2009-07-08 Thread expresso

Like something like this

$("#mycarousel > li[" + i + "]").css("margin-right", "0px").css
("padding-right", "6px");

On Jul 8, 9:46 pm, expresso  wrote:
> Thanks.  I wonder if you can even access an  by index?
>
> On Jul 8, 9:35 pm, MorningZ  wrote:
>
> > Why wouldn't you just use:
>
> >http://docs.jquery.com/Selectors/last
>
> > $("#mycarousel > li:last").css("property", "value");
>
> > On Jul 8, 10:17 pm, expresso  wrote:
>
> > > If I have the following:
>
> > > 
> > >     
> > >         
> > >         
> > >         
> > >         
> > >         
> > >         
> > > 
> > > 
>
> > > Trying to figure out how I can do a .each on each  and then add an
> > > additional style to the last  in the list.


[jQuery] Re: Remove margin in last in Unordered List

2009-07-08 Thread expresso

Thanks.  I wonder if you can even access an  by index?

On Jul 8, 9:35 pm, MorningZ  wrote:
> Why wouldn't you just use:
>
> http://docs.jquery.com/Selectors/last
>
> $("#mycarousel > li:last").css("property", "value");
>
> On Jul 8, 10:17 pm, expresso  wrote:
>
> > If I have the following:
>
> > 
> >     
> >         
> >         
> >         
> >         
> >         
> >         
> > 
> > 
>
> > Trying to figure out how I can do a .each on each  and then add an
> > additional style to the last  in the list.


[jQuery] Re: Remove margin in last in Unordered List

2009-07-08 Thread MorningZ

Why wouldn't you just use:

http://docs.jquery.com/Selectors/last

$("#mycarousel > li:last").css("property", "value");


On Jul 8, 10:17 pm, expresso  wrote:
> If I have the following:
>
> 
>     
>         
>         
>         
>         
>         
>         
> 
> 
>
> Trying to figure out how I can do a .each on each  and then add an
> additional style to the last  in the list.


[jQuery] Remove margin in last in Unordered List

2009-07-08 Thread expresso

If I have the following:












Trying to figure out how I can do a .each on each  and then add an
additional style to the last  in the list.


[jQuery] Dialog: set focus after 'show' animation

2009-07-08 Thread dnagir

Hi,

I'm using this code:
var editDialog = $('#dialogEditor').dialog({
modal: true,
autoOpen: false,
position: 'top',
width: dialogWidth || 300,
show: 'fold', // focus is not set when this animation is
enabled
hide: 'fold',
open: function(ev, ui) {
$('#dialogEditor input:first').focus(); // Set focus
}
});

The aim is to set focus to the input element after dialog is open.

It doesn't work when "show" animation is set.
How can I workaround this?

Cheers,
Dmitriy.


[jQuery] Re: Checking value

2009-07-08 Thread mkmanning

FYI this:

if ('http://example.com/foo/bar.html' === $('a', $(this)).attr
('href')) {
alert('Hooray!');
}

is the same as your original code, except for the full url.


On Jul 8, 3:25 am, "brightdad...@googlemail.com"
 wrote:
> Yes it worked!
>
> On Jul 8, 10:09 am, "brightdad...@googlemail.com"
>
>
>
>  wrote:
> > Hi Experts,
>
> > I am trying to conditionally test what the value of href is equal to.
>
> > like this;
>
> > if($(this).find('a').attr("href")=="map.html"){
> >  alert("yes");
>
> > }
>
> > This doesn't work. Do anyone knows what i am doing wrong.
>
> > Psuedocode please.


[jQuery] Re: stop jQuery Form Plugin from being submitted multiple times.

2009-07-08 Thread tristan



On Jul 8, 5:10 pm, tristan  wrote:
> I'm sure this is very simple, I'm quite very new to JavaScript. I have
> a function for submitting a form, I'd like it to stop the user from
> submitting the form multiple times by click on my submit link multiple times. 
> I
> haven't found a way to do this in the docs. Can anyone point me in the
> right way?
>
> My function looks like this:
>
> function submitComments(id, numComments) {
>     $('#response-'+id).fadeIn('fast');
>     $('#commentForm-'+id).ajaxForm({
>     target:        '#response-'+id,
>     success: function() {
>
>                 loadComments(id, numComments);
>                 $('#commentValue-'+id).val('Speak your brains! ')
>
>             }});
>
>
>
> }


[jQuery] stop jQuery Form Plugin from being submitted multiple times.

2009-07-08 Thread tristan

I'm sure this is very simple, I'm quite very new to JavaScript. I have
a function for submitting a form, I'd like it to stop the user from
submitting the form multiple times once they have clicked it. I
haven't found a way to do this in the docs. Can anyone point me in the
right way?

My function looks like this:

function submitComments(id, numComments) {
$('#response-'+id).fadeIn('fast');
$('#commentForm-'+id).ajaxForm({
target:'#response-'+id,
success: function() {

loadComments(id, numComments);
$('#commentValue-'+id).val('Speak your brains! ')

}});

}


[jQuery] Toggle multiple objects the same direction?

2009-07-08 Thread Pkunzipula

Hello Experts!

I have an animated drop-down search panel, coded with jQuery like
so...

$(function() {
$('div.searchform').hide();
$('div.searchbar').click(function () {
$('div.searchform').animate({
height: "toggle",
opacity:"toggle"
  }, 'fast');
});
});

This divs .searchform and .searchbar appear at the top of 5 separate
lists.  What I'm trying to accomplish is when you toggle the
searchform on any list, you see that same state on every other list
(i.e., when you close 1, you close them all).

As is above, if you open one list, it closes all the others.  It's
like two light switches in the same hallway.

I'm sure this is a job for an IF statement, but I'm not sure what I
should be testing.

Any ideas, anyone?

Thanks for your time.

Arlen


[jQuery] Re: Constrain/restrict mouse pointer to a selector

2009-07-08 Thread James

Imagine all the bad things that would happen if webpages were able to
trap a user's mouse.

On Jul 8, 9:24 am, Matthew  wrote:
> I don't have time to be more specific, but just from doing some
> searching on the internet, it seems like javascript can only return
> properties of the mouse and not control it directly. Instead of
> controlling the mouse cursor, couldn't you expose some sort of warning
> if the user moved outside the element? In other words you are testing
> where the mouse is and if it is outside a form for example big red ext
> pops up saying "FILL OUT THE FORM" and once the form is submitted you
> hide that text.
>
> This solution seems a lot more user friendly that controlling a user's
> mouse.
>
> On Jul 8, 8:29 am, Coxy  wrote:
>
> > Is it possible with jQuery, or JavaScript for that matter, to trap the
> > mouse in a div or other tag so that it can only move around in it. I'd
> > like this for a modal window so thta the user knows that they must do
> > something in the window first before carrying on.
>
>


[jQuery] Toggle multiple objects the same direction?

2009-07-08 Thread Pkunzipula

Hello Experts!

I have an animated drop-down search panel, coded with jQuery like
so...

$(function() {
$('div.searchform').hide();
$('div.searchbar').click(function () {
$('div.searchform').animate({
height: "toggle",
opacity:"toggle"
  }, 'fast');
});
});

This divs .searchform and .searchbar appear at the top of 5 separate
lists.  What I'm trying to accomplish is when you toggle the
searchform on any list, you see that same state on every other list
(i.e., when you close 1, you close them all).

As is above, if you open one list, it closes all the others.  It's
like two light switches in the same hallway.

I'm sure this is a job for an IF statement, but I'm not sure what I
should be testing.

Any ideas, anyone?

Thanks for your time.

Arlen


[jQuery] Re: Determine content type in $.post callback

2009-07-08 Thread dnagir

Hi Guys,

Thanks a lot. Both eval and prototyp-ish ways are ok.
Another question on this.

The server returns ContentType header with value application/json.

How can check this in the callback of the $.post function?
I just don't see ContentType in any properties of "this".

Cheers,
Dmitriy.


[jQuery] Re: Cannot disable div

2009-07-08 Thread Ricardo

I'd love to see what the author thinks of your comments ;)

>From what I can see, you'd be much better off writing your own
carousel from scratch, and learning the basics as you go with it.

On Jul 8, 1:05 pm, expresso  wrote:
> Now you tell me how the f* I'm supposed to understand how to
> manipulate this crap.  So I figured I can just disable it with CSS
> straight up.
>
> On Jul 8, 11:05 am, expresso  wrote:
>
> >         buttons: function(n, p) {
> >             if (n == undefined || n == null) {
> >                 var n = !this.locked && this.options.size !== 0 &&
> > ((this.options.wrap && this.options.wrap != 'first') ||
> > this.options.size == null);
> >                 //if (!this.locked && (!this.options.wrap ||
> > this.options.wrap == 'first') && this.options.size != null &&
> > this.last >= this.options.size)
> >                 //    n = this.tail != null && !this.inTail;
> >             }
>
> >             if (p == undefined || p == null) {
> >                 var p = !this.locked && this.options.size !== 0 &&
> > ((this.options.wrap && this.options.wrap != 'last') || this.first >
> > 1);
> >                 if (!this.locked && (!this.options.wrap ||
> > this.options.wrap == 'last') && this.options.size != null &&
> > this.first == 1)
> >                     p = this.tail != null && this.inTail;
> >             }
>
> >             var self = this;
> >             n = true;
> >             this.buttonNext[n ? 'bind' : 'unbind']
> > (this.options.buttonNextEvent, this.funcNext)[n ? 'removeClass' :
> > 'addClass'](this.className('jcarousel-next-disabled')).attr
> > ('disabled', n ? false : true);
> >             this.buttonPrev[p ? 'bind' : 'unbind']
> > (this.options.buttonPrevEvent, this.funcPrev)[p ? 'removeClass' :
> > 'addClass'](this.className('jcarousel-prev-disabled')).attr
> > ('disabled', p ? false : true);
>
> >             if (this.buttonNext.length > 0 && (this.buttonNext
> > [0].jcarouselstate == undefined || this.buttonNext[0].jcarouselstate !
> > = n) && this.options.buttonNextCallback != null) {
> >                 this.buttonNext.each(function()
> > { self.options.buttonNextCallback(self, this, n); });
> >                 this.buttonNext[0].jcarouselstate = true;
> >             }
>
> >             if (this.buttonPrev.length > 0 && (this.buttonPrev
> > [0].jcarouselstate == undefined || this.buttonPrev[0].jcarouselstate !
> > = p) && this.options.buttonPrevCallback != null) {
> >                 this.buttonPrev.each(function()
> > { self.options.buttonPrevCallback(self, this, p); });
> >                 this.buttonPrev[0].jcarouselstate = p;
> >             }
> >         },
>
> > On Jul 8, 11:03 am, expresso  wrote:
>
> > > If you look at the JCarousel .js, here's the logic
>
> > >         buttonNextHTML: '',
> > > 
> > >         this.buttonNext = $('.jcarousel-next', this.container);
>
> > >         if (this.buttonNext.size() == 0 &&
> > > this.options.buttonNextHTML != null)
> > >             this.buttonNext = this.clip.before
> > > (this.options.buttonNextHTML).prev();
>
> > > On Jul 8, 10:40 am, BaBna  wrote:
>
> > > > Because it sucks?
> > > > It might create problems with some DTD I think, and maybe this disable
> > > > on a DIV is an IE "special feature", I don't know.
> > > > Anyway, what do you want to achieve here?
>
> > > > On Jul 8, 4:30 pm, "Cesar Sanz"  wrote:
>
> > > > > How come is that you want to disable a div??
>
> > > > > Do you mean, block the content inside div?
>
> > > > > - Original Message -
> > > > > From: "BaBna" 
> > > > > To: "jQuery (English)" 
> > > > > Sent: Wednesday, July 08, 2009 9:28 AM
> > > > > Subject: [jQuery] Re: Cannot disable div
>
> > > > > Maybe because there is no disabled property for DIV?
>
> > > > >http://www.w3schools.com/tags/tag_DIV.asp
>
> > > > > On Jul 8, 4:25 pm, expresso  wrote:
> > > > > > 
> > > > > >  > > > > > style="display: block; height: 220px; width: 592px;">
> > > > > >  > > > > > style="display:
> > > > > > block;" disabled="false"/>
> > > > > >  > > > > > style="display:
> > > > > > block;" disabled="false"/>
> > > > > > 
> > > > > >  > > > > > style="height: 220px; width: 3315px; left: -2028px;">
> > > > > > 
> > > > > > 
> > > > > > 
> > > > > > 
>
> > > > > > I'm trying to change disabled to true. It's not taking. And what I
> > > > > > also don't get is what is disable doing for a div?
>
> > > > > > I have tried this:
>
> > > > > > jQuery(".jcarousel-skin-ie7 .jcarousel-next .jcarousel-next-
> > > > > > horizontal").attr({ disabled: "true" });


[jQuery] Re: listmenu plugin: non-ascii characters

2009-07-08 Thread Dave

Nice, looking forward to it.

Cheers, Dave

On Jul 8, 2:35 pm, Dave  wrote:
> Have there been any progress in this matter?
>
> On Jun 8, 11:09 pm, Jack Killpatrick  wrote:
>
>
>
> > Hi,
>
> > I considered building something like that in, but decided I didn't know
> > enough about other languages to decide how best to handle them. Thanks
> > for starting the dialog. Does anyone else have any opinion on this?
>
> > The main thing I'm wondering is whether collecting them all under one
> > nav item would, in some cases, result in *many* things ending up there
> > and not many things left under the individual letters (depends on how
> > many items start with these kinds of chars).
>
> > Also, I think that # would mean "starts with a number" to most people,
> > but numbers are already handled via the optional [0-9] nav item. If not
> > #, then what else might make sense?
>
> > On a related note: does anyone know offhand if high ascii chars like
> > these can be used as CSS class names? I haven't ventured into
> > researching that yet.
>
> > Thanks,
> > Jack
>
> > Dave wrote:
> > > Hi
>
> > > In the example below there are non ascii characters, and as it is now
> > > listmenu just ignores them. Maybe a solution could be to collect them
> > > under a "#" tab.
>
> > > 
> > >         Agilityhunden
> > >         Aktivitetsbollen
> > >         BIO Shampoo
> > >         Oxsvans
> > >         Pipleksak - Groda
> > >         Vovex Balsam
> > >         Ädelsten
> > >         Ögonsten
> > > 
>
> > > Cheers- Hide quoted text -
>
> > - Show quoted text -- Hide quoted text -
>
> - Show quoted text -


[jQuery] Re: Cannot disable div

2009-07-08 Thread expresso

finally figured out a way to do this, had to unbind any events to it

jQuery(".jcarousel-next").unbind("click");
jQuery(".jcarousel-next").addClass("jcarousel-next
jcarousel-next-horizontal jcarousel-next- disabled jcarousel-next-
disabled-horizontal");
jQuery(".jcarousel-next").attr("disabled", true);

adios and thanks for the help.

On Jul 8, 3:15 pm, Michael Lawson  wrote:
> Thats part of how a form submission works, its not the site.  FF will warn
> you if you submitted something using a form and are trying to refresh that
> same page.
>
> cheers
>
> Michael Lawson
> Development Lead, Global Solutions, ibm.com
> Phone:  1-276-206-8393
> E-mail:  mjlaw...@us.ibm.com
>
> 'Examine my teachings critically, as a gold assayer would test gold. If you
> find they make sense, conform to your experience, and don't harm yourself
> or others, only then should you accept them.'
>
>   From:       expresso                                   
>                                                 
>
>   To:         "jQuery (English)"                  
>                                                  
>
>   Date:       07/08/2009 03:56 PM                                             
>                                                  
>
>   Subject:    [jQuery] Re: Cannot disable div                                 
>                                                  
>
> Because I refresh the page here and it reposts it.  I didn't build
> this forum.  Mabye someone should fix that.
>
> On Jul 8, 2:11 pm, Michael Lawson  wrote:
>
> > Maybe a mail rule setup wrong?
>
> > cheers
>
> > Michael Lawson
> > Development Lead, Global Solutions, ibm.com
> > Phone:  1-276-206-8393
> > E-mail:  mjlaw...@us.ibm.com
>
> > 'Examine my teachings critically, as a gold assayer would test gold. If
> you
> > find they make sense, conform to your experience, and don't harm yourself
> > or others, only then should you accept them.'
>
> >   From:       MorningZ 
>
> >   To:         "jQuery (English)" 
>
> >   Date:       07/08/2009 03:01 PM
>
> >   Subject:    [jQuery] Re: Cannot disable div
>
> > What is up with the repeated posts?  Seems to happen on any topic you
> > are involved in
>
> >  graycol.gif
> > < 1KViewDownload
>
> >  ecblank.gif
> > < 1KViewDownload
>
>
>
>  graycol.gif
> < 1KViewDownload
>
>  ecblank.gif
> < 1KViewDownload


[jQuery] Re: Cannot disable div

2009-07-08 Thread expresso

strange did not get warnings but will be aware next time.

Now back to this stupid next button issue.  I tried this

jQuery(".jcarousel-next").addClass("jcarousel-next
jcarousel-next-horizontal jcarousel-next- disabled jcarousel-next-
disabled-horizontal");
jQuery(".jcarousel-next").attr("disabled", true);

that changed the cssClass so now the page shows this:



so when I mouse over the next button sure enough it is this that's
highlighted in FireBug so I know this is the mark-up for that next
button.

While the styles show it greyed out with an alternate image...I can
still click next!  If anyone can look at the JCarousel source to help
me figure out how to explicitly tell this thing to disable completely
it will help me save about another day of migranes.

I give up as I've spent hours on this on my own before posting here to
try to disable this damn button when I want to.  
http://sorgalla.com/projects/jcarousel/

Where is Jan!

On Jul 8, 3:15 pm, Michael Lawson  wrote:
> Thats part of how a form submission works, its not the site.  FF will warn
> you if you submitted something using a form and are trying to refresh that
> same page.
>
> cheers
>
> Michael Lawson
> Development Lead, Global Solutions, ibm.com
> Phone:  1-276-206-8393
> E-mail:  mjlaw...@us.ibm.com
>
> 'Examine my teachings critically, as a gold assayer would test gold. If you
> find they make sense, conform to your experience, and don't harm yourself
> or others, only then should you accept them.'
>
>   From:       expresso                                   
>                                                 
>
>   To:         "jQuery (English)"                  
>                                                  
>
>   Date:       07/08/2009 03:56 PM                                             
>                                                  
>
>   Subject:    [jQuery] Re: Cannot disable div                                 
>                                                  
>
> Because I refresh the page here and it reposts it.  I didn't build
> this forum.  Mabye someone should fix that.
>
> On Jul 8, 2:11 pm, Michael Lawson  wrote:
>
> > Maybe a mail rule setup wrong?
>
> > cheers
>
> > Michael Lawson
> > Development Lead, Global Solutions, ibm.com
> > Phone:  1-276-206-8393
> > E-mail:  mjlaw...@us.ibm.com
>
> > 'Examine my teachings critically, as a gold assayer would test gold. If
> you
> > find they make sense, conform to your experience, and don't harm yourself
> > or others, only then should you accept them.'
>
> >   From:       MorningZ 
>
> >   To:         "jQuery (English)" 
>
> >   Date:       07/08/2009 03:01 PM
>
> >   Subject:    [jQuery] Re: Cannot disable div
>
> > What is up with the repeated posts?  Seems to happen on any topic you
> > are involved in
>
> >  graycol.gif
> > < 1KViewDownload
>
> >  ecblank.gif
> > < 1KViewDownload
>
>
>
>  graycol.gif
> < 1KViewDownload
>
>  ecblank.gif
> < 1KViewDownload


[jQuery] Re: noob problem with selector and wrapped set

2009-07-08 Thread Ralph Whitbeck
It's not a problem with Prototype and it being mixed cause you get the same
problem if you just isolate it to just a page with jQuery.

The problem seems to be an invalid ID name.  I was able to get a match when
I took :: out of the ID name.

Ralph

On Wed, Jul 8, 2009 at 12:14 PM, Matt Zagrabelny  wrote:

>
> Greetings,
>
> I am attempting to use jQuery in a Prototype environment (Request
> Tracker RT3.8).
> My ready handler is working, but my first attempt at establishing a
> wrapped set is not working.
>
> Some snippets:
>
> jQuery.noConflict();
>
> jQuery(document).ready(function() {
>  set_max_length('Object-RT::Ticket--CustomField-29-Value', 4);
> }
>
> function set_max_length(id, max_length) {
>  alert("There are " + jQuery('#' + id).size() + " elements in the
> wrapped set.");
> }
>
> My alert message comes back with 0 (zero) elements in the wrapped set.
> There is an input element with id = 'Object-RT::Ticket--CustomField-29-
> Value' in the DOM. Am I missing anything?
>
> Thanks for the help,
>
> -Matt Zagrabelny
>


[jQuery] Re: Cannot disable div

2009-07-08 Thread Michael Lawson

Thats part of how a form submission works, its not the site.  FF will warn
you if you submitted something using a form and are trying to refresh that
same page.

cheers

Michael Lawson
Development Lead, Global Solutions, ibm.com
Phone:  1-276-206-8393
E-mail:  mjlaw...@us.ibm.com

'Examine my teachings critically, as a gold assayer would test gold. If you
find they make sense, conform to your experience, and don't harm yourself
or others, only then should you accept them.'


   
  From:   expresso
   
  To: "jQuery (English)"   
   
  Date:   07/08/2009 03:56 PM  
   
  Subject:[jQuery] Re: Cannot disable div  
   






Because I refresh the page here and it reposts it.  I didn't build
this forum.  Mabye someone should fix that.

On Jul 8, 2:11 pm, Michael Lawson  wrote:
> Maybe a mail rule setup wrong?
>
> cheers
>
> Michael Lawson
> Development Lead, Global Solutions, ibm.com
> Phone:  1-276-206-8393
> E-mail:  mjlaw...@us.ibm.com
>
> 'Examine my teachings critically, as a gold assayer would test gold. If
you
> find they make sense, conform to your experience, and don't harm yourself
> or others, only then should you accept them.'
>
>   From:       MorningZ 

>
>   To:         "jQuery (English)" 

>
>   Date:       07/08/2009 03:01 PM

>
>   Subject:    [jQuery] Re: Cannot disable div

>
> What is up with the repeated posts?  Seems to happen on any topic you
> are involved in
>
>  graycol.gif
> < 1KViewDownload
>
>  ecblank.gif
> < 1KViewDownload

<><>

[jQuery] Re: listmenu plugin: non-ascii characters

2009-07-08 Thread Jack Killpatrick

Hi Dave,

I have a few things penciled out to add to the plugin, but haven't had a 
chance to get to them yet. I have your email from a while ago with the 
mockup of your idea ( 
http://img266.imageshack.us/img266/618/listmenuz.png ), thanks very much 
for that, it seems like a good approach.


Thanks,
Jack

Dave wrote:

Have there been any progress in this matter?


On Jun 8, 11:09 pm, Jack Killpatrick  wrote:
  

Hi,

I considered building something like that in, but decided I didn't know
enough about other languages to decide how best to handle them. Thanks
for starting the dialog. Does anyone else have any opinion on this?

The main thing I'm wondering is whether collecting them all under one
nav item would, in some cases, result in *many* things ending up there
and not many things left under the individual letters (depends on how
many items start with these kinds of chars).

Also, I think that # would mean "starts with a number" to most people,
but numbers are already handled via the optional [0-9] nav item. If not
#, then what else might make sense?

On a related note: does anyone know offhand if high ascii chars like
these can be used as CSS class names? I haven't ventured into
researching that yet.

Thanks,
Jack



Dave wrote:


Hi
  
In the example below there are non ascii characters, and as it is now

listmenu just ignores them. Maybe a solution could be to collect them
under a "#" tab.
  


Agilityhunden
Aktivitetsbollen
BIO Shampoo
Oxsvans
Pipleksak - Groda
Vovex Balsam
Ädelsten
Ögonsten

  
Cheers- Hide quoted text -
  

- Show quoted text -



  




[jQuery] Re: iTunes for flash games - done in jQuery

2009-07-08 Thread BaBna

Quite impressive, good job!  Just spent 20 minutes on one of the
games :P
2 things: at some stage in the sign up process, there are 2 buttons to
accept/confirm or not in a dialog box, and I couldn't see the text
(below the end of the box). I use FF3 on PC.
And also I could move the floating control box beside the game (which
controls full screen, etc...) under the top and bottom menus: you
should maybe constrain it in this area with the containment option -
if you use draggable from the UI.

On Jul 8, 8:13 pm, ajk47  wrote:
> Would love some feedback on my new Ajax/JS web app -http://www.gambolio.com
> - which was coded using jQuery.
>
> I am hugely grateful for the jQuery creators without whom doing this
> app would have been a lot harder.
>
> Thanks guys


[jQuery] Re: Cannot disable div

2009-07-08 Thread expresso

Because I refresh the page here and it reposts it.  I didn't build
this forum.  Mabye someone should fix that.

On Jul 8, 2:11 pm, Michael Lawson  wrote:
> Maybe a mail rule setup wrong?
>
> cheers
>
> Michael Lawson
> Development Lead, Global Solutions, ibm.com
> Phone:  1-276-206-8393
> E-mail:  mjlaw...@us.ibm.com
>
> 'Examine my teachings critically, as a gold assayer would test gold. If you
> find they make sense, conform to your experience, and don't harm yourself
> or others, only then should you accept them.'
>
>   From:       MorningZ                                    
>                                                    
>
>   To:         "jQuery (English)"                  
>                                                    
>
>   Date:       07/08/2009 03:01 PM                                             
>                                                    
>
>   Subject:    [jQuery] Re: Cannot disable div                                 
>                                                    
>
> What is up with the repeated posts?  Seems to happen on any topic you
> are involved in
>
>  graycol.gif
> < 1KViewDownload
>
>  ecblank.gif
> < 1KViewDownload


[jQuery] Re: getting a single radio button value...

2009-07-08 Thread Met00 - Met00Cigar

Okay, I solved it... For anyone who needs the answer in the future I
have updated the code below with the working javascript.

On Jul 7, 4:25 pm, Met00 - Met00Cigar  wrote:
> Every time a radio button is pressed the system will grab certain data
> and send it via ajax to the server (providing a click path). In test I
> am loading the data to another div. I have been able to get everything
> BUT the value (I am able to capture the hidden fields and serialize
> all the data - and I am showing the current "date" in the test so I
> can verify that it's working).
>
> Any help in getting the serialized button that was just clicked (or
> just the value and I can create the serialized data from that) would
> be appreciated.
>
> [sample code that works to a great degree at this point below ]
>
> 
>  script>
>