프레임
[List][Prev][Next]
프레임의 크기를 사용자가 조절하는 예제소스 [ Preview ]

두개의 파일입니다.


<html>
<head>
<title></title>
</head>

<frameset name="sframe" rows="*,*">
<frame name="top1"src="test-frame-resize.html" >
<frame name="bottom" src="xtest-frame-location3.html">
</frameset>

<noframes>
<body>
</body>
</noframes>

</html>




<html>
<head>
<title>Untitled</title>
<SCRIPT LANGUAGE="JavaScript">
IE3 = 1;
IE4 = 2;
IE5 = 3;
NS3 = 11;
NS4 = 12;

IsNav = typeOfNavigator();

var flag = open;

function typeOfNavigator()
{
var strVer = navigator.appVersion;

if (navigator.userAgent.indexOf("MSIE") != -1) {
strVer = strVer.substring(
strVer.indexOf("MSIE") + 5, strVer.indexOf("MSIE") + 6);
if (strVer == 3) {
return IE3;
}
if (strVer == 4) {
return IE4;
}
if (strVer == 5) {
return IE5;
}
}
else {
strVer = strVer.substring(0, 1);
if (strVer == 3) {
return NS3;
}
if (strVer == 4) {
return NS4;
}
}
}

function toggleFrame()
{
if (IsNav == IE4 || IsNav == IE5) {
if (flag == "close") {
parent.document.all("sframe").rows = "*, 83";
flag = "open";
//document.closebtn.src = "/home/cartframe/images/cart_1.gif";
}
else {
parent.document.all("sframe").rows = "*, 19";
flag = "close";
//document.closebtn.src = "/home/cartframe/images/cart_1open.gif";
}
}
}
</script>

</head>

<body>

<input type=button value=toggle onclick=toggleFrame()>

</body>
</html>

<%//# DataBinder.Eval(Container.DataItem, "album_title") %>
<%//# DataBinder.Eval(Container.DataItem, "contenttype") + " views" %>
link list for hairwigbeautyshop.com ::
Javascript Source List :