CodeIgniter Forums
jquery - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forum-21.html)
+--- Thread: jquery (/thread-36789.html)



jquery - El Forum - 12-14-2010

[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]


jquery - El Forum - 12-15-2010

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