[jQuery] Re: jQuery Corner Demo

2007-08-10 Thread Ganeshji Marwaha
That is what i tried to tell... guess it came out wrong. :-) -GTG On 8/10/07, Mike Alsup <[EMAIL PROTECTED]> wrote: > > > Hi Ganeshji, > > FYI, it's the same plugin on both of our sites. Dave is the original > author and mastermind behind it all. We collaborated on some of the > additional effe

[jQuery] Re: jQuery Corner Demo

2007-08-10 Thread Mike Alsup
Hi Ganeshji, FYI, it's the same plugin on both of our sites. Dave is the original author and mastermind behind it all. We collaborated on some of the additional effects. The "official" version can be found here: http://jqueryjs.googlecode.com/svn/trunk/plugins/corner/jquery.corner.js Cheers!

[jQuery] Re: jQuery Corner Demo

2007-08-10 Thread Ganeshji Marwaha
just so u know... the plugin has since been improved and you might want to see this demo page as well with a lot more effects. http://www.malsup.com/jquery/corner/ -GTG On 8/9/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > Hi, > > I'm new to the group and thought I would share a really h

[jQuery] Re: [NEWS] jQuery Team Member Jörn Zaeffere r in Javamagzin

2007-08-10 Thread Ganeshji Marwaha
cool... congrats Jörn... jQuery goes well with java. I know there is no context in what i am talking, but just said so because, i am using jquery with java. I just wish someone develops a dwr like plugin for jquery, before i start doing something like that... -GTG On 8/10/07, Sean Catchpole <[E

[jQuery] Re: SITE SUBMISSION: http://www.thor.be/creations.php

2007-08-10 Thread Ganeshji Marwaha
awesome. very cool and well done... -GTG On 8/8/07, Alexandre Plennevaux <[EMAIL PROTECTED]> wrote: > > Friends, > > i'm very pleased to inform you about the fresh release of Belgian > contemporary dance *Compagnie Thor* new website: http://www.thor.be/ > > > use of jquery for: > > - layouting vi

[jQuery] Re: Create excel file from table data

2007-08-10 Thread Bil Corry
Glen Lipka wrote on 8/10/2007 10:34 AM: Yes. Specifically a table. You can even add CSS backgrounds, and borders which Excel picks up too. (Assuming the headers say its excel) And you can tell Excel how to format the data, for example to display a US zip code: 07643 Or a date:

[jQuery] Re: wildcards and onclick

2007-08-10 Thread Klaus Hartl
seedy wrote: I do see that the typeof returns 'function'. Does this mean it will never work with *= ? Of interest, if I change that function like so: $('input:image').each(function() { alert(typeof $(this).attr('onclick')); }); It alerts 'string'. Not sure if that is helpful just thou

[jQuery] Re: Using jQuery to parse a string

2007-08-10 Thread Andy Matthews
K...That's what I thought. Thanks. _ From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sean Catchpole Sent: Friday, August 10, 2007 4:06 PM To: jquery-en@googlegroups.com Subject: [jQuery] Re: Using jQuery to parse a string Just the current item. If your array was

[jQuery] Re: Using jQuery to parse a string

2007-08-10 Thread Sean Catchpole
Just the current item. If your array was [1,2,3] and function foo(x) $.each would call: foo(1), foo(2), and foo(3) ~Sean On 8/10/07, Andy Matthews <[EMAIL PROTECTED]> wrote: > > So passing in x to the function actually passes in the WHOLE array of > objects? Or just the current item? > > -

[jQuery] Re: wildcards and onclick

2007-08-10 Thread seedy
I do see that the typeof returns 'function'. Does this mean it will never work with *= ? Of interest, if I change that function like so: $('input:image').each(function() { alert(typeof $(this).attr('onclick')); }); It alerts 'string'. Not sure if that is helpful just thought it was inte

[jQuery] Re: wildcards and onclick

2007-08-10 Thread Klaus Hartl
Klaus Hartl wrote: seedy wrote: When I try to use a wildcard to search for characters in an onclick attribute it doesnt appear to work. I think this syntax is correct $('input:[EMAIL PROTECTED]') I know there is a bug with onclick in 1.1.3.1, is this somehow related? I assume that you c

[jQuery] Re: pagination

2007-08-10 Thread Web Specialist
Eridius jqGrid could be an option for you: this plugin haves a very nice pagination(recordset) example using ajax: http://trirand.com/jqgrid/jqgrid.html Cheers 2007/8/10, Benjamin Sterling <[EMAIL PROTECTED]>: > > I did not notice that, my bad. Not sure if there is one that works with > ajax

[jQuery] Re: Using jQuery to parse a string

2007-08-10 Thread Andy Matthews
So passing in x to the function actually passes in the WHOLE array of objects? Or just the current item? _ From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sean Catchpole Sent: Friday, August 10, 2007 3:35 PM To: jquery-en@googlegroups.com Subject: [jQuery] Re: Usin

[jQuery] Re: Using jQuery to parse a string

2007-08-10 Thread Sean Catchpole
Quick: x is each item of the array. Short: $.each is similar to Array.map $.each calls the function for each item in the array. If the function returns false then it stops. This is different from a map function in that a map function will replace the value in the array with what is returned by the

[jQuery] Re: Back Button Control and History Plugin

2007-08-10 Thread cfdvlpr
I've got this working pretty good right now, but there's one thing I can't get right. I notice in Firebug that the url is loading correctly, but when I look at the url in the address bar of my browser, this url gets long and is not right. I'm not sure how to fix this. Here's my code if anyone ca

[jQuery] Re: Back Button Control and History Plugin

2007-08-10 Thread Benjamin Sterling
I am using the history plug in on this site: http://airplume.informationexperts.com/, it pop open an new window when you enter the module, but the url is http://airplume.informationexperts.com/module.htm#m-1000 (it needs the log in tho, just your first and last name in a cookie) The structure is s

[jQuery] Re: JQuery populating div with AJAX

2007-08-10 Thread Benjamin Sterling
Steve, My bad, I knew load() would have suited you better, my brain just likes to think in the hardest way possible. :) Your code looks good. On 8/10/07, Steve Finkelstein <[EMAIL PROTECTED]> wrote: > > Hi! > > Thanks so much for the reply. > > This was the final set of code that I used that work

[jQuery] Re: Back Button Control and History Plugin

2007-08-10 Thread cfdvlpr
Glad to see I'm ot the only one. I'd still love to see a more complex example!

[jQuery] Re: JS enabled or not

2007-08-10 Thread Benjamin Sterling
Klaus, that is too simple, I think we need a full fledge plugin with all the bells and whistles :) I kid, but senzacionale, Klaus' suggestion is the best way to check if javascript is enabled or not and display a message if not. On 8/10/07, Klaus Hartl <[EMAIL PROTECTED]> wrote: > > > seedy wrote

[jQuery] Re: JQuery populating div with AJAX

2007-08-10 Thread Steve Finkelstein
Hi! Thanks so much for the reply. This was the final set of code that I used that worked great for me: $(document).ready(function() { $('.pendingUsers').load('foo.php'); setInterval(function() { $('.pendingUsers').load('foo.php'); }, 30); }); The first load is to inject

[jQuery] Re: wildcards and onclick

2007-08-10 Thread Klaus Hartl
seedy wrote: When I try to use a wildcard to search for characters in an onclick attribute it doesnt appear to work. I think this syntax is correct $('input:[EMAIL PROTECTED]') I know there is a bug with onclick in 1.1.3.1, is this somehow related? I assume that you can't just parse the con

[jQuery] Re: pagination

2007-08-10 Thread Benjamin Sterling
I did not notice that, my bad. Not sure if there is one that works with ajax. On 8/10/07, Eridius <[EMAIL PROTECTED]> wrote: > > > > Form what i have been told, this only works for placing data in divs and i > need one that work with ajax. > > bmsterling wrote: > > > > http://rikrikrik.com/jquery

[jQuery] Re: Using jQuery to parse a string

2007-08-10 Thread Andy Matthews
Sean... I have a question...when you pass in X to the anonymouse function on the 3rd line, what is x? Is it $(this), a jQuery object? How do you know what it is? _ From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sean Catchpole Sent: Friday, August 10, 2007 2:39 P

[jQuery] Re: SevenMagOnline.com Feature blocks

2007-08-10 Thread Andy Matthews
That's really nicely done Ganeshji. The animation is quite fluid. -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ty Sent: Friday, August 10, 2007 12:29 PM To: jQuery (English) Subject: [jQuery] Re: SevenMagOnline.com Feature blocks Thanks for

[jQuery] Re: JS enabled or not

2007-08-10 Thread Klaus Hartl
seedy wrote: This can be done by showing the message "This site requires javascript" by default. Then use jQuery to hide that message. If javascript is not enabled, your code to hide that message will not work and they will see the message. You could also simply use the noscript element:

[jQuery] Re: Using Wildcards to find specific ID on a page

2007-08-10 Thread David Williams
As far a working with the Yes/No radio buttons as generated from the radio button control on this page, the following worked well, and did not appear to be too slow. Fortunetly what I am during my event modifying is a Div tag, and not an item generated by a .net control. For that reason I can bin

[jQuery] wildcards and onclick

2007-08-10 Thread seedy
When I try to use a wildcard to search for characters in an onclick attribute it doesnt appear to work. I think this syntax is correct $('input:[EMAIL PROTECTED]') I know there is a bug with onclick in 1.1.3.1, is this somehow related? -- View this message in context: http://www.nabble.com/wi

[jQuery] Re: JS enabled or not

2007-08-10 Thread seedy
This can be done by showing the message "This site requires javascript" by default. Then use jQuery to hide that message. If javascript is not enabled, your code to hide that message will not work and they will see the message. senzacionale wrote: > > i found this > http://www.nabble.com/Bes

[jQuery] Re: Create excel file from table data

2007-08-10 Thread duma
I'll take this opportunity to announce an Excel reading-and-writing library for .Net that I've made available: Get the library http://pinkblack.org/excel_dotnet/ here ! I ported the code from a Java library called JExcelApi (thanks, you all!! ;-)) Keep creating! Sean Glen Lipka wrote: > >

[jQuery] Re: pagination

2007-08-10 Thread Eridius
Form what i have been told, this only works for placing data in divs and i need one that work with ajax. bmsterling wrote: > > http://rikrikrik.com/jquery/pager/#examples > > On 8/10/07, Eridius <[EMAIL PROTECTED]> wrote: >> >> >> >> I was wonding is a plug exist for jquery to handle pagintion

[jQuery] Re: Autocomplete

2007-08-10 Thread duma
Wow, this one is good! I especially like the boldening of the search term. It locks up Maxthon for some reason, though. Ie7 works fine, though. Sean Rey Bango-2 wrote: > > > Hi Erik, > > Correct on the URL: > http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/ > > Chali, t

[jQuery] Re: Autocomplete

2007-08-10 Thread duma
The first link is to the base plugin that I modified. The second link is to the version of autocomplete that I use, which includes my modifications Take care, Sean Jean Nascimento wrote: > > > that link is yours version of autocomplete? > > -- View this message in context: http://www.n

[jQuery] [NEWS] Great Book Review of Learning jQuery

2007-08-10 Thread Rey Bango
It looks like you can add Ajaxian to the list of folks that are raving about Jonathan Chaffer and Karl Swedberg's new book, "Learning jQuery". They've posted a very positive article about the book. Be sure to check it out here: http://ajaxian.com/archives/review-of-learning-jquery Great wor

[jQuery] Re: "scollovers" animation

2007-08-10 Thread Klaus Hartl
Stephan Beal wrote: Hiya! i just found this via digg: http://www.scrollovers.com/ and i thought that might be a tempting animation effect for one of the more talented plugin authors out there. The implementation code is 175 lines long, but i'd bet that one of you jQuery gurus can get it down

[jQuery] Re: Using jQuery to parse a string

2007-08-10 Thread Sean Catchpole
Hi, This might be a fancier solution: var s = "title.string1-color.string2-size.string3"; h={}; $.each(s.split('-'),function(x){ var t = x.split('.'); h[ t[0] ] = t[1]; }); ~Sean On 8/10/07, cfdvlpr <[EMAIL PROTECTED]> wrote: > > > That's just the kind of help I needed. Here's what I hav

[jQuery] Re: [Announce] jQuery Reference Guide available for pre-order

2007-08-10 Thread Karl Swedberg
On Aug 10, 2007, at 1:50 PM, Bernd Matzner wrote: Is there to be a PDF version of this? Yeah, too bad there's not an ebook available (yet?). Hope it's as good the the Learning jQuery book ;-), which, btw, was just reviewed at http://blogs.pathf.com/agileajax/2007/08/book-review-lea.html and f

[jQuery] Re: Problem with animation on mouseover/mouseout!

2007-08-10 Thread Nazgulled
It doesn't really work as expected. Let's say you increase the time it takes to do the animation (it's easier to see the problem). You move the mouse over, then out and then back over, all this while the first "mouse over animation" is being executed. You'll notice that the "mouse out" animation w

[jQuery] Form plugin, packable?

2007-08-10 Thread Josh Nathanson
Hey all, Just downloaded the official Form plugin, and I notice there is not a packed version anywhere that I can find. I can pack it myself of course, but I'm just wondering if there's a reason that there's not a packed version anywhere - is there an issue with packing this particular plugi

[jQuery] Re: JQuery populating div with AJAX

2007-08-10 Thread [EMAIL PROTECTED]
Hi Steve, What about this example? $('#div-id').load('url.php'); More info can be found here: http://docs.jquery.com/Ajax#load.28_url.2C_params.2C_callback_.29 Good luck! Rick

[jQuery] Re: Excluding an element part of a selection

2007-08-10 Thread Klaus Hartl
Dan G. Switzer, II wrote: yes, sorry, it works if you include the for="" bit.. if you leave it out (and write it like this, which is also 100% valid), clicking on the label won't work in ie6.. not sure about ie7.. in firefox it works: Name That's why I just always specify the "for". I

[jQuery] Re: Problem with animation on mouseover/mouseout!

2007-08-10 Thread Ganeshji Marwaha
I have put together a demo. http://www.gmarwaha.com/test/other/testHoverAnchorInAndOutFast.html Have fun, and lemme know if this works for u. -GTG On 8/10/07, Nazgulled <[EMAIL PROTECTED]> wrote: > > > I think I understood what you said, but I just can't find a way to > code it... Coud you prov

[jQuery] Re: pagination

2007-08-10 Thread Benjamin Sterling
http://rikrikrik.com/jquery/pager/#examples On 8/10/07, Eridius <[EMAIL PROTECTED]> wrote: > > > > I was wonding is a plug exist for jquery to handle pagintion? > -- > View this message in context: > http://www.nabble.com/pagination-tf4250056s15494.html#a12095618 > Sent from the JQuery mailing lis

[jQuery] Re: jCarousel Lite - version 1.0

2007-08-10 Thread Ganeshji Marwaha
>> Awesome work. I'm now thinking to port this nice plugin to as a module >> in open source application like joomla. @Mike - Thanks, and that would be cool... >> Hi Ganeshji, Hey is it possible to have the presentation vertical, say >> three thumbnails tall, and then have it animate horizontally

[jQuery] Re: SevenMagOnline.com Feature blocks

2007-08-10 Thread Ganeshji Marwaha
np, my next job is to make that into a good and usable plugin over the weekend :-) -GTG On 8/10/07, Ty <[EMAIL PROTECTED]> wrote: > > > Thanks for that prototype Ganeshji, it seems to be working just about > right. > > On Aug 4, 3:27 pm, "Ganeshji Marwaha" <[EMAIL PROTECTED]> wrote: > > Hey Ty,

[jQuery] Re: [Announce] jQuery Reference Guide available for pre-order

2007-08-10 Thread Bernd Matzner
> Is there to be a PDF version of this? Yeah, too bad there's not an ebook available (yet?). Hope it's as good the the Learning jQuery book ;-), which, btw, was just reviewed at http://blogs.pathf.com/agileajax/2007/08/book-review-lea.html and featured at http://ajaxian.com/archives/review-of-lea

[jQuery] Re: Autocomplete

2007-08-10 Thread Dylan Verheul
> Kai, autocomplete does not require you to pick an item from the list. > It's a suggestion. There is however an option that forces you to pick > from the list and disallows non-list choices. I forgot: but this option is not implemented in Jörn's version. Dylan

[jQuery] Re: Autocomplete

2007-08-10 Thread Dylan Verheul
On 8/10/07, Kai Kuehne <[EMAIL PROTECTED]> wrote: > > Forgot something: > > On 8/9/07, Dylan Verheul <[EMAIL PROTECTED]> wrote: > > IMHO it shouldn't be a default in local mode, but I don't know if this > > was deliberate or not. > > I also disagree here. E.g., if there is one entry in the list, t

[jQuery] Re: SevenMagOnline.com Feature blocks

2007-08-10 Thread Ty
Thanks for that prototype Ganeshji, it seems to be working just about right. On Aug 4, 3:27 pm, "Ganeshji Marwaha" <[EMAIL PROTECTED]> wrote: > Hey Ty, > > Did a quick prototype of what you might be expecting. I have hosted it > athttp://www.gmarwaha.com/jquery/slidingmenu/test/test.html > > Thi

[jQuery] pagination

2007-08-10 Thread Eridius
I was wonding is a plug exist for jquery to handle pagintion? -- View this message in context: http://www.nabble.com/pagination-tf4250056s15494.html#a12095618 Sent from the JQuery mailing list archive at Nabble.com.

[jQuery] Re: Using jQuery to parse a string

2007-08-10 Thread cfdvlpr
That's just the kind of help I needed. Here's what I have now that works perfectly: var sArr = s.split('-'); h = {}; h['title'] = sArr[0].replace(/^.*\./,''); h['color'] = sArr[1].replace(/^.*\./,'')

[jQuery] Re: Excluding an element part of a selection

2007-08-10 Thread Dan G. Switzer, II
>yes, sorry, it works if you include the for="" bit.. if you leave it out >(and write it like this, which is also 100% valid), clicking on the >label won't work in ie6.. not sure about ie7.. in firefox it works: > > > Name > > That's why I just always specify the "for". I think I've run into

[jQuery] Re: IE and Making dynamically added items draggable?

2007-08-10 Thread Fredrik Karlsson
Found the following ticket which might be related... http://dev.jquery.com/ticket/1315 Starting to think I'm out of luck, but if that's the case I'll try to replace the whole thing and use sortables instead.

[jQuery] Re: Using jQuery to parse a string

2007-08-10 Thread Andy Matthews
You could split the string on ".". That would create an array which you could then do things with: var s = 'title.string1-color.string2-size.string3'; Var sArr = s.split('.'); Alert(sArr); Returns "title,string1-color,string2-size,string3" -Original Message- From: jquery-en@googlegroup

[jQuery] Using jQuery to parse a string

2007-08-10 Thread cfdvlpr
I want to parse a string of the following form: var s = title.string1-color.string2-size.string3 How do I create a struct with the three strings? h = {}; h['title'] = s.match() h['color'] = s.match() h['size'] = s.match() Can you help me do the rest? Would I just want to use the .match java

[jQuery] Re: jCarousel Lite - version 1.0

2007-08-10 Thread Ty
Hi Ganeshji, Hey is it possible to have the presentation vertical, say three thumbnails tall, and then have it animate horizontally to slide three new thumbnails into place. I haven't seen an example for that type of a setup, still looking them over though. Nice work. thanks. On Aug 9, 3:20 pm, "

[jQuery] Re: Autocomplete

2007-08-10 Thread Jean
that link is yours version of autocomplete?

[jQuery] Re: CSS and DIV position

2007-08-10 Thread Andy Matthews
Take a look at the dimensions plugin. That will probably do everything you need/ -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Friday, August 10, 2007 11:04 AM To: jQuery (English) Subject: [jQuery] CSS and DIV position

[jQuery] Re: populate div with ajax inquiry

2007-08-10 Thread Jean
i think u want this $(#div_id).load('url.php',{somedata: or_nothing}, function(){ alert('Loaded'); }); On 8/10/07, Steve Finkelstein <[EMAIL PROTECTED]> wrote: > Hi all > > I'm looking to populate a div with information from a database ... don't > want to pass any parameters to the serverside sc

[jQuery] CSS and DIV position

2007-08-10 Thread [EMAIL PROTECTED]
Hi people, I would like to develop a web application that would let users configure their own page, ie, they have a certain number of divs available and they can drag it all over the page to the position they desire. So I would like to know how to retrieve the div positions once the configutation

[jQuery] Re: Excluding an element part of a selection

2007-08-10 Thread spinnach
Dan G. Switzer, II wrote: Denis, /> Novedad 1: HOla holaaa If you click on the text "Novedad 1: HOla holaaa" the browser will behave as if you clicked on the checkbox itself. -Dan just as a side-note, this does not work in ie6.. Say what? It works fine for me: http://www.pengowo

[jQuery] Re: Autocomplete

2007-08-10 Thread duma
Hi! I've been using this one: http://www.pengoworks.com/workshop/jquery/autocomplete.htm I like it. It's simple and straightforward and doesn't have a lot of overhead. But of course, I ended up adding features :-) Here's a list of changes I made, in case someone's interested: Updates to jq

[jQuery] Re: Using Wildcards to find specific ID on a page

2007-08-10 Thread David Williams
Wow fast responses to this group, I am impressed. Thanks. Brandon: Yes I used your second suggestion. The full line binds a click event to hide/show a span $('[EMAIL PROTECTED]').click(function() { $ ('#spnShowHideDemo').toggle(); }); Karl: Yes you may correct about the size of the

[jQuery] Re: JQuery populating div with AJAX

2007-08-10 Thread Benjamin Sterling
Either way you should wrap it in a $(document).ready, but you can put the ajax call into it's own function and call in in the setInterval. On 8/10/07, Steve Finkelstein <[EMAIL PROTECTED]> wrote: > > Benjamin, > > Thank you kindly again. > > One last inquiry. Do I pop that into a separate script?

[jQuery] Re: Excluding an element part of a selection

2007-08-10 Thread Dan G. Switzer, II
Denis, >> >> /> >> Novedad 1: HOla holaaa >> >> >> If you click on the text "Novedad 1: HOla holaaa" the browser will behave >as >> if you clicked on the checkbox itself. >> >> -Dan > >just as a side-note, this does not work in ie6.. Say what? It works fine for me: http://www.pengoworks.co

[jQuery] Re: Partial Accordion Possible?

2007-08-10 Thread Sam Collett
That doesn't collapse anything initially. If you click on 'Heading 2' or 'Heading 3' it actually collapses 'No sub items here' and 'Or here' (which should always show). On Aug 10, 4:20 pm, "Sean Catchpole" <[EMAIL PROTECTED]> wrote: > On 8/10/07, Sam Collett <[EMAIL PROTECTED]> wrote: > > >http:/

[jQuery] Re: Using jQuery on an AJAX called page

2007-08-10 Thread Klaus Hartl
Mystagogos wrote: I have a question on using jQuery in a page that I call using AJAX. I am using Klaus Hartl's "tabs" plug-in and using its AJAX capability. My problem is this. Clicking on a tab gives me a form that I have wrapped in a div tag. That form needs to use jQuery's form plug-in and

[jQuery] Re: Problem with animation on mouseover/mouseout!

2007-08-10 Thread Nazgulled
I think I understood what you said, but I just can't find a way to code it... Coud you provide me with a simple example on how to do it? Let's say I have the following code: $("a#testlink").mouseover(function() { $("div#testbox").animate({ color: '#00' }, 1000); }); $("a#testlink").m

[jQuery] Re: Excluding an element part of a selection

2007-08-10 Thread spinnach
Dan G. Switzer, II wrote: David, I have a question about selectors. First of all, I have the following html: Novedad 1: HOla holaaa As you can see, I have a div an inside it a link which has a

[jQuery] Re: ContextMenu plugin - right click menu

2007-08-10 Thread Dan G. Switzer, II
Terry, >Well since I did not see any contact info on the page, I will just >post here. I like this plugin but at least one bug and at least one >suggestion. > >Referring to the plugin found here: >http://www.trendskitchens.co.nz/jquery/contextmenu/ > >1) If you use jquery with no conflict like I

[jQuery] Re: min max in array

2007-08-10 Thread Klaus Hartl
Rob Desbois wrote: Your trusty friend 'Google' is usually the best way for this! A quick search on javascript array max yields a useful result from none other than John: http://ejohn.org/blog/fast-javascript-maxmin/ Cool, I knew I had seen it before.. and even cooler it was from John himself

[jQuery] Re: Internet Explorer and height()

2007-08-10 Thread Gordon
And here's a more fixed version that does handle resize. :) var myDiv = $('#myDiv'); // Fixes an IE bug where percentages are used to define the height of the container if ($.browser.msie) { var ieHeight= myDiv.css ('height'); if (ieHeight.match ('%')) {

[jQuery] Re: JQuery populating div with AJAX

2007-08-10 Thread Steve Finkelstein
Benjamin, Thank you kindly again. One last inquiry. Do I pop that into a separate script? Possible just throw it inside of a $(document).ready() wrapper? On 8/10/07, Benjamin Sterling <[EMAIL PROTECTED]> wrote: > > Not entirely sure what you are saying but you can do something like: > > setInter

[jQuery] Re: min max in array

2007-08-10 Thread Klaus Hartl
Simpel wrote: Hi there! not really a jquery question this maybe but hopefully someone will answer it anyway... I've got an array with different productprices. I'd like to get the highest and lowest price out of this array. What's the best way to do this? /J A little less known that is, the M

[jQuery] Re: Excluding an element part of a selection

2007-08-10 Thread Dan G. Switzer, II
David, > I have a question about selectors. First of all, I have the >following html: > > >name="option1" >value="Novedad1"> Novedad 1: HOla holaaa > > > > > As you can see, I have a div an inside it a link

[jQuery] Re: Excluding an element part of a selection

2007-08-10 Thread spinnach
you could try something like this: $('#content a').click(function (event){ if (!$(event.target).is('input:checkbox')) { //do something.. } }); p.s. i'm not sure if it's valid to have a checkbox inside a link ? dennis. Rob Desbois wrote: I'm not sure how to do this as it stands - I've

[jQuery] Re: min max in array

2007-08-10 Thread Rob Desbois
Your trusty friend 'Google' is usually the best way for this! A quick search on javascript array max yields a useful result from none other than John: http://ejohn.org/blog/fast-javascript-maxmin/ --rob On 8/10/07, Simpel <[EMAIL PROTECTED]> wrote: > > > Hi there! not really a jquery question thi

[jQuery] Re: Excluding an element part of a selection

2007-08-10 Thread Rob Desbois
I'm not sure how to do this as it stands - I've never been particularly au fait with text nodes and how to work with them. However, a possible solution is to put the text next to the checkbox in a and then attach the click event to that. --rob On 8/9/07, David Garcia Ortega <[EMAIL PROTECTED]>

[jQuery] Re: Am I missing something dumb?

2007-08-10 Thread Karl Swedberg
On Aug 10, 2007, at 11:25 AM, Klaus Hartl wrote: Karl Swedberg wrote: Using $('#myId'), jQuery will only select the first element in the DOM with that id, since there is only supposed to be one. I'd like to note, that it's not even jQuery that is responsible for this behaviour, it's the un

[jQuery] Re: Create excel file from table data

2007-08-10 Thread Glen Lipka
On 8/9/07, polyrhythmic <[EMAIL PROTECTED]> wrote: > > > Glen: Excel will parse pure html tagged as an xls? If it's easier > than .CSV converting, I have to implement this for a customer. > > Yes. Specifically a table. You can even add CSS backgrounds, and borders which Excel picks up too. (Assum

[jQuery] Re: Problem keeping swap image from mouseout

2007-08-10 Thread Benjamin Sterling
Frank, Can you elaborate a little bit or post what you have? Sounds like what you need to do, assuming once the user clicks on the image2 that the rollover disappears, is something like: $('#myimg').hover(function(){ $(this).attr('src','image2'); }, function(){ $(this).attr('src','image1'); }) .c

[jQuery] Re: Using Wildcards to find specific ID on a page

2007-08-10 Thread Karl Swedberg
On Aug 10, 2007, at 11:10 AM, David Williams wrote: Summary: I am new to JQuery. Is it possible to search for a element by ID using a wildcard? Something like this where "*" indicates a wildcard? $('#*btnTest') You could try $('[EMAIL PROTECTED]') Warning, if you have a lot of DOM elemen

[jQuery] Re: Am I missing something dumb?

2007-08-10 Thread Klaus Hartl
Karl Swedberg wrote: Using $('#myId'), jQuery will only select the first element in the DOM with that id, since there is only supposed to be one. I'd like to note, that it's not even jQuery that is responsible for this behaviour, it's the underlying DOM method document.getElementsById implem

[jQuery] Re: Using Wildcards to find specific ID on a page

2007-08-10 Thread Brandon Aaron
You could use either of these attribute selectors: - [EMAIL PROTECTED] an E element whose "foo" attribute value ends exactly with the string "bar" - [EMAIL PROTECTED] an E element whose "foo" attribute value contains the substring "bar" So your query would look like this: $('[EMAIL P

[jQuery] Re: JQuery populating div with AJAX

2007-08-10 Thread Benjamin Sterling
Not entirely sure what you are saying but you can do something like: setInterval(function(){ $.ajax({ type: "POST", url: "some.php", success: function(msg){ $('myDiv).text(msg); } }); }, 1000); On 8/10/07, Steve Finkelstein <[EMAIL PROTECTED]> wrote: > > Benjamin, > > I believe you

[jQuery] Re: Am I missing something dumb?

2007-08-10 Thread Klaus Hartl
JJ wrote: I am a newbie (and very much a convert) to JQuery but have spent all afternoon bashing my head against a brick wall with this one. I want to show hide (or in the example, change the class) of a single element in an array of DIV's). Whatever I do, I can only reference the first one, a

[jQuery] Re: Partial Accordion Possible?

2007-08-10 Thread Sean Catchpole
On 8/10/07, Sam Collett <[EMAIL PROTECTED]> wrote: > http://www.texotela.co.uk/accordiontest.php You could try this: $("#menu").Accordion({header:'li.haschildren[strong]'}); ~Sean

[jQuery] Using Wildcards to find specific ID on a page

2007-08-10 Thread David Williams
Summary: I am new to JQuery. Is it possible to search for a element by ID using a wildcard? Something like this where "*" indicates a wildcard? $('#*btnTest') Background: I develop in ASP.Net. The button in question exist in a user control, which when placed on a page modifies the generated

[jQuery] Re: Am I missing something dumb?

2007-08-10 Thread Karl Swedberg
bbb ccc ddd I think what you're missing is that HTML doesn't allow for multiple elements with the same id. You should try running your page through a validation tool such as the one at http://validator.w3.org/ and try to fix errors in the markup first. Using $('#myId'), jQuery w

[jQuery] Re: John's Pager - best plugin no one uses?

2007-08-10 Thread agent2026
Not as far as I know. If you search the group, you'll find the thread John posted it in. Anyway, problem solved! I didn't really spend too much time looking to be honest, and handed it off to my intern in the hopes of keeping him occupied for a couple hours. Half an hour later he came back to

[jQuery] Re: JQuery populating div with AJAX

2007-08-10 Thread Steve Finkelstein
Benjamin, I believe you understood properly, yes! I'm not sending the server any information, just receiving back information from a database which is influenced from other sources, not this application. I'll have to lookup SetInterval syntax, thanks for the pointer. Is it wise to try the excerp

[jQuery] Re: Internet Explorer and height()

2007-08-10 Thread Brandon Aaron
Ahh nice work. :) -- Brandon Aaron On 8/10/07, Gordon <[EMAIL PROTECTED]> wrote: > > > I gave it a bit more thought and came up with this idea. It's not > perfect, the div will be size locked after it executes so some resize > event molarky will be necessary, but it does have the advantage that

[jQuery] Re: Internet Explorer and height()

2007-08-10 Thread Gordon
I gave it a bit more thought and came up with this idea. It's not perfect, the div will be size locked after it executes so some resize event molarky will be necessary, but it does have the advantage that it uses the size specified in the stylesheet if it happens to be a percentage if ($.browser

[jQuery] Re: Am I missing something dumb?

2007-08-10 Thread Andy Matthews
Have any code you could show us? I'm betting you need to look into the "each" method of jQuery. andy -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of JJ Sent: Thursday, August 09, 2007 11:24 AM To: jQuery (English) Subject: [jQuery] Am I missin

[jQuery] Re: JQuery populating div with AJAX

2007-08-10 Thread Benjamin Sterling
Steve, You ultimately don't need to send params to the server side page, you will just need to account for the returned information. $.ajax({ type: "POST", url: "some.php", success: function(msg){ alert( "Data Saved: " + msg ); } }); the success is where you would put your function to

[jQuery] Re: jQuery Corner Demo

2007-08-10 Thread Andy Matthews
Matt... Dave Methvin, the author of that plugin is on this very list. Good post. andy -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Thursday, August 09, 2007 10:56 PM To: jQuery (English) Subject: [jQuery] jQuery Cor

[jQuery] Re: Partial Accordion Possible?

2007-08-10 Thread Sam Collett
I have set up a test page: http://www.texotela.co.uk/accordiontest.php If I click several times on each heading, it freezes the browse (be it Firefox or IE). On Aug 10, 3:09 pm, "Sean Catchpole" <[EMAIL PROTECTED]> wrote: > Hi Sam, > > With your html I was able to get this to work: > $('#menu').

[jQuery] Problem keeping swap image from mouseout

2007-08-10 Thread Frank
I am not sure if anyone can solve this problem, however, I am trying to keep the rollover image2 if the user clicks on image2. However on mouseout, it reverts back to image1. I have tried different coding and I am tripped up everytime. Frank

[jQuery] Re: Translate a website using XML file : how to parse xml with Jquery ?

2007-08-10 Thread Benjamin Sterling
Benoit, I had to do the same thing for a couple a sites and did something like: var docXML = Arrya(); loadXml = function(xmlFile, index, func){ try{ $.ajax({ url: xmlFile, dataType: 'xml', async : false, success: fu

[jQuery] Re: SITE SUBMISSIONS: doublerebel.com, villaappiaapts.com

2007-08-10 Thread Tane Piper
Very Slick!!! On 8/9/07, polyrhythmic <[EMAIL PROTECTED]> wrote: > > It is my honor to announce the launch of Double Rebel (http:// > www.doublerebel.com), my personal design studio. jQuery has allowed > me to design my cross-browser web presence in record time. It is > still a bit light on de

[jQuery] JQuery populating div with AJAX

2007-08-10 Thread Steve Finkelstein
Hi all I'm looking to populate a div with information from a database ... don't want to pass any parameters to the serverside script, just want the div updated according to my query if the db record sets are modified, is .ajaxStart() the appropriate function for this? I'm basically looking to ha

  1   2   >