Changeset 1718:5bbbd8bb73fb for admin/js
- Timestamp:
- 09/04/13 14:28:18 (12 years ago)
- Branch:
- default
- Children:
- 1719:b8c48f380463, 1720:f23f530dfb4a
- Parents:
- 1717:9df047961e9c (diff), 1710:f6287a0366e3 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/js/jquery/jquery.pageTabs.js
r1280 r1718 16 16 this.createList(); 17 17 this.showDiv(index); 18 var pageTabs = this; 19 20 window.onhashchange = function (event) { 21 pageTabs.showDiv(document.location.hash.split('#').join('')); 22 } 18 23 }; 19 24 … … 39 44 li = document.createElement('li'); 40 45 a = document.createElement('a'); 41 a.appendChild(document.createTextNode(this.title));46 $(a).html(this.title); 42 47 this.title = ''; 43 a.href = '#';44 48 a.fn = This.showDiv; 45 49 a.index = this.id || i; 50 a.href = '#'+a.index; 51 li.id = "part-tabs-"+a.index; 46 52 a.obj = This; 47 jQuery(a).click(function() { this.fn.call(this.obj,this.index); return false; });48 53 li.appendChild(a); 49 54 This.list.appendChild(li);
Note: See TracChangeset
for help on using the changeset viewer.