ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Newbie needs help using the J Query module

April 06, 2011 11:53am

Subscribe [1]
  • #1 / Apr 06, 2011 11:53am

    richelliot

    2 posts

    Hi Guys,

    Im very new to EE and need some help in getting my J Query accordian menu to work.

    The official documentation is not very much help at all! Im not sure which tags to use and where. Any help would be greatly appreciated 😊

    My very simple code (That currently does not work) can be seen below. (Please note that I have not put any script tags in my header, i am under the impression that if the module is installed then this is not required?

    {exp:jquery:script_src ui='accordion'}  
    
    
    <div id="accordion">
        <h3><href="#">First header</a></h3>
    <p>    <div>First content</div><br />
        </p><h3><href="#">Second header</a></h3>
    <p>    <div>Second content</div><br />
    </div>


    Cheers

    Rich

  • #2 / Apr 07, 2011 12:33am

    Cheif

    626 posts

    I would assume you’d still need to run a

    <ascript>function{}</ascript>
    . All the jquery tag is doing is loading the library like the traditional
    <ascript type="javajscript" src="/mypath/" >
.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases