gpt4 book ai didi

javascript - 如何制作图像映射弹出窗口

转载 作者:行者123 更新时间:2023-11-28 08:21:28 28 4
gpt4 key购买 nike

您好,我正在使用 PHPDevel 弹出窗口(http://www.php-development.ru/javascripts/popup-window.php)

我正在尝试将弹出窗口集成到我的图像 map 中,但它不起作用..

我的图像映射:

<img src="http://i34.tinypic.com/4tlkci.jpg" usemap="#Map" border="0">
<map name="Map" id="Map">
<area shape="circle" coords="120,109,67" href="#" />
</map>

还有我的弹出窗口:

<link rel="stylesheet" type="text/css" href="http://kgv-projekt.hr/pop/popup-window.css" />
<script type="text/javascript" src="http://kgv-projekt.hr/pop/jquery/jquery.js"></script>
<script type="text/javascript" src="http://kgv-projekt.hr/pop/popup-window.js"></script>

正文:

<!-- Anchor start -->
<a href="#" onclick="popup_window_show('#popup_window_id_2B7668D9714CE2A0158E3F1DA9DD0BA3', { pos : 'window-center', parent : this, x : 0, y : 0, width : 'auto' }); return false;">Open popup window</a>
<!-- Anchor end -->

<!-- Popup Window start -->
<div id="popup_window_id_2B7668D9714CE2A0158E3F1DA9DD0BA3" class="popup_window_css"><table class="popup_window_css"><tr><td class="popup_window_css"><div class="popup_window_css_head"><img src="http://kgv-projekt.hr/pop/images/close.gif" alt="" width="9" height="9" />Stock</div><div class="popup_window_css_body"><fieldset style=" margin-bottom:25px; float:left;">
<legend style=" width:170px; text-align: center;">Something </legend>
<table width="100%" border="0">
<tr>
<td height="59"><p>
<label>
<input type="radio" name="a7" value="1">
1. One</label>
<br>
<br>

</p></td>
</tr>
<tr>
<td height="59"><select name="aa7" id="aa7"><option>Submit</option></select></td>
</tr>
</table>
</fieldset></div><div class="popup_window_css_foot"><a href="http://www.php-development.ru/javascripts/popup-window.php" title="Powered by PHPDevel Popup Window | PHPDevel web scripts collection"><img src="http://kgv-projekt.hr/pop/images/about.gif" alt="" width="6" height="6" /></a></div></td></tr></table></div>
<!-- Popup Window end -->

有什么建议吗?或者我如何使用 Window open() 方法来做到这一点?

最佳答案

<body style="text-align: center">
<img src="image.jpg" alt="" width="1513" height="983" usemap="#Map"/>
<map name="Map">
<area shape="poly"coords="149,297,121,399,248,598,221,652,151,643,134,599,77,545,28,375,26,323,47,268,148,297" href="popup.html" target="_blank" onclick="javascript:void window.open('http://www.sethharden.com/sis/california.html','1407798238173','width=650,height= 800,toolbar=0,menubar=0,location=0,status=0,scrollbars=1,resizable=1,left=0,top=0');return false;">
</map>

关于javascript - 如何制作图像映射弹出窗口,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22911739/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com