Changeset 1074
- Timestamp:
- 03/04/08 02:45:11
- Files:
-
- qPloneTabs/trunk/HISTORY.txt (modified) (1 diff)
- qPloneTabs/trunk/README.txt (modified) (2 diffs)
- qPloneTabs/trunk/TODO.txt (modified) (1 diff)
- qPloneTabs/trunk/skins/qPloneTabs/javascripts/qplonetabs.js (modified) (1 diff)
- qPloneTabs/trunk/skins/qPloneTabs/qpt_globalsections.pt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
qPloneTabs/trunk/HISTORY.txt
r1072 r1074 2 2 3 3 * now global_sections tabs updated asynchronous during changes on qPloneTabs ajax configlet 4 5 * fixed templates used as response to ajax requests: added omitted http header 'content-type' 6 7 * added compatibility with IE7 4 8 5 9 0.3.1 qPloneTabs/trunk/README.txt
r1072 r1074 4 4 from portal_control_panel form. 5 5 6 (c) "Quintagroup":http://quintagroup.com/ , 2006 .6 (c) "Quintagroup":http://quintagroup.com/ , 2006 - 2008. 7 7 8 8 support@quintagroup.com * quintessence of modern business 9 9 10 Compatible with 10 Tested on: 11 11 12 12 * Firefox 13 13 14 * IE 5.5 - 6.014 * IE 5.5 - 7 15 15 16 16 Authors … … 19 19 20 20 * Vitaliy Podoba 21 22 * Volodymyr Rudnytskyy qPloneTabs/trunk/TODO.txt
r778 r1074 1 1 * Opera compatibility 2 * 'portal-globalnav' visualization without page reloading 2 3 DONE * 'portal-globalnav' visualization without page reloading 4 3 5 * using kukit framework 6 7 * plone 3 compatibility qPloneTabs/trunk/skins/qPloneTabs/javascripts/qplonetabs.js
r1072 r1074 411 411 new Ajax.Updater({success : 'portal-globalnav'}, 'qpt_globalsections', { 412 412 method : 'post', 413 onSuccess : function(){ 414 new Effect.Highlight('portal-globalnav', {}); 415 } 413 insertion : Insertion.Instead 416 414 }); 417 415 } 418 416 417 // Insertion object defined in prototype javascript library 418 Insertion.Instead = Class.create(); 419 Insertion.Instead.prototype = Object.extend(new Abstract.Insertion('beforeEnd'), { 420 initialize: function(element, content) { 421 this.element = $(element); 422 this.content = content.stripScripts(); 423 424 var ul = document.createElement("UL"); 425 ul.id = "portal-globalnav"; 426 ul.innerHTML = this.content; 427 428 var parent = this.element.parentNode; 429 parent.removeChild(this.element); 430 parent.appendChild(ul); 431 432 setTimeout(function() {content.evalScripts()}, 10); 433 } 434 435 }); 419 436 420 437 //********************************************** qPloneTabs/trunk/skins/qPloneTabs/qpt_globalsections.pt
r1073 r1074 16 16 tal:condition="portal_tabs"> 17 17 18 <tal:tabs tal:repeat="tab portal_tabs">19 <li tal:attributes="id string:portaltab-${tab/id};20 class python:test(selected_portal_tab==tab['id'], 'selected', 'plain');">21 <a href=""22 tal:content="tab/name"23 tal:attributes="href tab/url;24 title tab/description|nothing">25 Tab Name26 </a>27 </li>28 </tal:tabs>18 <tal:tabs tal:repeat="tab portal_tabs"> 19 <li tal:attributes="id string:portaltab-${tab/id}; 20 class python:test(selected_portal_tab==tab['id'], 'selected', 'plain');"> 21 <a href="" 22 tal:content="tab/name" 23 tal:attributes="href tab/url; 24 title tab/description|nothing"> 25 Tab Name 26 </a> 27 </li> 28 </tal:tabs> 29 29 30 30 </div>
