「小説その1」のリンク先を小窓で表示することは可能でしょうか?
<A href="javascript:w=window.open('dream-1.htm','','scrollbars=yes,Width=250,Height=100');w.focus();">小説その1</A>
↑これを↓ここに埋め込んだら小窓自体が開かなくなってしまいました。
よろしくお願い致します。
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<!-- DreamMaker2 by Season(URL:http://homepage1.nifty.com/mystaff/
) --->
<HTML lang="ja">
<HEAD>
<META http-equiv="Content-Type" content="text/html; charset=Shift_JIS">
<META NAME="GOOGLEBOT" CONTENT="NOINDEX, NOFOLLOW">
<meta name="robots" content="noindex, nofollow">
<META NAME="ROBOTS" CONTENT="NOARCHIVE,NOINDEX,NOFOLLOW">
<META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 7.0.0.0 for Windows">
<META http-equiv="Content-Style-Type" content="text/css">
<STYLE type="text/css">
<!--
BODY{
scrollbar-face-color:#ffffff;
scrollbar-highlight-color:#ffffff;
scrollbar-shadow-color:#ffffff;
scrollbar-3dlight-color:#ffffff;
scrollbar-arrow-color:#000000;
scrollbar-track-color:#ffffff;
scrollbar-darkshadow-color:#ffffff;
}
--></STYLE>
<style type="text/css">
<!--
a:hover{text-decoration:none; color:#ccff00;}
a{text-decoration:none;}
--></style>
<STYLE type="text/css">
<!--
body,td {
font-size:11px;
}
.date {font-size:10px;}
a{color:#000000;text-decoration:none;}
a:hover{text-decoration:none; color:#ccff00;}
--><SPAN style="LINE-HEIGHT: 13px; LETTER-SPACING: 1px">
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
</STYLE>
<BASE target="main">
<META http-equiv="Content-Type" content="text/html; charset=SHIFT_JIS">
<META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 9.0.0.0 for Windows">
<META http-equiv="Content-Style-Type" content="text/css">
<LINK rel="stylesheet" href="style5.css" type="text/css">
<TITLE></TITLE>
</HEAD>
<BODY style="background-color:transparent;" text="#000000" LEFTMARGIN="0" TOPMARGIN="0" MARGINWIDTH="0" MARGINHEIGHT="0" bgcolor="#ffffff" link="#000000" vlink="#000000">
<P><BR>
</P>
<div class="text">
<DIV align="left"><script language="JavaScript">
<!----Cookie使用
var CookieID = "Dream2";
function getCookie(key) {
if (document.cookie){
index = document.cookie.indexOf(key, 0);
if (index != -1) {
val_start = (document.cookie.indexOf("=", index) + 1);
val_end = document.cookie.indexOf(";", index);
if (val_end == -1){
val_end = document.cookie.length;
}
return(unescape(document.cookie.substring(val_start, val_end)));
}
}
return(null);
}
function setCookie(key,value,expires){
var cook_data = "";
cook_data = key + "=" + escape(value);
if (expires){cook_data = cook_data + "; expires=" + expires.toGMTString();}
document.cookie = cook_data;
}
function set_name(set_name_value){
var expires = new Date();
value = set_name_value;
if ( value == "" ) value = "null";
expires.setTime(expires.getTime() + (12 * 30 * 24 * 60 * 60 * 1000));
setCookie(CookieID,value,expires);
}
function JSset(){
item1 = document.dream.name1.value;
item2 = document.dream.name2.value;
set_name(item1+","+item2);
document.dream.submit();
}
function DeleteCookie(key){
var value = "";
var expires = new Date();
expires.setTime(expires.getTime() - 3600);
setCookie(key,value,expires);
location.reload();
}
//END --->
</script><script
language="JavaScript">
<!---Cookie Read
var getvalue = getCookie(CookieID);
if (getvalue == null || getvalue == "null") getvalue = ",";
names = getvalue.split(",");
//END --->
</script></DIV>
<TABLE border="0">
<TBODY>
<TR>
<TD></TD>
</TR>
</TBODY>
</TABLE>
<DIV align="left">
<form name="dream"> <INPUT type="text" size="8" name="name1" style="background-color:#ffffff;border:1px solid #000000;font-size:10px;"> <INPUT type="text" size="8" name="name2" style="background-color:#ffffff;border:1px solid #000000;font-size:10px;"> <input type="button" value=" OK " onclick="JSset()" style="background-color:#ffffff;border:1px solid #000000;font-size:9px;">
<INPUT type="button" value=" NO " onclick="DeleteCookie(CookieID)" style="background-color:#ffffff;border:1px solid #000000;font-size:9px;"></form>
</DIV>
<TABLE border="0">
<TBODY>
<TR>
<TD width="15"></TD>
<TD width="377"><FONT face="Arial Black"><BR>
</FONT><BR>
<A href="dream-1.htm" target="_blank">小説その1</A></TD>
</TR>
</TBODY>
</TABLE>
<DIV align="left"><script language="JavaScript">
<!---フォームへ書き込み
document.dream.name1.value = names[0];
document.dream.name2.value = names[1];
//END --->
</script></DIV>
</div>
</BODY>
</HTML>