Example from
stworthy works fine in Firefox for me
But for Opera and other browsers it should be updated with another CSS transform parameters like in example from
skellenbSo, if we put extra CSS parameters from skellenb's example to stworthy's example we get it working
<script>
$(function(){
var p = $('body').layout('panel','west').panel({
onCollapse:function(){
var title = $('body').layout('panel','west').panel('options').title; // get the west panel title
var p = $('body').data('layout').panels['expandWest']; // the west expand panel
p.html('<div style="-moz-transform: rotate(90deg);padding:6px 2px;-ms-transform: rotate(90deg);-webkit-transform: rotate(90deg)">'+title+'</div>');
}
});
});
</script>