Accordion Horizontal extension for ezwebin

Author Message

Javier Olara

Thursday 23 June 2011 4:08:07 pm

regards
Have any idea how to create an extension for ezwebin, like this:
http://www.quoc-huy.com/
Please if you have a tutorial and send it to me I'm new
with ez publish.

Thiago Campos Viana

Thursday 23 June 2011 5:19:03 pm

PS: This post is about your last forum topic with this same name.

Hi

I made a test here and could see the plugin you had post in your last forum topic has nothing special:

{ezcss_require( 'liteaccordion.css' )}

<div id="one" class="accordion">
            <ol>
                <li>
                    <h2><span>Slide One</span></h2>
                    <div>
                        <div class="figure">
                            <img src={"1.jpg"|ezimage} alt="image" />
                            <div class="figcaption">I can haz big caek?</div>
                        </div>
                    </div>
                </li>
                <li>
                    <h2><span>Slide Two</span></h2>
                    <div>
                        <div class="figure">
                            <img src={"2.jpg"|ezimage} alt="image" />
                            <div class="figcaption">I can haz big caek?</div>
                        </div>
                    </div>
                </li>
                <li>
                    <h2><span>Slide Three</span></h2>
                    <div>
                        <div class="figure">
                            <img src={"2a.jpg"|ezimage} alt="image" />
                            <div class="figcaption">I can haz big caek?</div>
                        </div>
                    </div>
                </li>
            </ol>
            <noscript>
                <p>Please enable JavaScript to get the full experience.</p>
            </noscript>
        </div>
        {ezscript_require( array('ezjsc::jquery', 'liteaccordion.jquery.js') )}
        
        <script>
            // liteAccordion demos
            $('#one').liteAccordion({ldelim}
                    onActivate : function() {ldelim}
                        this.find('.figcaption').fadeOut();
                    {rdelim},
                    slideCallback : function() {ldelim}    
                        this.find('.figcaption').fadeIn();
                    {rdelim},
                    autoPlay : true,
                    pauseOnHover : true,
                    theme : 'dark',
                    rounded : true,
                    enumerateSlides : true                    
            {rdelim}).find('.figcaption:first').show();
        </script>

Please, read carefully the jquery plugin tutorial.

eZ Publish Certified Developer: http://auth.ez.no/certification/verify/376924

Twitter: http://twitter.com/tcv_br

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 29 2025 13:43:06
Script start
Timing: Jan 29 2025 13:43:06
Module start 'layout'
Timing: Jan 29 2025 13:43:06
Module start 'content'
Timing: Jan 29 2025 13:43:06
Module end 'content'
Timing: Jan 29 2025 13:43:06
Script end

Main resources:

Total runtime0.0127 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0046 588.2578151.2266
Module start 'layout' 0.00460.0021 739.484436.6875
Module start 'content' 0.00670.0043 776.171994.7969
Module end 'content' 0.01100.0017 870.968833.9766
Script end 0.0127  904.9453 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002418.6501140.0002
Check MTime0.00108.0285140.0001
Mysql Total
Database connection0.00075.787310.0007
Mysqli_queries0.002015.738630.0007
Looping result0.00000.069310.0000
Template Total0.001310.110.0013
Template load0.00107.704510.0010
Template processing0.00032.394710.0003
Override
Cache load0.00065.034610.0006
General
dbfile0.00032.222480.0000
String conversion0.00000.052440.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs