jquery load function for small preview

Posted by Hulk on Stack Overflow See other posts from Stack Overflow or by Hulk
Published on 2010-04-06T07:31:40Z Indexed on 2010/04/06 7:43 UTC
Read the original article Hit count: 297

Preview:         

In the following div i need to show a very small preview of a page.In order to do that what should be the css set to, When i use the following code below,the preview is very big.I need to show the preview with the size of the videos on you tube(as In suggestions tab)

var url="/tools/display/" + param;
$('#preview').css({"width" : "200px" , "height" : "10px" , "background-color" : "Black" , "position" : "fixed","display" : "inline" });
$("#preview").load(url);

Thanks..

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about jquery-selectors