...

View Full Version : button links



solarwind2424
03-10-2005, 03:55 PM
i know how to use button links...
this is how...



<html>

<HEAD>

<script type="javascript">

function goToURL()
{
window.location = "http://www.codingforums.com";
}

</script>

</HEAD>


<BODY>

<form>
<input type=button value="CODING FORUMS" onClick="goToURL()">
</form>

</body>

</html>


...BUT, how do you use a button link to link to a specific frame in a webpage


this is my frameset and index file:

index.html
frametop.html
frameleft.html
mainframe.html

index is the file which holds the frames in a frameset
there are 3 frames in index.html
one at the top,
one at the bottom, which is split into two frames.

so how do i use a button link to ... lets say... link to www.codingforums.com, but so that the target is "mainframe.html"?

--any help is appreciated, thankyou!

chump2877
03-10-2005, 04:47 PM
Please delete my post here....I know not what I say



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum