demo: http://www.healdream.com/upload/html/jquery/greybox/test.htmldown: http://www.51files.com/?9UF4NA8RCRX5A0Z2F170How to use Copy code The code is as follows: <br> var GB_ANIMATION = true; <br> $(document).ready(function(){ <br> $("a.greybox").click(function(){ <br> var t = this.title || $( this).text() || this.href; <br> GB_show(t,this.href,450,600); <br> return false; <br> }); <br> }); <br> </ script><br> </div> <br>It’s very simple, include the two js, then link the css, and finally respond to click events for all links with class greybox, and it’s KO