Scrollbar removal by different link
-
can i add scrollbar Parameter like height=”xxx” on Different linking to Control the scrollbar, I try to design the popup.js but cannot work for me. following is the code, please hlep me to check
jQuery(document).ready(function($) {
$(‘.popup’).click(function() {
var w = $(this).data(‘width’);
var h = $(this).data(‘height’);
var sb = $(this).data(‘scrollbars’);var left = (screen.width/2) – (w/2);
var top = (screen.height/2) – (h/2);var NWin = window.open($(this).prop(‘href’),”,’scrollbars=’ + sb + ‘,width=’ + w + ‘,height=’ + h + ‘,top=’ + top + ‘,left=’ + left);
if (window.focus)
{
NWin.focus();
}return false;
});
});[popup url=http://www.abc.com height=”500″ scrollbars=”0″width=”515″]linking[/popup]
- The topic ‘Scrollbar removal by different link’ is closed to new replies.