问个简单点的HTML标记问题
我现在有个页面里面有若干文字图片等(图片不是整张的,是把整张图截成若干小图)
我想点任何一个地方都跳转到同一个地址http://www.baidu.com
需要怎么做啊
我加了一个层在上面,但是DIV上没有超链接呀
------解决方案-------------------- <div onclick= "window.self.location= 'http://www.baidu.com ' ">
------解决方案-------------------- <map >
<address >
<a href = " "> </a>
</address>
<area />
</map>
------解决方案--------------------function a()
{
window.opener.location.href= "http://www.baidu.com ";
}
<div onchick= "a() ">
------解决方案--------------------帖的急了 应该是这样
function a()
{
window.location.href= "http://www.baidu.com ";
}
<div onchick= "a() ">
------解决方案-------------------- <a href= "www.baidu.com " >
<div> <div/> <a/>
你试试不知道这样行不?
------解决方案--------------------在你的DIV外面加一个超级链接就行
------解决方案-------------------- <IMG alt= " " src= "images/Winter.jpg " height= "404 " usemap= "#Map3 " border= "0 ">
<map name= "Map3 ">
<area shape= "rect " coords= "150,100,200,200 " href= "javascript:void(0); " alt= "www.baidu.com " >
<area shape= "rect " coords= "100,200,200,300 " alt= "www.google.com " href= "www.google.com " target= "_blank ">
</map>
------解决方案--------------------function a()
{
window.location.href= "http://www.baidu.com ";
}
<div onchick= "a() ">
现在刷分的帖子很多 !真是不爽!!
小号发个帖子 !大号分数全拿了 !!
郁闷 .......
------解决方案--------------------最简单和直接的:
<body MS_POSITIONING= "GridLayout " onclick= "window.open( 'http://www.baidu.com '); ">