I'm with bootstrap 2.3.? (not 3)
So I've found that code http://ift.tt/1yyg4Hb
and the javascript activated buttons doesn't work I've used it so in the
<body>
<script>$('.next').click(function(){
var nextId = $(this).parents('.tab-pane').next().attr("id");
$('[href=#'+nextId+']').tab('show');
})
$('.first').click(function(){
$('#myWizard a:first').tab('show')
})
</script>
////////// etc
</body>
is it something wrong with that javascript? I've searched for a responsive script that can open tabs in some HTML page like example.html#tab1
but as it seems nothing works for me can you help? and also is there a way to use URL to tab with php?
Aucun commentaire:
Enregistrer un commentaire