2012-07-16, 09:09 PM
2012-07-17, 01:01 PM
Thansk for the tutorial although i already worked this out , Don't even know javascript or jquery but it was simple to understand
2012-07-17, 07:55 PM
some one help me please !!
2012-07-18, 11:23 PM
!
i want to use this code in header template !!!!!
please some one help !
how should use it !
i write this code in header but both close and open button show !
i past this code in my header template :
whats wrong ?
i want to use this code in header template !!!!!
please some one help !
how should use it !
i write this code in header but both close and open button show !
i past this code in my header template :
<script src="jquery.js"></script>
<script>
jQuery.noConflict();
jQuery(document).ready(function($) {
// Now use $ as you would usually with jQuery without mucking about. Far easier
});
$("#button_open").on('click', function(event) {
event.preventDefault();
$(this).hide(); //hides the open button as the box is now open
$('#box').slideDown('fast'); //shows the box
$('#button_close').show(); //shows the close button
$.cookie("openclose","open", {expires: 365}); //sets cookie
});
</script>
<a href="#" id="button_open">Open</a>
<a href="#" id="button_close">Close</a>
<div id="box">this is a box. </div>
whats wrong ?
2012-07-20, 08:59 PM
here is really support site !
i answer one question some day ago !!!
i answer one question some day ago !!!
2012-07-23, 05:59 AM
thank you for this good support !
2012-07-26, 10:58 PM
hello
2012-07-26, 11:06 PM
Try this:
this isn't definitely going to work but it might
<script src="jquery.js"></script>
<script>
jQuery.noConflict();
jQuery(document).ready(function($) {
$("#button_open").on('click', function(event) {
event.preventDefault();
$(this).hide(); //hides the open button as the box is now open
$('#box').slideDown('fast'); //shows the box
$('#button_close').show(); //shows the close button
$.cookie("openclose","open", {expires: 365}); //sets cookie
});
});
</script>
<a href="#" id="button_open">Open</a>
<a href="#" id="button_close">Close</a>
<div id="box">this is a box. </div>
this isn't definitely going to work but it might
2012-07-30, 11:54 PM
thank you for your help but this code isn't work for me
i copy all of this code and past to my header but don't work yet !
i attach a pic
[attachment=26958]
another one :
[attachment=26959]
i copy all of this code and past to my header but don't work yet !
i attach a pic
[attachment=26958]
another one :
[attachment=26959]
2012-07-31, 03:38 PM
site url?