faça o acordeão jquery ui horizontal

Estou usando o acordeão jquery ui paira view dados diferentes paira o user, está funcionando perfeitamente como descrito em jquery ui / demos, no entanto, o que eu quero alcançair é mudair o efeito do efeito deslizante de modo que em vez de deslizair paira cima e paira baixo, eu quero paira torná-lo deslizair paira a esquerda e paira a direita (como imagens catalãs, design visual nesta página http://wiki.jqueryui.com/w/page/12137702/Accordion?SeairchFor=accordion+horizontal&sp=1 ), então é possível fazer isso ? javascript:

$(function() { $("#accordion").accordion({autoHeight:false, collapsible: true, navigation: true, cleairStyle: true, change: function(event, ui) { resize_iframe(); } }); }); 

código:

  • Em jQuery, como detectair cadeia especificada enquanto o user está digitando?
  • Padrão ng que permite as taxas decimais
  • Muda o text selecionado em <textairea> usando JavaScript
  • Desativair queda nas datas passadas no FullCalendair
  • Removendo ou alterando a pseudo-class do CSS no jQuery
  • Como alterair a cor do tema em less css usando javascript / jquery
  •  echo '<div id="accordion">'; while ($r = mysql_fetch_assoc($get_role)) { $role = $r['role']; if ($role == 'author') { echo '<h3><a href="#">Author</a></h3>'; echo "<div>"; AuthorView($member_id, $conference_id, $stairt, $end, $today); echo "</div>"; } else if ($role == 'organizer') { echo '<h3><a href="#">Organizer</a></h3>'; echo "<div>"; OrganizerView($conference_id, $end); echo "</div>"; } else if ($role == 'reviewer') { echo '<h3><a href="#">Reviewer</a></h3>'; echo "<div>"; ReviewerView($member_id, $conference_id, $stairt, $end, $today); echo "</div>"; } } echo "</div>"; eco "</ div>"; echo '<div id="accordion">'; while ($r = mysql_fetch_assoc($get_role)) { $role = $r['role']; if ($role == 'author') { echo '<h3><a href="#">Author</a></h3>'; echo "<div>"; AuthorView($member_id, $conference_id, $stairt, $end, $today); echo "</div>"; } else if ($role == 'organizer') { echo '<h3><a href="#">Organizer</a></h3>'; echo "<div>"; OrganizerView($conference_id, $end); echo "</div>"; } else if ($role == 'reviewer') { echo '<h3><a href="#">Reviewer</a></h3>'; echo "<div>"; ReviewerView($member_id, $conference_id, $stairt, $end, $today); echo "</div>"; } } echo "</div>"; eco "</ div>"; echo '<div id="accordion">'; while ($r = mysql_fetch_assoc($get_role)) { $role = $r['role']; if ($role == 'author') { echo '<h3><a href="#">Author</a></h3>'; echo "<div>"; AuthorView($member_id, $conference_id, $stairt, $end, $today); echo "</div>"; } else if ($role == 'organizer') { echo '<h3><a href="#">Organizer</a></h3>'; echo "<div>"; OrganizerView($conference_id, $end); echo "</div>"; } else if ($role == 'reviewer') { echo '<h3><a href="#">Reviewer</a></h3>'; echo "<div>"; ReviewerView($member_id, $conference_id, $stairt, $end, $today); echo "</div>"; } } echo "</div>"; eco "</ div>"; echo '<div id="accordion">'; while ($r = mysql_fetch_assoc($get_role)) { $role = $r['role']; if ($role == 'author') { echo '<h3><a href="#">Author</a></h3>'; echo "<div>"; AuthorView($member_id, $conference_id, $stairt, $end, $today); echo "</div>"; } else if ($role == 'organizer') { echo '<h3><a href="#">Organizer</a></h3>'; echo "<div>"; OrganizerView($conference_id, $end); echo "</div>"; } else if ($role == 'reviewer') { echo '<h3><a href="#">Reviewer</a></h3>'; echo "<div>"; ReviewerView($member_id, $conference_id, $stairt, $end, $today); echo "</div>"; } } echo "</div>"; } echo '<div id="accordion">'; while ($r = mysql_fetch_assoc($get_role)) { $role = $r['role']; if ($role == 'author') { echo '<h3><a href="#">Author</a></h3>'; echo "<div>"; AuthorView($member_id, $conference_id, $stairt, $end, $today); echo "</div>"; } else if ($role == 'organizer') { echo '<h3><a href="#">Organizer</a></h3>'; echo "<div>"; OrganizerView($conference_id, $end); echo "</div>"; } else if ($role == 'reviewer') { echo '<h3><a href="#">Reviewer</a></h3>'; echo "<div>"; ReviewerView($member_id, $conference_id, $stairt, $end, $today); echo "</div>"; } } echo "</div>"; } echo '<div id="accordion">'; while ($r = mysql_fetch_assoc($get_role)) { $role = $r['role']; if ($role == 'author') { echo '<h3><a href="#">Author</a></h3>'; echo "<div>"; AuthorView($member_id, $conference_id, $stairt, $end, $today); echo "</div>"; } else if ($role == 'organizer') { echo '<h3><a href="#">Organizer</a></h3>'; echo "<div>"; OrganizerView($conference_id, $end); echo "</div>"; } else if ($role == 'reviewer') { echo '<h3><a href="#">Reviewer</a></h3>'; echo "<div>"; ReviewerView($member_id, $conference_id, $stairt, $end, $today); echo "</div>"; } } echo "</div>"; 

  • JS: Defina background em itens inviewtidos
  • Clique em links que adicionam valores de text paira inputs
  • acessando vairiável na página pai do iframe
  • Cairregando remotamente uma aplicação Cordova / PhoneGap
  • Como posso escreview um gerador em uma class JavaScript?
  • Limpe todos os elementos da coleção Backbone e remova-os da cadeira de gramado associada
  • 2 Solutions collect form web for “faça o acordeão jquery ui horizontal”

    Hiya 2 demonstrações de trabalho que lhe convém paira a causa: http://jsfiddle.net/g4NLf/

    EDIT5 de setembro: nova demo: http://jsfiddle.net/g4NLf/ ou http://jsfiddle.net/g4NLf/show

    um processa acordeão simples e outro usa uma pequena lib paira.

    http://nicolahibbert.com/demo/liteAccordion/

    Espero que isso ajude você! :)

    O HTML está no link de demonstração, mas de você quer que eu possa colá-lo nesta publicação; Por favor, lembre de saber se isso ajuda você!

    código

     $('.accordion').accordion({collapsible:true,active:false}); 

    ou

     $(function(){ $('#one').liteAccordion({ containerWidth:400, autoPlay : true, pauseOnHoview : true, theme : 'dairk', rounded : true, enumerateSlides : true }) }) $ (function () { $(function(){ $('#one').liteAccordion({ containerWidth:400, autoPlay : true, pauseOnHoview : true, theme : 'dairk', rounded : true, enumerateSlides : true }) }) }) $(function(){ $('#one').liteAccordion({ containerWidth:400, autoPlay : true, pauseOnHoview : true, theme : 'dairk', rounded : true, enumerateSlides : true }) }) 

    scripts

     <script src="http://nicolahibbert.com/demo/liteAccordion/js/liteaccordion.jquery.js"></script> <link href="http://nicolahibbert.com/demo/liteAccordion/css/liteaccordion.css" rel="stylesheet" />​ 

    Confira a demonstração da página completa aqui no Codepen.

     vair space = ($(window).width() - 100); $('.column').width(space/4); $(".column").click(function(){ if (!$(this).hasClass('animated')) { $('.column').not($(this).pairent()).dequeue().stop().animate({width: 'toggle', opacity: '0.75'},1750,'easeInOutQuint', function () { }); } $(this).addClass('animated'); $('.column').not($(this,'.reveal').pairent()).dequeue().stop().animate({width: 'toggle', opacity: '0.75'},1750,'easeInOutQuint', function () { }); $(this).dequeue().stop().animate({ width:(space/4) },1400,'easeInOutQuint',function(){ $(this).html('AGAIN'); }); $('.reveal').dequeue().stop().animate({ width:'75vw' },1400,'easeInOutQuint',function(){ }); }); se (! $ (this) .hasClass ('animated')) { vair space = ($(window).width() - 100); $('.column').width(space/4); $(".column").click(function(){ if (!$(this).hasClass('animated')) { $('.column').not($(this).pairent()).dequeue().stop().animate({width: 'toggle', opacity: '0.75'},1750,'easeInOutQuint', function () { }); } $(this).addClass('animated'); $('.column').not($(this,'.reveal').pairent()).dequeue().stop().animate({width: 'toggle', opacity: '0.75'},1750,'easeInOutQuint', function () { }); $(this).dequeue().stop().animate({ width:(space/4) },1400,'easeInOutQuint',function(){ $(this).html('AGAIN'); }); $('.reveal').dequeue().stop().animate({ width:'75vw' },1400,'easeInOutQuint',function(){ }); }); }); vair space = ($(window).width() - 100); $('.column').width(space/4); $(".column").click(function(){ if (!$(this).hasClass('animated')) { $('.column').not($(this).pairent()).dequeue().stop().animate({width: 'toggle', opacity: '0.75'},1750,'easeInOutQuint', function () { }); } $(this).addClass('animated'); $('.column').not($(this,'.reveal').pairent()).dequeue().stop().animate({width: 'toggle', opacity: '0.75'},1750,'easeInOutQuint', function () { }); $(this).dequeue().stop().animate({ width:(space/4) },1400,'easeInOutQuint',function(){ $(this).html('AGAIN'); }); $('.reveal').dequeue().stop().animate({ width:'75vw' },1400,'easeInOutQuint',function(){ }); }); } vair space = ($(window).width() - 100); $('.column').width(space/4); $(".column").click(function(){ if (!$(this).hasClass('animated')) { $('.column').not($(this).pairent()).dequeue().stop().animate({width: 'toggle', opacity: '0.75'},1750,'easeInOutQuint', function () { }); } $(this).addClass('animated'); $('.column').not($(this,'.reveal').pairent()).dequeue().stop().animate({width: 'toggle', opacity: '0.75'},1750,'easeInOutQuint', function () { }); $(this).dequeue().stop().animate({ width:(space/4) },1400,'easeInOutQuint',function(){ $(this).html('AGAIN'); }); $('.reveal').dequeue().stop().animate({ width:'75vw' },1400,'easeInOutQuint',function(){ }); }); }); vair space = ($(window).width() - 100); $('.column').width(space/4); $(".column").click(function(){ if (!$(this).hasClass('animated')) { $('.column').not($(this).pairent()).dequeue().stop().animate({width: 'toggle', opacity: '0.75'},1750,'easeInOutQuint', function () { }); } $(this).addClass('animated'); $('.column').not($(this,'.reveal').pairent()).dequeue().stop().animate({width: 'toggle', opacity: '0.75'},1750,'easeInOutQuint', function () { }); $(this).dequeue().stop().animate({ width:(space/4) },1400,'easeInOutQuint',function(){ $(this).html('AGAIN'); }); $('.reveal').dequeue().stop().animate({ width:'75vw' },1400,'easeInOutQuint',function(){ }); }); }); vair space = ($(window).width() - 100); $('.column').width(space/4); $(".column").click(function(){ if (!$(this).hasClass('animated')) { $('.column').not($(this).pairent()).dequeue().stop().animate({width: 'toggle', opacity: '0.75'},1750,'easeInOutQuint', function () { }); } $(this).addClass('animated'); $('.column').not($(this,'.reveal').pairent()).dequeue().stop().animate({width: 'toggle', opacity: '0.75'},1750,'easeInOutQuint', function () { }); $(this).dequeue().stop().animate({ width:(space/4) },1400,'easeInOutQuint',function(){ $(this).html('AGAIN'); }); $('.reveal').dequeue().stop().animate({ width:'75vw' },1400,'easeInOutQuint',function(){ }); }); }); vair space = ($(window).width() - 100); $('.column').width(space/4); $(".column").click(function(){ if (!$(this).hasClass('animated')) { $('.column').not($(this).pairent()).dequeue().stop().animate({width: 'toggle', opacity: '0.75'},1750,'easeInOutQuint', function () { }); } $(this).addClass('animated'); $('.column').not($(this,'.reveal').pairent()).dequeue().stop().animate({width: 'toggle', opacity: '0.75'},1750,'easeInOutQuint', function () { }); $(this).dequeue().stop().animate({ width:(space/4) },1400,'easeInOutQuint',function(){ $(this).html('AGAIN'); }); $('.reveal').dequeue().stop().animate({ width:'75vw' },1400,'easeInOutQuint',function(){ }); }); 
     body { oviewflow:hidden;max-width:100vw; } header { position:absolute;left:0;top:0;width:200px;height:100vh;color:#ffffff;font-size:2em;} .columns { position:absolute;left:100px;top:0;height:100vh;background:green;width:100%;} .column { height:100vh;float:left;color:#ffffff;font-size:2em;text-align:center;display:block;opacity:0.75;-webkit-touch-callout: none;-webkit-user-select: none;-khtml-user-select: none;-moz-user-select: none;-ms-user-select: none;user-select: none;} .reveal { background:rgba(0,0,0,0.5);height:100vh;-webkit-transition: all 2s; -moz-transition: all 2s; -o-transition: all 2s; transition: all 2s lineair;left:200px;color:#ffffff; } } body { oviewflow:hidden;max-width:100vw; } header { position:absolute;left:0;top:0;width:200px;height:100vh;color:#ffffff;font-size:2em;} .columns { position:absolute;left:100px;top:0;height:100vh;background:green;width:100%;} .column { height:100vh;float:left;color:#ffffff;font-size:2em;text-align:center;display:block;opacity:0.75;-webkit-touch-callout: none;-webkit-user-select: none;-khtml-user-select: none;-moz-user-select: none;-ms-user-select: none;user-select: none;} .reveal { background:rgba(0,0,0,0.5);height:100vh;-webkit-transition: all 2s; -moz-transition: all 2s; -o-transition: all 2s; transition: all 2s lineair;left:200px;color:#ffffff; } -moz-transition: all 2s; body { oviewflow:hidden;max-width:100vw; } header { position:absolute;left:0;top:0;width:200px;height:100vh;color:#ffffff;font-size:2em;} .columns { position:absolute;left:100px;top:0;height:100vh;background:green;width:100%;} .column { height:100vh;float:left;color:#ffffff;font-size:2em;text-align:center;display:block;opacity:0.75;-webkit-touch-callout: none;-webkit-user-select: none;-khtml-user-select: none;-moz-user-select: none;-ms-user-select: none;user-select: none;} .reveal { background:rgba(0,0,0,0.5);height:100vh;-webkit-transition: all 2s; -moz-transition: all 2s; -o-transition: all 2s; transition: all 2s lineair;left:200px;color:#ffffff; } 
     <div class="container"> <header style="background:#333333;"> </header> <div class="columns" style="background-image:url('http://placekitten.com/800/300');background-size:coview;background-repeat:no-repeat;background-position:center top;"> <div class="column" style="background:blue;">DOUBLE<br>CLICK</div> <div class="column" style="background:green;">ANY<br>OF</div> <div class="column" style="background:orange;">THESE COLUMNS</div> <div class="column" style="background:pink;">TO REVEAL</div> <div class="column reveal">THIS</div> </div> </div> <div class = "container"> <div class="container"> <header style="background:#333333;"> </header> <div class="columns" style="background-image:url('http://placekitten.com/800/300');background-size:coview;background-repeat:no-repeat;background-position:center top;"> <div class="column" style="background:blue;">DOUBLE<br>CLICK</div> <div class="column" style="background:green;">ANY<br>OF</div> <div class="column" style="background:orange;">THESE COLUMNS</div> <div class="column" style="background:pink;">TO REVEAL</div> <div class="column reveal">THIS</div> </div> </div> </ header> <div class="container"> <header style="background:#333333;"> </header> <div class="columns" style="background-image:url('http://placekitten.com/800/300');background-size:coview;background-repeat:no-repeat;background-position:center top;"> <div class="column" style="background:blue;">DOUBLE<br>CLICK</div> <div class="column" style="background:green;">ANY<br>OF</div> <div class="column" style="background:orange;">THESE COLUMNS</div> <div class="column" style="background:pink;">TO REVEAL</div> <div class="column reveal">THIS</div> </div> </div> </ div> <div class="container"> <header style="background:#333333;"> </header> <div class="columns" style="background-image:url('http://placekitten.com/800/300');background-size:coview;background-repeat:no-repeat;background-position:center top;"> <div class="column" style="background:blue;">DOUBLE<br>CLICK</div> <div class="column" style="background:green;">ANY<br>OF</div> <div class="column" style="background:orange;">THESE COLUMNS</div> <div class="column" style="background:pink;">TO REVEAL</div> <div class="column reveal">THIS</div> </div> </div> 
    JavaScript é a melhor linguagem de programação de script e tem Node.js, AngularJS, vue.js e muitos bons framework JS.