QTabPanel 0.2 released

thread: 56 messages  |  last: about 3 years ago  |  started: friday, january 26, 2007, 8:02 am pst


#1  |  Matthew Lieder (Apple Valley, MN) United States of America
Friday, January 26, 2007, 8:02 AM PST

I just released an updated version of QTabPanel, a control that adds tab panel functionality to Qcodo. I updated it to properly use the newest versions of its dependencies, added animation support (cool fading and sliding transitions), allowed tab headers to be shown below the panels, and rearchitected the rendering code to allow Refresh'ing.

For download and more info (including full list of changes and link to an example), see <http://www.qcodo.com/downloads/item.php/103>

#2  |  tingsen (Singapore)
Friday, January 26, 2007, 6:35 PM PST

Hi Matt,

Thanks for the work.
I did try for the version 0.1. And I face problem as it seem doesn't work in Ajax mode.
I experiment it in a custom QPanel. Then from a Qform I call/create this custom qpanel via Ajax call and the result is all DIVs just appear one after another.

Anyway, I will try again with this newer version.

#3  |  Matthew Lieder (Apple Valley, MN) United States of America
Friday, January 26, 2007, 6:44 PM PST

Yeah, v0.1 would only work if it was created before the page was displayed; creating or modifying one after the page had loaded (using AJAX) was impossible. This v0.2 completely resolves that issue; in fact it was the main reason I made this version :)

#4  |  Clinton (Salt Lake City, UT) United States of America
Friday, February 23, 2007, 10:40 AM PST

I am having problems installing this. Are there any special instructions? The tab buttons come up as list items...

#5  |  Clinton (Salt Lake City, UT) United States of America
Friday, February 23, 2007, 10:54 AM PST

Disregard the last post, I was using the version 0.1 with the newest qcodo release. Everything is working great now! This control rocks!

#6  |  Liam McLaughlin (The Shire, UK)
Sunday, February 25, 2007, 5:54 AM PST

I'm having problems with some pages using qtabs with firefox 2.0.2.  It seems the display mode for the control div (c1_ctl) is not being set to default and is left as 'display:none'.  I'm guessing this is a javascript issue; here is the code from the end scripts;

qc.registerForm(); 
qc.jsAssets = "/qcodo3/wwwroot/assets/js"; 
qc.phpAssets = "/qcodo3/wwwroot/assets/php"; 
qc.cssAssets = "/qcodo3/wwwroot/assets/css"; 
qc.imageAssets = "/qcodo3/wwwroot/assets/images"; 
qc.regCA(new Array("c1","c5","c6","c7","c8","c9","c14","c15","c16","c17","c18","c21","c22","c23"));
 $('#c1').tabs(1, {fxFade: true, fxSlide: false, fxSpeed: 'fast', fxAutoHeight: true, onClick: function(tab) {qc.recordControlModification('c1', "ActiveTab", tab.id);} });
 qc.getW(c1).style.display="";

The pages seem to be working fine in opera and ie7.  Any Ideas?  Incedently the example page works fine.

#7  |  Liam McLaughlin (The Shire, UK)
Monday, February 26, 2007, 2:36 PM PST

Ok it seems firefox needs the doctype of the page to be set to transitional for the javascript to work...Simple solution, took me a while to find though.  Also this control does indeed rock!

#8  |  Tostitos
Wednesday, February 28, 2007, 11:32 AM PST

Hi,

I tried to change the name on the tabs on an event, but It does not redraw the element. Setting the SubPanel to MarkAsModified() does nothing, while setting it to the ParentPanel causes an error and nothing to be rendered.

Any Ideas?

Thanks


Actually, it just doesnt seem to work when I use an AjaxAction, ServerAction is fine...

#9  |  platini (Boston, MA) United States of America
Thursday, March 1, 2007, 9:33 AM PST

I downloaded a fresh copy of Qpanel2, and I had to comment the following line
in order for the exmaple to work....is this a bug ?

//$this->blnOnPage = true;

Other than great job, I love it

#10  |  Tostitos
Thursday, March 1, 2007, 1:14 PM PST

Hi,

Just one more question, it seems to render everything at once.  Is there a way so that it only renders the tabs that are visible?



Copyright © 2005 - 2012, Quasidea Development, LLC
This open-source framework for PHP is released under the terms of The MIT License.