nadskap2 0 Newbie Poster

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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.