I use jquery ui accordion to view different data for the user, it works fine as described in jquery ui / demos, however I want to change the effect of the sliding effect so that instead of sliding up and down, I want to make it slide left and to the right (for example, image catalogs, visual design on this page http://wiki.jqueryui.com/w/page/12137702/Accordion? SearchFor = accordion + horizontal & sp = 1 ), can this be done? JavaScript:
$(function() { $("#accordion").accordion({autoHeight:false, collapsible: true, navigation: true, clearStyle: true, change: function(event, ui) { resize_iframe(); } }); });
code:
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, $start, $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, $start, $end, $today); echo "</div>"; } } echo "</div>";
source share