Welcome Guest, Not a member yet? Register   Sign In
jquery
#1

[eluser]Unknown[/eluser]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
&lt;html&gt;
&lt;head&gt;
&lt;link href="&lt;?php echo $this-&gt;config->item('base_url').
'/web/views/'.$template."/css/tips-form.css" ?&gt;"
rel="stylesheet" type="text/css" />
&lt;!-- &lt;link rel="stylesheet" type="text/css" href="tips-form.css"&gt; --&gt;
[removed][removed]
[removed]


&lt;!-- Why cannot run in my file html --&gt;

$(document).ready(function(){
// pilih semua input dan terapkan tooltip pada semua input
$("#myform :input").tooltip({

// letakkan posisi tooltip di bagian/sebelah kanan
position: "center right",

// mengatur letak posisi berdasarkan koordinat
offset: [-2, 10],

// pakai efek fade (memudar perlahan-lahan)
effect: "fade",

// setting ketajaman objek
opacity: 0.7,

// gunakan elemen tooltip
tip: '.tooltip'
});
});
[removed]
#2

[eluser]vitoco[/eluser]
install firebug and debug with it, if you can fix the problem, post the info that gets you firebug




Theme © iAndrew 2016 - Forum software by © MyBB