Hi!
I have only one comment to this, and that is the <style> tags in the middle of the code that gets generated, I would like to see this in my < head > tag instead. Is there some place where I can say do not output css or something?
Does it need to be an ID and not a class for the css? Maybe we could set something like this instead:
<div class=“someclass”> and when the tab is selected we could do <div class=“someclass tab_selected”>. Then we could control the classes from the stylesheet. In fact all css should be in an <style> or at the best in an external file.
I would bet my car on the fact that my designers would nag me about this. My designers are controlfreaks :)
I made a small change to the example.php file to make it integrate better to qcodo:
1<?php
2 require_once('prepend.inc');
3 //require_once("QTabPanel.inc");
4 //require_once("QTabPanelSection.inc");
I removed the require_once lines, then copyed the files into the qform folder. Then it gets autoincluded by qcodo :)
I also made a small installguide....
QTabPanel Readme
===========================================
Howto install:
1. Put the example.php and settings.inc.php in some subfolder of wwwroot, example: wwwroot/QTabPanelTest
2. Put the .js files in the wwwroot/includes/qform/assets
3. Put the QTabPanel.inc and QTabPanelSection.inc in wwwroot/includes/qform
Then point your browser at the example.php file. (In my example : http://yourdomain.com/QTabPanelTest/example.php)
To see a working example check out: http://qcodo_cvs.box3.prosjektweb.net/QTabPanelTest/example.php.