schiave83
Jr. Member

Offline
Posts: 6
|
 |
« on: April 26, 2016, 08:47:04 AM » |
|
Hi, i wanna ask you if it's possibile to put a vertical accordion module in a tabshow position. I mean...i have a tabshow module placed in a template position (top_row_21 for example) and i want to put a vertical accordion module (with his own modules inside) in a tabshow position. It is possible? Can you help me? Thanks
|
|
|
Logged
|
|
|
|
mikek
|
 |
« Reply #1 on: April 26, 2016, 09:00:07 AM » |
|
Hello,
It should be possible, but there may be a javascript issue because the tab show loads after page load. If you want to try it, it would publish just like any other module where you publish it to a s5_tabX position.
|
|
|
Logged
|
Mike Knott ------------ Shape 5 Team - Need a great host for your website? We highly recommend siteground.com!
 - Put your trust in the hands of our extremely qualified staff to get your job done right!
- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:Install Firebug
|
|
|
schiave83
Jr. Member

Offline
Posts: 6
|
 |
« Reply #2 on: April 26, 2016, 09:27:49 AM » |
|
Hello,
It should be possible, but there may be a javascript issue because the tab show loads after page load. If you want to try it, it would publish just like any other module where you publish it to a s5_tabX position.
If i put any other module in the s5_tabx position, like a custom html module it works. But with a vertical accordion doesn't work.
|
|
|
Logged
|
|
|
|
mikek
|
 |
« Reply #3 on: April 26, 2016, 11:26:15 AM » |
|
Hello,
The issue is probably what I stated above, the javascript is loading after page load. The javascript needs to load on page load in order to build the accordion, that wouldn't be possible in the tab show. The tab show wasn't really designed for that, it's more plain text modules and images.
|
|
|
Logged
|
Mike Knott ------------ Shape 5 Team - Need a great host for your website? We highly recommend siteground.com!
 - Put your trust in the hands of our extremely qualified staff to get your job done right!
- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:Install Firebug
|
|
|
|
mikek
|
 |
« Reply #5 on: April 27, 2016, 07:29:42 AM » |
|
Hello, That is an accordion, but not the Vertical Accordion module. It's using a css accordion, which is showcased here: http://www.shape5.com/demo/zoka_transports/index.php/pages/faqs
|
|
|
Logged
|
Mike Knott ------------ Shape 5 Team - Need a great host for your website? We highly recommend siteground.com!
 - Put your trust in the hands of our extremely qualified staff to get your job done right!
- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:Install Firebug
|
|
|
schiave83
Jr. Member

Offline
Posts: 6
|
 |
« Reply #6 on: April 27, 2016, 07:39:43 AM » |
|
Ah,ok, i understand. how can I take this css code? where do I have to put it? Thank U
|
|
|
Logged
|
|
|
|
mikek
|
 |
« Reply #7 on: April 27, 2016, 09:04:15 AM » |
|
Hello, You can grab the code from this url, it's missing from the url above for some reason: http://www.shape5.com/demo/business_line/index.php/pages/faqsYou can enter that into a custom html module.
|
|
|
Logged
|
Mike Knott ------------ Shape 5 Team - Need a great host for your website? We highly recommend siteground.com!
 - Put your trust in the hands of our extremely qualified staff to get your job done right!
- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:Install Firebug
|
|
|
schiave83
Jr. Member

Offline
Posts: 6
|
 |
« Reply #8 on: April 27, 2016, 09:12:47 AM » |
|
I entered the code i found in the link above in the custom html module, but this is what come out (in the attachment). Do i have to modify also a css file? Which one?
|
|
|
Logged
|
|
|
|
mikek
|
 |
« Reply #9 on: April 27, 2016, 11:21:00 AM » |
|
Hello,
Please post a url to where this occur. You might be using it on a template that doesn't have this css, in which case it wouldn't be possible. The code on the links above is specific to those templates.
|
|
|
Logged
|
Mike Knott ------------ Shape 5 Team - Need a great host for your website? We highly recommend siteground.com!
 - Put your trust in the hands of our extremely qualified staff to get your job done right!
- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:Install Firebug
|
|
|
schiave83
Jr. Member

Offline
Posts: 6
|
 |
« Reply #10 on: April 28, 2016, 03:58:11 AM » |
|
Hello,
Please post a url to where this occur. You might be using it on a template that doesn't have this css, in which case it wouldn't be possible. The code on the links above is specific to those templates.
Thank you Mike, I understand.
|
|
|
Logged
|
|
|
|
|