[新着] Webテンプレートを仮オープンしました
<head><META http-equiv="Content-Type" content="text/html; charset=x-euc-jp">
<title>ページ名</title>
<SCRIPT TYPE="text/javascript">
<!--
function disp(url){
window.open(url, "window_name", "width=550,height=600,scrollbars=yes");
}
// -->
</SCRIPT>
</head>
<BODY>
<P><A HREF="javascript:disp(リンク先URL')"><Img Src="画像名" Border="0"></A></P>
</body>
</html>で、やってみましたが、ウィンドウが開いてくれませんでした。<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html lang="ja" dir="ltr">
<meta http-equiv="content-type" content="text/html; charset=Shift_JIS">
<head>
<title>ページ名</title>
<script type="text/javascript">
function disp(url){
window.open(url, "window_name", "width=550,height=600,scrollbars=yes");
return false;
}
</script>
<style type="text/css">
a:link img,
a:visited img{
border-width: 0px;
}
</style>
</head>
<body>
<p><a href="リンク先URI" onclick="return disp(this.href);"><img
src="画像URI" alt="代替テキスト"></a></p>
</body>
</html>