[jQuery] toc plugin

2006-09-27 Thread Dimitar Spassov
Hi!This plug-in creates a TOC for a given element.Here is a demohttp://dimitarspassov.googlepages.com/jqpagecontent
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


[jQuery] [EMAIL PROTECTED]'foo'] doesn't works

2006-09-09 Thread Dimitar Spassov
I have the following code:$([EMAIL PROTECTED]).each(function() {   this.checked = x;  });or$([EMAIL PROTECTED]'foo']).each(function() {   this.checked = x;
  });

or

$([EMAIL PROTECTED]'foo']).each(function() {
   this.checked = x;
  });
Code doesn't worksError: z has no propertiesSource file: jquery-latest.pack.jsLine: 12
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Naming plugin files

2006-08-15 Thread Dimitar Spassov
What about these names: So editable would be in jquery.editable.js, DOM would be in jquery.dom.js.jq.editable.js, DOM would be in jq.dom.js.
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


[jQuery] elements order

2006-08-13 Thread Dimitar Spassov
Hi!I have the folowing HTML code:h1heading 1/
h1h2heading 1.2 a /h2
h3heading 1.2.3 a /h3h3heading 1.2.3 b /
h3h2heading 1.2 b /h2h3
heading 1.2.3 c /h3h3heading 1.2.3 d /h3
h3heading 1.2.3 e /h3h2heading 2 b /
h2when apply this JQ:var out = '';$('h1,h2,h3,h4').each(function(i){ out += i + ': ' + this.nodeName + \n;});alert(out);the result is:0: [H3] heading 
1.2.3 a 
1: [H3] heading 1.2.3 b 
2: [H3] heading 1.2.3 c 
3: [H3] heading 1.2.3 d 
4: [H3] heading 1.2.3 e 
5: [H2] heading 1.2 a 
6: [H2] heading 1.2 b 
7: [H2] heading 2 b 
8: [H1] heading 1How to get the right element order?


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] elements order

2006-08-13 Thread Dimitar Spassov
Tanks!Look at test page: http://dimitarspassov.googlepages.com/jqpagecontent
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/