Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我知道共享者有 2 个参数。有url(u)和title(t):
http://www.facebook.com/sharer/sharer.php?u=[url]&t=[title]
我希望该共享器显示为弹出窗口。怎么做?
谢谢。
window.open用Javascript方法打开它:
window.open
window.open('http://www.facebook.com/sharer/sharer.php?u=[url]&t=[title]', 'facebook_share', 'height=320, width=640, toolbar=no, menubar=no, scrollbars=no, resizable=no, location=no, directories=no, status=no');