[jQuery] Re: next() problems

2007-08-31 Thread Sean
hat you don't expect. Selecting the next matching element makes more sense. Sean On Aug 31, 11:08 am, Karl Swedberg <[EMAIL PROTECTED]> wrote: > Hi Sean, > > Actually, you can't use .next() in that situation. > > The argument for .next() acts as a filter for what the

[jQuery] Registration Point

2009-07-27 Thread sean
Hi Everyone, I am trying to get images to animate from the center in height and width. I can get the animation to work but can't find anywhere how to get it to work from the central point! Hopefully someone can help me here. Thanks Sean

[jQuery] IE8 bug/behavior: HTML Selects (DispHTMLOptionElement) and JQuery Form and Validation

2009-08-03 Thread Sean
My JQuery POST is supposed to re-render new content in the Lightbox, but this was not happening in IE8 and IE8 Document Mode. Would work in IE8 Browser Mode and IE7 Document Mode. Turns out there is something odd about how an HTML Select Option on the form was handled. Regardless of how I define

[jQuery] Using a selector recursively

2009-05-21 Thread sean
I have the following code: Test1 Logout var obj = $('test'); // used specific div, as this is in a huge document obj.find('.ajaxApplyIgnore a').addClass('red'); The js code above will not select the Test1 link, even though it is found within the div layer with the aj

[jQuery] Re: Using a selector recursively

2009-05-21 Thread sean
I forgot the '#' sign in the sample code I provided. The problem I am having is that the code does not work. For some reason, If i remove the tags, it works, but keeping them in makes it not work.

[jQuery] Re: Using a selector recursively

2009-05-26 Thread sean
n a > $(document).ready(function(){ ... }); ? > > On Thu, May 21, 2009 at 16:49, sean wrote: > > > I forgot the '#' sign in the sample code I provided. > > > The problem I am having is that the code does not work. For some > > reason, If i remove the tags, it works, but keeping them in > > makes it not work.

[jQuery] html method is inserting html as escaped markup (html source)

2009-11-22 Thread sean
using: $("#modal_content").append("Some html, tags should not be visible."); Does anyone know why this might be? On other ajax requests (not with uploads) the dom manipulation works as expected Thanks, Sean

[jQuery] Simple .load does not work in IE7

2007-05-16 Thread Sean
jQuery Example $(document).ready(function(){ $("#ajax").click(function(){ $("#quote p").load("test2.html"); }); }); test2.html Why won't you work? Any clues would be greatly appreciated. I cannot figure out what I'm doing wrong :( Thanks, Sean

[jQuery] Re: Simple .load does not work in IE7

2007-05-16 Thread Sean
IE. > > did you try the not-packed version? the error might not be in your code, but > in the jquery.js file. > > http://cigar.dynalias.org/test1.htmluses my latest version (packed) > > > > > Of course you have 2 s ... but that's because you have a p in 1 and

[jQuery] Re: Simple .load does not work in IE7

2007-05-16 Thread Sean
k on the net, maybe some IE user can hit it... the code > looked good to me, and runs for me on Opera, Firefox & Safari. > > On 5/16/07, Sean <[EMAIL PROTECTED]> wrote: > > > > > > > I just tried it on a different computer, using the exact same code >

[jQuery] Re: Simple .load does not work in IE7

2007-05-17 Thread Sean
Well thank you all for working so hard on this. It certainly is a bit frustrating. I think I understand the post about standards...maybe you're not supposed to put a inside a ? :p Anyway, Jake, you're test3 works fine for me on your site and locally, and that is a perfectly acceptable work aro

[jQuery] TreeView

2007-05-30 Thread sean
work, it probably has to do with the enclosing . I have hardly any experience with IE bugs, so maybe somebody could take a short look at the page and give me a hint on what might be wrong. cheers, Sean

[jQuery] setInterval method call with parameters not working

2008-11-23 Thread Sean
HI There, I'm trying to call a method using the setInterval function that call has some parameters but I can't get it to work. Can someone give me a hand with the syntax please. Sean slideshow_interval = setInterval( 'PageMethod("getNextSlideShowItem", ["

[jQuery] formatting splitting the response from the server using jquery syntax

2008-11-25 Thread Sean
Hi There, I'm getting a response back from a .net page. The response looks like this and is variable in length. What is the best way to handle this on the client using jquery syntax? Sean {"first": "slideshow/52/2.jpg","second": "slideshow/52/2_2.jpg"}

[jQuery] error when using ui.mouse.js

2008-12-16 Thread Sean
Hi There, I'm getting a weird error when I try to use this script ui.mouse.js in my page. The drag and drop functionality seems to be working fine it's just generating an error. Can someone tell me what i'm missing to initialize this? !-- error from firebug $.ui[module] has no properties add("

[jQuery] jQuery plugins & function calls

2009-03-03 Thread Sean
I have a jQuery plugin that adds a series of links to my page, and when each one is clicked, it should display the index of the link. The problem is that every link displays the string "11". This is because when I bind the click method, I pass in an actual function, which doesn't get interpreted

[jQuery] Re: How to un-inherit a function of a parent element?

2008-06-13 Thread Sean .
Thanks so much Richard, that's exactly what I was looking for! - Sean -- http://catalyticat.com 2008/6/13 Richard D. Worth <[EMAIL PROTECTED]>: > $('.child').click(function(e) { > e.stopPropagation(); > }); > > This will prevent the click event from bubbli

[jQuery] [Firefox Extension] jQuery Detect

2007-04-07 Thread Sean Catchpole
A while ago Jason Levine suggested a firefox extension be made to detect if a website is using jQuery. I accepted that challenge and finally had some time to work on it. Find the link below and give me your feedback. Keep in mind this is still very much beta, there are lots of bugs I have already

[jQuery] Re: document.getElementById

2007-04-10 Thread Sean O
Fabyo, Try: var teste = $("#obj"); alert(teste.scrollTop); You need the "#" prefix to designate an id. (and a "." prefix for class) Native elements, like body, can be directly addressed ( e.g. $("body") ) ___ SEAN O http:

[jQuery] Re: jQuery tutorial on IBM DeveloperWorks

2007-04-11 Thread Sean Catchpole
Looks great! I had no idea jQuery added: $('') !! I must be really behind times?! ~Sean

[jQuery] selecting elements containing colons

2007-04-14 Thread Sean Catchpole
I know that jQuery made the decision not to allow selection of elements with colons in them, however it is valid XML. Here is an example piece of code I am getting back from an ajax call: <news:special>Free chicken!news:special> Any ideas how I can select the news:special item? ~Sean

[jQuery] Re: Will this code enable & disable a submit button?

2007-04-16 Thread Sean Catchpole
quot;); $(form).find("[EMAIL PROTECTED]").attr("disabled", ""); This should also work to enable the element, but the best test is trial and error. ~Sean

[jQuery] Re: Calendar / Schedule Component.

2007-04-16 Thread Sean Catchpole
Google Calendar has several widgets/gadgets. ~Sean

[jQuery] Re: Bug : IE + slidetoggle + input radio

2007-04-16 Thread Sean Catchpole
Nash, do you have an example we can look at? ~Sean

[jQuery] Re: Will this code enable & disable a submit button?

2007-04-16 Thread Sean Catchpole
Rick, onInvalid: function(form) { Did you mean onInvalid = function(form){ Why are you declaring functions inside of your $(document).ready() ? Below I've attached working code, give it a try: ~Sean http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";> http://www.w3.o

[jQuery] Re: Library showdowns

2007-04-16 Thread Sean Catchpole
same effect, can you? ~Sean

[jQuery] Re: Library showdowns

2007-04-16 Thread Sean Catchpole
Interesting find Karl, Thanks I'm still trying to see if I can find a graceful way to implement curried functions, but that method is elegant in it's own sense. ~Sean

[jQuery] Re: Library showdowns

2007-04-16 Thread Sean Catchpole
x27;s tedious. I'm trying to come up with a trickier way so that it's not so painful to create a curried function in javascript. ~Sean

[jQuery] Re: Reducing this code.

2007-04-16 Thread Sean Catchpole
;on"); }); }); Also note that http://www.jquery.com/api/ is an excellent resource for learning jQuery. ~Sean

[jQuery] Re: Reducing this code.

2007-04-17 Thread Sean Catchpole
ode to access the parent, not only the class name... Yes Klaus, but lets say the focus function gets called twice (through malicious javascript or a quirky browser) then the toggle state of the class will be off. But in general I prefer your implementation. ~Sean

[jQuery] Re: Problem with AJAX and links

2007-04-17 Thread Sean Catchpole
{ $('a',root).click(function(){ $('.content').load(this.href,function(){ hijackLinks($('.content')); }); return false; }); } Then you only need to run your: $(function(){ hijackLinks(document); } ~Sean

[jQuery] Re: Library showdowns

2007-04-17 Thread Sean Catchpole
on a curry function that will change any function in a curried one. I'll post it on the newsgroup later once I get the last bug figured out. ~Sean

[jQuery] Re: Reducing this code.

2007-04-17 Thread Sean Catchpole
Also, what's Sean talking about when he says: "lets say the focus function gets called twice (through malicious javascript or a quirky browser) then the toggle state of the class will be off. But in general I prefer your implementation. " Is this something i need to worry

[jQuery] Re: Autocomplete plugin status2

2007-04-17 Thread Sean O
I could see my users typing in the comma in a multiple select scenario, so I cast my vote for comma-as-selector. Great to see you guys collaborating on an important (IMHO) and useful plugin. I wish I had more time (and expertise lol) to lend a hand. ___ SEAN O http://www.sean-o.com

[jQuery] Re: New To List - Question about JModal - DNR

2007-04-17 Thread Sean Catchpole
Can you link an example or paste some code? ~Sean

[jQuery] Re: Altering jQuery (packed) to work in greasemonkey

2007-04-17 Thread Sean Catchpole
Yansky, I was going to wait for the next version of jQuery, but I'll try to get a working version of jQuery for userscripts again. ~Sean

[jQuery] Re: Library showdowns

2007-04-18 Thread Sean Catchpole
t to create the function a/3 you can do the following: id = function(id){ return id; } div3 = divide(id)(3); ~Sean

[jQuery] Re: Spam on this list

2007-04-18 Thread Sean Catchpole
Spam is not the only problem I'm receiving. Sometimes I don't get the original message sent to me via email and then I only get someone's reply to it. Google needs to step up their game, or we should find another host. ~Sean

[jQuery] Re: What is wrong with this code

2007-04-20 Thread Sean Catchpole
e .contentpane > p",item_content).html(); jQuery("#myContent").html(new_content).slideDown("slow"); }); ~Sean

[jQuery] Re: Is there an image cropping plugin?

2007-04-20 Thread Sean Catchpole
I don't think there is a crop plugin, but there is an ImagePan (http://motherrussia.polyester.se/jquery/panview/) plugin that you might find usefull. ~Sean

[jQuery] Re: ajax Error

2007-04-20 Thread Sean Catchpole
Hi Simon, I'd recommend using http://jquery.com/api/ and firebug to help you debug. You're function looks ok, but I think error is an object that contains lots of data. Check out $.ajaxError at the api I linked. Let me know if you have more questions. ~Sean

[jQuery] Re: What is wrong with this code

2007-04-20 Thread Sean Catchpole
e: oranges I hope that helps. ~Sean

[jQuery] Re: What is wrong with this code

2007-04-20 Thread Sean Catchpole
You're absolutely right. I think at some point in jQuery's past this was flipped, but I'm glad to know that the filter functions works as intended now. Sorry for the confusion. =( ~Sean

[jQuery] Re: Image dynamic resizing

2007-04-20 Thread Sean Catchpole
I assume $('img').css({width:'100px'}); is not what you want. Are you asking for something with an image slider. ~Sean

[jQuery] Re: Getting an elements classes

2007-04-23 Thread Sean Catchpole
On 4/23/07, wls <[EMAIL PROTECTED]> wrote: How does one tell if an element has a class, or alternatively, get a list of classes? The following would return an array of the classes the first item has. var classes = $(query)[0].className.split(" "); ~Sean

[jQuery] Re: Can it be done? (Modifying plugin parameters at runtime)

2007-04-23 Thread Sean Catchpole
/ etc. etc. onResize : function(size, position) { this.maxWidth = size; } } ) Please note that "this" needs to be pre-pended before the variable in order to access it. ~Sean

[jQuery] Re: ajax and links

2007-04-23 Thread Sean Catchpole
Good example Klaus! Here's another reference for checking the url if you need it: http://www.sunsean.com/Jistory/ ~Sean

[jQuery] Re: automatic scroll like google calendar

2007-04-23 Thread Sean Catchpole
Javascript has a built in scrollTo(x,y) function. One would only need to get the .offsetTop of the element and viola. Ok well perhaps that was over simplified, but at least there's some stuff to point you in the right direction. ~Sean

[jQuery] Re: Arbitrary Number of Parents

2007-04-23 Thread Sean Catchpole
Kim, I think you are right. $(this).parents("div.foo") should work. The following might also work: $("../div.foo",this) But I haven't had time to punch that in myself yet. ~Sean

[jQuery] Re: Show()/Hide() Bug?

2007-04-23 Thread Sean Catchpole
I ran you code in FireFox and in IE6 and recieved no such error. ~Sean

[jQuery] Re: How to make a methode in jQuery

2007-04-24 Thread Sean Catchpole
Try: $.fn.cropImage = function() { ... } Although this may be old syntax. ~Sean

[jQuery] Re: plugins page!!!!

2007-04-25 Thread Sean Catchpole
The new plugin page looks good. This would be an ideal time to put in a rating or digg system. Having the top 5/10 plugins is always helpful. ~Sean

[jQuery] Re: $(document).ready( ) ... tricky ajax problem

2007-04-25 Thread Sean Catchpole
Hi Sam, The solution is in the callback function of the ajax command. $.load("url",function(result){ $(".alerter",result).click(...) } Something along those lines. Let me know if that helps. ~Sean

[jQuery] Re: css styles

2007-04-25 Thread Sean Catchpole
Yes, as far as I know jQuery works with inline and stylesheets equally. ~Sean

[jQuery] Re: $(document).ready( ) ... tricky ajax problem

2007-04-25 Thread Sean Catchpole
Nothing fancy is needed, just a simple function: $(function(){ aleter(document) }); //This is your document.ready() $.load("url", aleter ); //This is the ajax aleter = function(e) { $(".alerter",e).click( function(){ alert('you clicked me.'); } ); } Hope that helps =) ~Sean

[jQuery] Re: Obsolete xml data islands

2007-04-25 Thread Sean Catchpole
I'm sorry, what was the question? ~Sean

[jQuery] Re: Obsolete xml data islands

2007-04-26 Thread Sean Catchpole
Hi Dave, On 4/26/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Sean, I am fishing...If you are supporting a jQuery app, how much effort goes into supporting browser changes and incompatibilities?. - Dave Most of the browser incompatibilities I've had to deal with have been w

[jQuery] Re: Show and Hide DIV

2007-04-26 Thread Sean Catchpole
$(this.href); currOpen.show("fast"); return false; }); ~Sean

[jQuery] Re: Show and Hide DIV

2007-04-26 Thread Sean Catchpole
e, and for only a tiny fraction of the vast memory, one can speed the process by storing the last showed div. Consider if there were 1000 links, then storing the div is faster. But alas, hiding them all each time is safer when considering simultaneous clicks. ~Sean

[jQuery] Re: Ajax application history

2007-04-26 Thread Sean Catchpole
Nathan, A long time ago I made a simple proof of concept script on this: http://www.sunsean.com/Jistory/ ~Sean

[jQuery] Re: newsticker plugin updated

2007-04-27 Thread Sean Catchpole
Glad to see this is still alive Sam, excellent plugin. ~Sean

[jQuery] Re: Replacing the contents of a div that uses newsticker plug-in

2007-04-28 Thread Sean Catchpole
Looking at the code for newticker, you might/should be able to just recall $("ul").newsticker() and it should reset the ul. If for some reason it doesn't work, then this might be the change that the plugin needs: stopTicker = function(el) { if(el.tickfn) clearInterval(el.tickfn); } ~Sean

[jQuery] Re: Determining when an image is fully loaded

2007-04-28 Thread Sean Catchpole
Try this: $('#pictures').html(...).bind("load",function(){...}); ~Sean

[jQuery] Re: Newbie -- How to retrieve img src value in function?

2007-04-28 Thread Sean Catchpole
Try drag.src ~Sean

[jQuery] Re: jQuery Powered Sites - More Sites Added.

2007-04-29 Thread Sean O
Hey Rey, Looks like Uni-Form, http://dnevnikeklektika.com/uni-form/ an attempt to modularize and standardize form inputs, has moved to jQuery in their latest version 1.2. SEAN O http://www.sean-o.com Rey Bango-2 wrote: > > > Added: > > - GameGum Free Flash Games

[jQuery] Re: Pagination ajax

2007-04-30 Thread Sean Catchpole
}); return false; }); } ~Sean

[jQuery] OT: Suppress Apache Authentication

2007-04-30 Thread Sean Catchpole
Simple problem: I add an image from an external site to the page and sometimes the site is protected by Apache authentication so it pops up a login box. This is really annoying, any ideas on how this can be suppressed. All creative suggestions accepted. ~Sean

[jQuery] Re: OT: Suppress Apache Authentication

2007-05-01 Thread Sean Catchpole
Ok, so now I have this same scenario where I am trying to load ajax from a apache authenticated area and it popping up with the login box. Is there any way to hide that? I'm looking all over the web, but I haven't found anything yet. ~Sean

[jQuery] Re: OT: Suppress Apache Authentication

2007-05-02 Thread Sean Catchpole
trying to look into other headers I can send, or possible polling of values to catch the failed credentials early. You would think this wouldn't be an impossibly task. If there's any other suggest, I'd be glad to hear then, otherwise I'll try to post the solution if/when I find one. ~Sean

[jQuery] Evaulating script tags when .load-ing HTML

2007-05-03 Thread Sean O
/javascript'>$('#warn').html('required!');"; The JS is evaluated in Firefox 2/Win (loaded into the "master" DIV), but not in IE6/Win. How can I force the issue in IE? I read quite a few posts on this, and couldn't find an answer... Thanks,

[jQuery] Re: Evaulating script tags when .load-ing HTML

2007-05-04 Thread Sean O
calling a PHP document?). I'll have a look at the llnl.gov code next week. Thanks for the pointers, folks. And happy Quatro De Mayo. SEAN O http://www.sean-o.com shelane wrote: > > > > I also had this problem and pleaded for help in these thread

[jQuery] Re: onbeforeload and css manipluation... help!

2007-05-07 Thread Sean Catchpole
Using $(document).ready(...) will apply whatever you want after the html is downloaded ( that doesn't include images ect...) If you want it any earlier then this is pretty much your only option: $("#moveme").css("position-left","-30px"); The only other way is to... use css. ~Sean

[jQuery] Re: New / Updated Plugin - Focus Fields

2007-05-08 Thread Sean O
Sam, The demos don't seem to work for me in either FF2 or IE6 (?) SEAN O http://www.sean-o.com Sam Collett wrote: > > > Haven't updated outlineTextInput's for a while (due to having issues > with IE) - which is a plugin for adding outlines to text f

[jQuery] Re: New / Updated Plugin - Focus Fields

2007-05-08 Thread Sean O
Sam, That was it. Works in FF2 & IE 6 here. I had thought there was a default initiation of focusFields() on page load of the demo... My eyes passed right over the "click one of the examples above..." SEAN O Sam Collett wrote: > > Did you click the text fiel

[jQuery] Re: [To Klaus] tabs plugin suggestion

2007-07-24 Thread Sean Catchpole
Rob, If I understood you correctly, then idTabs does exactly what your asking for. http://www.sunsean.com/idTabs/ If I misunderstood, can you clarify? ~Sean

[jQuery] Re: [To Klaus] tabs plugin suggestion

2007-07-24 Thread Sean Catchpole
uppose at the moment the only thing you can't change dynamically is which tab a tab opens. ~Sean

[jQuery] Re: ANNOUNCE: jTagEditor 1.0 beta

2007-07-26 Thread Sean Catchpole
Looks great Jay! Keep up the hard work. ~Sean

[jQuery] Re: " vs '

2007-07-26 Thread Sean Catchpole
str = "I'm in love"; So just use whichever you feel is better for the situation. Some people are used to single quotes representing characters, whereas others think html = double quotes, javascript = single quotes. ~Sean

[jQuery] Re: Best Plug-in For "Mouse-over show larger image" function

2007-07-27 Thread Sean Catchpole
Rick, you could try zoomi. http://www.sunsean.com/zoomi/ ~Sean

[jQuery] Re: [NEWS] jQuery Essentials - Round 2

2007-07-28 Thread Sean Catchpole
Great article. Those are some wonderful plugins (including Round 1). ~Sean

[jQuery] Re: Infinite animations

2007-07-28 Thread Sean Catchpole
have been used for a long time so browsers are quite good at drawing them. ~Sean

[jQuery] Re: tr[position() mod 3 = 0]

2007-07-30 Thread Sean Catchpole
Dmitrii, the code Erik Beeson pasted works, here's another option: $.extend({expr:{":":{mod: "i%m[3]==0"}}}); //adds mod selector $("tr:mod(3)") ~Sean

[jQuery] Re: History anchors with variable and value (#var=value)

2007-07-30 Thread Sean Catchpole
The following code will set index.html#num=2#foo=bar to num=2; foo="bar"; (function(){ var l=window.location.hash.split('#').slice(1) for(var i=0; i

[jQuery] Re: tr[position() mod 3 = 0]

2007-07-30 Thread Sean Catchpole
On 7/30/07, John Resig <[EMAIL PROTECTED]> wrote: > As of jQuery 1.1.3 you can now do: > $("tr:nth-child(3n)") I knew it! I couldn't remember which selector did it, but I thought I had seen it before. Thanks John. ~Sean

[jQuery] Re: Best practices for dynamic form creation?

2007-08-01 Thread Sean Catchpole
items[0].item_id) ).click(...).appendTo("#content p") That's just one of many ways of doing it. ~Sean

[jQuery] Re: Good Javascript editor or IDE?

2007-08-01 Thread Sean Catchpole
vi

[jQuery] Re: Coder vs Designer?

2007-08-02 Thread Sean Catchpole
he data given. I like to use XML because then the designer can decide which information to grab and manipulate using XSL into HTML. Here's a rundown of how the languages map on the model I'm using. Data Layer: MySQL / PHP / XML Presentation Layer: XML / XSL / HTML / CSS / JS ~Sean

[jQuery] "Eloquent JavaScript" hyper-book

2007-08-03 Thread Sean O
programmer, but experienced users can find information of some use. A nice touch is the "click-to-run" code samples that launch in a console attached to the foot of the browser. They even feature an off-line download of the hyper-book and a print version. All free. http://eloquentjavascript.ne

[jQuery] Re: Best way to select a cell in a table?

2007-08-05 Thread Sean Catchpole
(2)", $("tr:eq(1)")) This works, but is a clunky way of writing it. Matt, using :eq is certainly the best idea. Your example would be: $("tr:eq(1) td:eq(2)") If you wanted to iterate through the table you could do: $("tr").each(function(i){ $("td",this).each(function(j){ $(this).html("Row: "+i+", Col: "+j); }); }); ~Sean

[jQuery] Re: Using JQuery in firefox extension

2007-08-05 Thread Sean Catchpole
doc) would select the body. Hope that helps. ~Sean

[jQuery] Re: Turning a checkbox on and off

2007-08-05 Thread Sean Catchpole
Mtich, I like to toggle checkbox states by emulating a click. This allows for any bound events to also trigger. $(":checkbox").click() ~Sean

[jQuery] Re: Move JSON into the JQuery's core?

2007-08-07 Thread Sean Catchpole
This would be a wonderful application for a download builder. The core should remain exactly that, a core. ~Sean

[jQuery] Re: [Announce] charToTable plugin

2007-08-07 Thread Sean Catchpole
Haha, that's fun. Thanks for posting it. ~Sean

[jQuery] Re: Slide Right

2007-08-09 Thread Sean Catchpole
On 8/9/07, Mike Alsup <[EMAIL PROTECTED]> wrote: > http://www.malsup.com/jquery/cycle/ Nice plugin Mike, when did you release this?

[jQuery] Re: Slightly OT: overview of HTML5 elements

2007-08-09 Thread Sean Catchpole
That's really cool Stephan, thanks for sharing. HTML needs a refresher. Classitisis is everywhere and it would be nice to have a few more useful tags to play with. Then again I use XML so I just make tags up anyway =P. ~Sean

[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] Re: [NEWS] jQuery Team Member Jörn Zaeffere r in Javamagzin

2007-08-10 Thread Sean Catchpole
Congrats Jörn! ~Sean

[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

[jQuery] Re: Using jQuery to parse a string

2007-08-10 Thread Sean Catchpole
the function. ~Sean On 8/10/07, Andy Matthews <[EMAIL PROTECTED]> wrote: > > 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? >

[jQuery] Re: Partial Accordion Possible?

2007-08-10 Thread Sean Catchpole
Hi Sam, With your html I was able to get this to work: $('#menu').Accordion({ header: 'li strong' }); ~Sean

  1   2   3   4   >