Hey...
I've got some problems with jQuery.
Code:
jQuery:
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$(".bspicdiv").animate({height:0},"fast");
$(".bspicdiv").animate({width:0},"fast");
$(".bspic").click(function(){
$("#box").animate({height:500},"fast");
$("#box").animate({width:500},"fast");
$(".bspicclose").click(function(){
$(".bspicdiv").animate({height:0},"fast");
$(".bspicdiv").animate({width:0},"fast");
});
});
});
</script>
PHP/HTML:
echo "<a class=\"bspic\" href=\"#\"><img border=\"0\" src=\"./bsbilleder/".$file."\" height=\"80\" width=\"80\" /></a>";
echo "<div class=\"bspicdiv\"><a href=\"#\" class=\"bspicclose\"><img border=\"0\" src=\"./bsbilleder/".$file."\" height=\"450px\" width=\"450px\" /></a></div>";
i hope that somebody can help me <3