how can change the jquery thick box title dynamically?
how can set the title of jquery thick box dynamical开发者_运维技巧ly and how to resize the thick box by js
any idea please share
Is this what you are looking for http://jquery.com/demo/thickbox/
Please do not use thickbox since the plugin owners itself are recommending other alternatives
While Thickbox had its day, it is not maintained any longer, so we recommend you use some alternatives
check this out! and let us know the problem you faced
well you haven't tell me exactly what you need (inline frame, or iframe with external page or slide show or picture). if you are looking for external iframe then you can try this one
<link media="screen" rel="stylesheet" href="colorbox.css" />
<script src="../colorbox/jquery.colorbox.js"></script>
<script>
$(document).ready(function(){
$(".example7").colorbox({width:"80%", height:"80%", iframe:true});
});
</script>
<h1>ColorBox Demonstration</h1>
<p><a class='example7' href="http://google.com">Outside Webpage (Iframe)</a></p>
u can use JS or Jquery for assigning value for title in that div, after that u have to show/open that thickbox...
u can look at the following code to give title for the div dynamically,
<div id="text1" title="A bold text">Hello my friends!</div>
<script type="text/javascript">
document.getElementById(text1).title="New tooltip"
</script>
精彩评论