Jquery overlay showing
I had 2 jsp pages with me . when I clicked one href link on the first page ..I'm redirecting to next page .but i want to stay there in the same page and want to show that page in the overlay ..any开发者_JAVA技巧 help ? thanks
I recommend BlockUI for overlay.
And this piece of code for not be redirected when you click on a link, in doubt:
<script type="text/javascript">
$(document).ready(function(){
$("a").click(function(){
return false;
});
});
</script>
You can use Jquery tools Overlay
This is one of the simple to use and fearure-rich overlay and enough documentation available.
精彩评论