why doesn't my show() function work?
This is what I have for jquery:
- <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js"></script>
- <script>
- $(document).ready(function(){
- $get("a.project").click(function() {
- $("#page-wrap").fadetoggle("slow");
- });
- });
- </script>
This is what I want to show:
- <div id="page-wrap" style="display:none;">
<div id="transparency"></div>
<div id="img-wrap">
<img src="img/project1.png" width="900" height="600" />
</div>
</div>
I want it to show in the same window on top of my other content. When I remove "display:none;" it shows it like I want it.