I have been trying to get the ibutton plug-in working
but just cant seem to get it to work
has anyone had any success with this
is it just me maybe
Thanks
Excell(Roger)
The slider on the check box does not slide
It tries to but remains in the off position
I have used the following code
----------------------------------------------------------------------------
<script type="text/javascript">
<!--//
// on DOM ready
$(document).ready(function (){
$("#iButton").iButton();
});
//-->
</script>
<label for="iButton">
E-mail notifications
</label>
<input type="checkbox" id="iButton" value="false" checked="checked"/
>
-------------------------------------------------------------------------
The button remains in the off position
It works on a page with out the JQT library, maybe there is some
conflict ?
I just worked out that there is a slider check box in the JTQ
so don't need all the extra libraries
<span class="toggle"><input type="checkbox" onclick="alert('clicked')"/
></span>
no need to bind anything either
Thanks for the help anyway
Excell(roger)
<!--required for jQTouch-->
<script src="lib/jqtouch/jquery.1.3.2.min.js" type="application/x-
javascript"></script>
<script src="lib/jqtouch/jqtouch.js" type="application/x-
javascript"></script>
<style type="text/css" media="screen">@import "lib/jqtouch/
jqtouch.css";</style>
<style type="text/css" media="screen">@import "lib/jqtouch/themes/
apple/theme.css";</style>
<!--required for jquery.ibutton-->
<script src="lib/jquery.ibutton.js" type="application/x-
javascript"></script>
<style type="text/css" media="screen">@import "lib/css/
jquery.ibutton.css";></style>
Remember, all jqtouch code first and extensions and add-ons next.
BTW, did you get the ibutton on the right side?
Just used the JTQ toggle class does exactly what I need it to do
like the iphone !