div onclick="window.open('www.slinbo.com')">在新窗口跳转</div> <div onclick="window.open('www.slinbo.com','_self')">在当前窗口跳转</div> 还有一种是通过window.location.href函数<div onclick="