By ibragim on
Hi all.
I want use jQuery plugin for work with tabs http://stilbuero.de/jquery/tabs_3/
It's looks like ok. I follow all instruction for using this plugin and download next files:
1. jquery-1.2.1.pack.js
2. ui.tabs.css
3. ui.tabs.js
4. ui.tabs.ext.js
and *.html with example.
In my theme i write:
...
drupal_add_js('/themes/mytheme/tabs/jquery-1.2.1.pack.js');
drupal_add_js('/themes/mytheme/tabs/ui.tabs.js');
drupal_add_js('/themes/mytheme/tabs/ui.tabs.ext.js');
drupal_add_css('/themes/mytheme/tabs/ui.tabs.css');
...
But it's not work! Any css or js file not watching.
Next i try not use drupal_add_* functions, and in i saw js and css files. But tabs not working. I add js script to block(php filter format) and use with
Comments
=-=
investigate the jquery update.module which I believe will fix the collapsed menus.
_____________________________________________________________________
My posts & comments are usually dripping with sarcasm.
If you ask nicely I'll give you a towel : )
Thanks VeryMisunderstood,
Thanks VeryMisunderstood, but it's not help me, i only see that css files was added.
Do you work with jQuery plugin? Can you explain how it add? Vary need.
I update jQuery, but i don't
I update jQuery, but i don't now i right do it, because I just copy/paste jquery.js. It's right?
In my theme i write in template.php next code:
Now i can use tabs, but have problem with collapsible, fields only to open and not close.
Any suggestion?
collapse open but not close
maybe just FireFox with firebug. It works Ok otherwise.
www.purpleoar.co.nz/scryptik - Javascript editor with syntax error checking
www.purpleoar.co.nz - Web development, Drupal consultancy
www.purpleoar.co.nz/scryptik - Javascript editor with syntax error checking
www.purpleoar.co.nz - Web development, Drupal consultancy
Ok, actually i use firefox
Ok, actually i use firefox because it have firebug.
My problem is that with standart jquery.js collapsible work but tabs not work and with new jquery.js tabs work but collapsible work terrible.
Have you tried the tabs module?
It's part of Javascript Tools, http://drupal.org/project/jstools
There are several other modules that provide tabs functionality based on the tabs module:
* http://drupal.org/project/cck_fieldset_tabs
* http://drupal.org/project/views_tabs
* http://drupal.org/project/panels_tabs
yes i know this modules, but
yes i know this modules, but how you think what the right way using tabs:
-from drupal modules;
-free coding (in my case i input js code to block and output it from my region);
?
Itheme is immitable
Itheme is immitable
http://dreamweaverdrupalthemeextension.blogspot.com/