PDA

View Full Version : URL jump box help!


craigpeake
12-22-2002, 11:34 AM
On my website (not yet on the net), it loads into a full screen window, without the address bar at the top. I wanted to create a fun way fir my visitors to surf the net, but my site is in frames. The URL jump boz is in one frame, but i want the address the user types in, to go into another different frame. How do i do this? If you know what i meen, please help!

Here's the code i used:

<form name="jumpurl1" onSubmit="return jumpit()">
<input type="text" size=30 name="jumpurl2" value="http://">
<input type="button" value="Go!" onClick="jumpit()">
</form>
<script>

function jumpit(){
window.location=document.jumpurl1.jumpurl2.value
return false
}
</script>

scroots
12-22-2002, 11:46 AM
change
window.location
to
framename.location

where framename is the name of your frame.

scroots