My favorites | Sign in
Project Logo
                
Details: Show all Hide all

Last 7 days

  • Dec 13, 2009
    samaxesjs.toc-1.2.3.min.js (samaxesJS TOC component v1.2.3 (Minified)) file uploaded by samaxes   -  
    Labels: Featured
    Labels: Featured
  • Dec 13, 2009
    samaxesjs.toc-1.2.3.js (samaxesJS TOC component v1.2.3) file uploaded by samaxes   -  
    Labels: Featured
    Labels: Featured
  • Dec 13, 2009
    r61 (Updated TOC JavaScript Library to v1.2.3.) committed by samaxes   -   Updated TOC JavaScript Library to v1.2.3.
    Updated TOC JavaScript Library to v1.2.3.
  • Dec 13, 2009
    TableOfContents (Dynamic Table of Contents JavaScript component.) Wiki page edited by samaxes   -   Revision r60 Edited wiki page through web user interface.
    Revision r60 Edited wiki page through web user interface.

Last 30 days

  • Nov 19, 2009
    issue 7 (Feature proposal + example patch: make TOC optional, possibi...) reported by hunajakippo   -   Thank you for this plugin that solved my problem of javascript numbered headings. I propose two new features + bug fix + one simplification of code): 1. possibility to exclude TOC update (headings only) 2. possibility to define what to include as headers (for example headings inside one div class 3. bug fix: don't break tags inside headings (innerHTML instead of text()) 4. simplification: for loop instead when defining and processing indexes I hope this adds value to someone else (and changes don't break anything) example usage: $('#toc').toc({include: '#container :header', exclude: 'h1,h5,h6', excludeToc: true}); beginning of jquery.toc-1.0.2.js: (function($) { /* * The TOC plugin dynamically builds a table of contents from the headings in * a document and prepends legal-style section numbers to each of the headings. */ $.fn.toc = function(options) { var opts = $.extend({}, $.fn.toc.defaults, options); //hk: possibility to number headings only; possibility to select container for headings if (!opts.excludeToc) {toc = this.append('<ul></ul>').children('ul')}; //\hk var headers = {h1: 0, h2: 0, h3: 0, h4: 0, h5: 0, h6: 0}; var index = 0; //hk: less code repeat var indexes = {h1: 0, h2: 0, h3: 0, h4: 0, h5: 0, h6: 0}; for (i=1;i<=6;i++) { indexes['h'+i] = (opts.exclude.match('h'+i) === null && $('h'+i).length > 0) ? ++index : 0; } //\hk return this.each(function() { //hk: opts.include allows limiting scope $(opts.include).not(opts.exclude).each(function() { var $this = $(this); for (i=6;i>=1;i--) { if ($this.is('h'+i)) { //hk: possibility to number headings only if (!opts.excludeToc) {checkContainer(headers['h'+i], toc);} //\hk updateNumeration(headers, 'h'+i); //hk: use of innerHTML preservers tags inside header unlike text() $this[0].innerHTML=addNumeration(headers, 'h'+i, $this[0].innerHTML); //\hk //hk: possibility to number headings only if (!opts.excludeToc) {appendToTOC(toc, indexes['h'+i], $this.attr('id'), $this.text(), headers);} //\hk break; } } }); }); }; ...
    Thank you for this plugin that solved my problem of javascript numbered headings. I propose two new features + bug fix + one simplification of code): 1. possibility to exclude TOC update (headings only) 2. possibility to define what to include as headers (for example headings inside one div class 3. bug fix: don't break tags inside headings (innerHTML instead of text()) 4. simplification: for loop instead when defining and processing indexes I hope this adds value to someone else (and changes don't break anything) example usage: $('#toc').toc({include: '#container :header', exclude: 'h1,h5,h6', excludeToc: true}); beginning of jquery.toc-1.0.2.js: (function($) { /* * The TOC plugin dynamically builds a table of contents from the headings in * a document and prepends legal-style section numbers to each of the headings. */ $.fn.toc = function(options) { var opts = $.extend({}, $.fn.toc.defaults, options); //hk: possibility to number headings only; possibility to select container for headings if (!opts.excludeToc) {toc = this.append('<ul></ul>').children('ul')}; //\hk var headers = {h1: 0, h2: 0, h3: 0, h4: 0, h5: 0, h6: 0}; var index = 0; //hk: less code repeat var indexes = {h1: 0, h2: 0, h3: 0, h4: 0, h5: 0, h6: 0}; for (i=1;i<=6;i++) { indexes['h'+i] = (opts.exclude.match('h'+i) === null && $('h'+i).length > 0) ? ++index : 0; } //\hk return this.each(function() { //hk: opts.include allows limiting scope $(opts.include).not(opts.exclude).each(function() { var $this = $(this); for (i=6;i>=1;i--) { if ($this.is('h'+i)) { //hk: possibility to number headings only if (!opts.excludeToc) {checkContainer(headers['h'+i], toc);} //\hk updateNumeration(headers, 'h'+i); //hk: use of innerHTML preservers tags inside header unlike text() $this[0].innerHTML=addNumeration(headers, 'h'+i, $this[0].innerHTML); //\hk //hk: possibility to number headings only if (!opts.excludeToc) {appendToTOC(toc, indexes['h'+i], $this.attr('id'), $this.text(), headers);} //\hk break; } } }); }); }; ...

Earlier this year

  • Oct 14, 2009
    issue 6 (End file with a break line) reported by sisidoro   -   Please add a new feature to your Maven Minify Plugin. If the file ends with a comment the next file will be attached at the end of the comment and the minify script will not work. It's important to check if the files always end with a break line. Thanks, Sónia Isidoro
    Please add a new feature to your Maven Minify Plugin. If the file ends with a comment the next file will be attached at the end of the comment and the minify script will not work. It's important to check if the files always end with a break line. Thanks, Sónia Isidoro
  • Aug 03, 2009
    issue 5 (asdfsdfasdfasdfasd) reported by fmacielpinto   -   What steps will reproduce the problem? 1. 2. 3. What is the expected output? What do you see instead? What version of the product are you using? On what operating system? Please provide any additional information below.
    What steps will reproduce the problem? 1. 2. 3. What is the expected output? What do you see instead? What version of the product are you using? On what operating system? Please provide any additional information below.
  • Aug 03, 2009
    issue 4 (asdfas) reported by fmacielpinto   -   What steps will reproduce the problem? 1. 2. 3. What is the expected output? What do you see instead? What version of the product are you using? On what operating system? Please provide any additional information below.
    What steps will reproduce the problem? 1. 2. 3. What is the expected output? What do you see instead? What version of the product are you using? On what operating system? Please provide any additional information below.
  • Apr 22, 2009
    issue 3 (test) reported by marighela.conti   -   What steps will reproduce the problem? 1. 2. 3. What is the expected output? What do you see instead? What version of the product are you using? On what operating system? Please provide any additional information below.
    What steps will reproduce the problem? 1. 2. 3. What is the expected output? What do you see instead? What version of the product are you using? On what operating system? Please provide any additional information below.
  • Apr 15, 2009
    issue 2 (12) reported by ascis2000   -   What steps will reproduce the problem? 1. 2. 3. What is the expected output? What do you see instead? What version of the product are you using? On what operating system? Please provide any additional information below.
    What steps will reproduce the problem? 1. 2. 3. What is the expected output? What do you see instead? What version of the product are you using? On what operating system? Please provide any additional information below.
  • Mar 19, 2009
    issue 1 (TOC Link List - links not working) commented on by langmide   -   thanks a lot for the quick fix
    thanks a lot for the quick fix
  • Mar 16, 2009
    issue 1 (TOC Link List - links not working) Status changed by samaxes   -   The wiki pages have been updated. I've also updated the plugin so it doesn't create an anchor if an id attribute isn't defined in headings.
    Status: Done
    The wiki pages have been updated. I've also updated the plugin so it doesn't create an anchor if an id attribute isn't defined in headings.
    Status: Done
  • Mar 16, 2009
    CSSFloatPlugin (Detecting floating errors jQuery plugin.) Wiki page edited by samaxes
  • Mar 16, 2009
    TableOfContentsPlugin (Dynamic Table of Contents jQuery plugin.) Wiki page edited by samaxes
  • Mar 16, 2009
    TableOfContents (Dynamic Table of Contents JavaScript component.) Wiki page edited by samaxes
  • Mar 16, 2009
    TableOfContentsPlugin (Dynamic Table of Contents jQuery plugin.) Wiki page edited by samaxes
  • Mar 16, 2009
    TableOfContents (Dynamic Table of Contents JavaScript component.) Wiki page edited by samaxes
  • Mar 16, 2009
    TableOfContents (Dynamic Table of Contents JavaScript component.) Wiki page edited by samaxes
  • Mar 16, 2009
    TableOfContentsPlugin (Dynamic Table of Contents jQuery plugin.) Wiki page edited by samaxes
  • Mar 16, 2009
    r52 ([No log message]) committed by samaxes   -   [No log message]
    [No log message]
  • Mar 16, 2009
    jquery.toc-1.0.2.min.js (jQuery TOC plugin v1.0.2 (Minified)) file uploaded by samaxes   -  
    Labels: Featured
    Labels: Featured
  • Mar 16, 2009
    jquery.toc-1.0.2.js (jQuery TOC plugin v1.0.2) file uploaded by samaxes   -  
    Labels: Featured
    Labels: Featured
  • Mar 16, 2009
    samaxesjs.toc-1.2.2.min.js (samaxesJS TOC component v1.2.2 (Minified)) file uploaded by samaxes   -  
    Labels: Featured
    Labels: Featured
  • Mar 16, 2009
    samaxesjs.toc-1.2.2.js (samaxesJS TOC component v1.2.2) file uploaded by samaxes   -  
    Labels: Featured
    Labels: Featured
  • Mar 16, 2009
    TableOfContents (Dynamic Table of Contents JavaScript component.) Wiki page edited by samaxes
  • Mar 16, 2009
    TableOfContentsPlugin (Dynamic Table of Contents jQuery plugin.) Wiki page edited by samaxes
  • Mar 16, 2009
    r49 (TOC: If an id attribute is not defined for the heading, then...) committed by samaxes   -   TOC: If an id attribute is not defined for the heading, then the corresponding href attribute will not be added to the TOC entry.
    TOC: If an id attribute is not defined for the heading, then the corresponding href attribute will not be added to the TOC entry.
  • Mar 16, 2009
    issue 1 (TOC Link List - links not working) changed by samaxes   -   You need to define the attribute *id* in your headings (e.g. <h2 id="my-id">...</h2>). I should update the wiki page to reflect that. Thanks!
    Status: Accepted
    Owner: samaxes
    Labels: Component-Docs Type-Defect
    You need to define the attribute *id* in your headings (e.g. <h2 id="my-id">...</h2>). I should update the wiki page to reflect that. Thanks!
    Status: Accepted
    Owner: samaxes
    Labels: Component-Docs Type-Defect
  • Mar 16, 2009
    TableOfContents (Dynamic Table of Contents JavaScript component.) Wiki page edited by samaxes
  • Mar 16, 2009
    CSSFloatPlugin (Detecting floating errors jQuery plugin.) Wiki page edited by samaxes
  • Mar 16, 2009
    TableOfContentsPlugin (Dynamic Table of Contents jQuery plugin.) Wiki page edited by samaxes
  • Mar 16, 2009
    issue 1 (TOC Link List - links not working) reported by langmide   -   jQuery TOC Plugin v1.0.1 doesn not create proper links in the toc link list, only the fist one for a h1 element works, all other h2-h4 links have only the '#' anchor symbol but no identifier
    jQuery TOC Plugin v1.0.1 doesn not create proper links in the toc link list, only the fist one for a h1 element works, all other h2-h4 links have only the '#' anchor symbol but no identifier
  • Mar 08, 2009
    r45 (samaxesjs.toc 1.2.1 jquery.toc 1.0.1 jquery.cssfloat 1.0.1) committed by samaxes   -   samaxesjs.toc 1.2.1 jquery.toc 1.0.1 jquery.cssfloat 1.0.1
    samaxesjs.toc 1.2.1 jquery.toc 1.0.1 jquery.cssfloat 1.0.1
  • Mar 08, 2009
    CSSFloatPlugin (Detecting floating errors jQuery plugin.) Wiki page edited by samaxes
  • Mar 08, 2009
    jquery.cssfloat-1.0.1.min.js (jQuery CSS Float plugin v1.0.1 (Minified)) file uploaded by samaxes   -  
    Labels: Featured
    Labels: Featured
  • Mar 08, 2009
    jquery.cssfloat-1.0.1.js (jQuery CSS Float plugin v1.0.1) file uploaded by samaxes   -  
    Labels: Featured
    Labels: Featured
  • Mar 08, 2009
    jquery.toc-1.0.1.min.js (jQuery TOC plugin v1.0.1 (Minified)) file uploaded by samaxes   -  
    Labels: Featured
    Labels: Featured
  • Mar 08, 2009
    jquery.toc-1.0.1.js (jQuery TOC plugin v1.0.1) file uploaded by samaxes   -  
    Labels: Featured
    Labels: Featured
  • Mar 08, 2009
    samaxesjs.toc-1.2.1.min.js (samaxesJS TOC component v1.2.1 (Minified)) file uploaded by samaxes   -  
    Labels: Featured
    Labels: Featured
  • Mar 08, 2009
    samaxesjs.toc-1.2.1.js (samaxesJS TOC component v1.2.1) file uploaded by samaxes   -  
    Labels: Featured
    Labels: Featured
  • Mar 01, 2009
    TableOfContents (Dynamic Table of Contents JavaScript component.) Wiki page edited by samaxes
  • Mar 01, 2009
    TableOfContentsPlugin (Dynamic Table of Contents jQuery plugin.) Wiki page edited by samaxes
  • Mar 01, 2009
    CSSFloatPlugin (Detecting floating errors jQuery plugin.) Wiki page edited by samaxes
  • Mar 01, 2009
    jquery.cssfloat-1.0.0.min.js (jQuery CSS Float plugin v1.0.0 (Minified)) file uploaded by samaxes   -  
    Labels: Featured
    Labels: Featured
  • Mar 01, 2009
    jquery.cssfloat-1.0.0.js (jQuery CSS Float plugin v1.0.0) file uploaded by samaxes   -  
    Labels: Featured
    Labels: Featured
  • Mar 01, 2009
    TableOfContents (Dynamic Table of Contents JavaScript component.) Wiki page edited by samaxes
  • Mar 01, 2009
    TableOfContents (Dynamic Table of Contents JavaScript component.) Wiki page edited by samaxes
  • Mar 01, 2009
    r38 ([No log message]) committed by samaxes   -   [No log message]
    [No log message]
  • Mar 01, 2009
    TableOfContents (Dynamic Table of Contents JavaScript component.) Wiki page edited by samaxes
  • Mar 01, 2009
    TableOfContentsPlugin (Dynamic Table of Contents jQuery plugin.) Wiki page edited by samaxes
 
Hosted by Google Code