Comparison with JSTOOLS - tab

najibx - August 10, 2007 - 05:09
Project:Tabbed Block
Version:5.x-1.x-dev
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed
Description

i wanted to use several blocks (created by Views) in tab which is embedded insides Panel.

i achieved this successfully with this module easily. Thank you.

however, I was wondering, I have already tried JSTOOLS, Tabs 5.x-0.7 :A helper module for creating tabbed pages. Depends on: Javascript tools (enabled). The example given in /tabsexample works fine including the admin setting in Slide effect, Fade effect, Effect speed configuration... However, I couldn't really get it to work as I wanted. It's possible, but I just don't know how ... this module make it too easy to understand.

it looks like both are independent? Any comparisons? Advantages/disadvantages? How do i change the Fade effect & Effect speed in this module?

#1

joetsuihk - August 10, 2007 - 05:51

yes, they are independent modules.
the main difference is that tabbed_block provide blocks only,
with easiler configuration, so that non-programmer can also provide tabbed blocks

tabs module inside jstools require some programming,
and more flexible. but i dont study on that module so deep, so you may ask the developer of that module for help.

about the fade effect and fade speed setting,
I cannot tell how to do that, sorry.
may be a future versions~

thx

#2

najibx - August 10, 2007 - 06:55

Yes, i admit this module is simpler. Meet my requirement though.

It would be great if look into the effect. I bet it's just simple twik.

Both are based on jquery. However, JSTOOLS - tab is based on stilbuero.de.

So to get such effect, (Use a combined slide and fade effect to switch tabs:) I must be able to insert this:

$('#container').tabs({ fxSlide: true, fxFade: true, fxSpeed: 'fast' });

in the tabbed_block.js?

Also, have the tab flexible width, rather a fix width that force title to become 2 lines.

#3

joetsuihk - August 13, 2007 - 05:32

sorry that although I know stilbuero.de
I havent study the source code of that.

and about the jquery you provided, it is based on stilbuero.de??

#4

najibx - August 13, 2007 - 05:35

#5

joetsuihk - August 13, 2007 - 05:39

i see.
but that needs to install the stilbuero.de plugin?
I think direct apply the code will not work.

but that is inspiring.

#6

najibx - November 4, 2007 - 11:27
Status:active» closed
 
 

Drupal is a registered trademark of Dries Buytaert.