<html>
<body bgcolor="000000">
<body onload="scrollNews('news', 0);">
<div id="news"><font color="#FFFFFF" size="3" face="Arial"news">
<h1>news</h1>
<a href="http://www.gamedev.net"/><font color="#FFFFFF" size="2" face="Arial">game devolpment resources</font></A>
<p><a href="http://www.raymanzone.com"/><font color="#FFFFFF" size="2" face="Arial">rayman's zone</font></a>
</div>
<style type="text/css">
#news {
position: absolute;
position: left;
visibility: visible;
z-index: 250;
top: 20px;
left: 25px;
height: 80px;
width: 150px;
clip: rect(0px, 100px, 60px, 0px);
border-width: 328x;
padding-top: 40px;
}
</style>
<script language="JavaScript">
function getObject( obj ) {
var strObj
if ( document.all ) {
strObj = document.all.item( obj );
} else if ( document.getElementById ) {
strObj = document.getElementById( obj );
}
return strObj;
}
var theTop = 20;
var theHeight = 100;
var theWidth = 150;
var theLeft = 650;
var toClip = 55;
function scrollNews( newsDiv, toMove ) {
theDiv = getObject( newsDiv.toString() );
if ( theDiv == null ) { return; }
if ( document.layers ) {
theDiv.clip.top = toMove;
theDiv.clip.bottom = toMove + toClip;
theDiv.top = theTop - toMove;
} else {
theDiv = theDiv.style;
theDiv.clip = "rect(" + toMove + "px " + (theWidth + theLeft) + "px " + (toMove + toClip) + "px 0px)";
theDiv.top = theTop - toMove + 'px';
}
if ( ( theTop + theHeight - toMove ) < ( theTop - theHeight - 20 ) ) {
toMove = 0;
if ( document.layers ) {
theDiv.clip.top = theTop;
theDiv.clip.bottom = toClip;
theDiv.top = theTop
} else {
theDiv.clip = "rect(" + toMove + "px " + (theWidth + theLeft) + "px " + (toMove + toClip) + "px 0px)";
theDiv.top = theTop + 'px';
}
}
toMove = (toMove + 1);
setTimeout("scrollNews('" + newsDiv + "'," + toMove + ")", 100);
}
</script>
<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><a href="story page.html">opionions</a>
<p><p> <A href="mattb0001@hotmail.com">contact us</a>
</html>
[web] need urgent help
hi heres my frames page's source
my problem is that when i click the link it only opens in that frame how do i open it in both?
You can use target:
The target window options are:
_self : Opens in the same window and same frame.
_top : Opens in the same window, taking the full window if there is more than one frame.
_parent : Opens in the parent frame.
_blank : Opens in a new window.
<a href="http://www.gamedev.net" target="_top">Go to GameDev</a>
The target window options are:
_self : Opens in the same window and same frame.
_top : Opens in the same window, taking the full window if there is more than one frame.
_parent : Opens in the parent frame.
_blank : Opens in a new window.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement