Welcome, Guest. Please login or register.
Did you miss your activation email?
May 27, 2012, 03:24:11 AM

Login with username, password and session length
Search:     Advanced search
Wollen Sie dem WebsiteBaker Team beitreten?
Nähere Informationen finden Sie unter hier und auf unserer neuen Webseite.
155555 Posts in 21715 Topics by 7737 Members
Latest Member: gx-world
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: Integrate Accordion w/ FAQ Module  (Read 1434 times)
aimeeish

Offline Offline

Posts: 28


« on: May 18, 2008, 04:07:26 AM »

Hi. I would like to integrate this accordion into the FAQ Module:
http://www.dezinerfolio.com/2007/07/19/simple-javascript-accordions/

I have already installed files, included CSS and .js file, however, I am too stupid to play around with the FAQ settings and get it working.
Logged
Availor

Offline Offline

Posts: 225



« Reply #1 on: May 18, 2008, 06:36:06 AM »

Hello,

It's quite simple to do, eventhough there are many scripts with the same goal but with a different code. I'm using spry widgets provided with DreamWeaver CS3 - that's the software I'm using.

Basically, you need to paste your menu/content in each section of the accordion, but you must declare how many sections your accordion has while you are making the template. I know it sounds pretty blurred but it's hard for me to give you a full answer here.
Logged
Stefek
WebsiteBaker Org e.V.

Offline Offline

Posts: 4884



« Reply #2 on: July 14, 2008, 06:06:29 PM »

Hello Aimeeish,

In the German Forum a Member, BerndJM, has created a "ToogleMe" Modul based on the FAQ Modul.
http://www.websitebaker2.org/forum/index.php/topic,9289.msg60865.html#msg60865

All You need is to install the Modul and
generate a category first.
Then you can just put as lot items in it as you wish.
You also can adjust the HTML Output in the modules options.

Best Regards,
Stefek
Logged

"In a time of universal deceit, telling the truth becomes a revolutionary act."
- George Orwell, Nineteen eighty-four (1984)
MicahK

Offline Offline

Posts: 21


« Reply #3 on: November 23, 2008, 11:59:35 PM »

So I am trying to get this work, however, it does not want to expand. You can see what I have here: http://stanwoodchamber.learnnof.com/pages/businesses.php
I am not sure what is wrong. It says it is looking for javascript:void(0)

Thanks!
Logged
BerndJM

Offline Offline

Posts: 1764



« Reply #4 on: November 24, 2008, 12:06:17 AM »

@MicahK:
in your template is the following necessary call missing:

Code:
<?php
if (function_exists('register_frontend_modfiles')) {
  
register_frontend_modfiles('css');
  
register_frontend_modfiles('js');
?>

Regards Bernd
Logged

In theory, there is no difference between theory and practice. But, in practice, there is.
MicahK

Offline Offline

Posts: 21


« Reply #5 on: November 24, 2008, 12:29:58 AM »

Ahh, thanks, that fixed it.

Logged
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!