Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <a onclick="_open('cart.php?addproduct',850,550);" href="javascript://">добавить в корзину</a>
- function _open( url, width, height ) {
- window.open( url, '', 'width=' + width + ',height=' + height + ',left=' + ((window.innerWidth - width)/2) + ',top=' + ((window.innerHeight - height)/2) );
- }
Add Comment
Please, Sign In to add comment