118
rated 0 times
[
121]
[
3]
/ answers: 1 / hits: 38193
/ 11 Years ago, mon, december 30, 2013, 12:00:00
I code 1 page php as:
<link rel=stylesheet href=http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css>
<script src=http://code.jquery.com/jquery-1.9.1.js></script>
<script src=http://code.jquery.com/ui/1.10.3/jquery-ui.js></script>
<link rel=stylesheet href=/resources/demos/style.css>
<script>
$(function() {
$(#tabs).tabs();
});
</script>
<?php
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
?>
<div id=tabs >
<ul class=nav nav-tabs>
<li class=><a href=#tabs-1>Resize Image</a></li>
<li class=active><a href=#tabs-2>Rotation Image</a></li>
<li class=><a href=#tabs-3>Crop Image</a></li>
</ul>
<div id=tabs-1></div>
<div id=tabs-2></div>
<div id=tabs-3></div>
</div>
I had set tabs-2 active but it alway active tabs-1. Why?
How set active other tab?
More From » php