Click to See Complete Forum and Search --> : window on an index page


haynbrian
09-13-2003, 04:51 PM
Hey all,

I know this might sound confusing at first, so I'm going to do the best I can trying to explain it.

I want to make a site that when you first go to the site, the actual index page will just have a logo on it, and the page with all the content would be a fixed size new window (approx. 600X400). I've seen flash sites like this, but this won't be flash based, rather it will be all html/javascript.

Hope that makes sense. If anyone can help with this I'd really appreciate it. Thanks!

Brian

mg8
09-13-2003, 06:12 PM
<html>
<script language="javascript" type="text/javascript">
<!--
function haha(){
window.open('url', 'nameofnewwindow', config='height=600, width=400')}
-->
</script>
A new window will open up!
<input type=button value="This will open up a new window" onClick="haha()"
</html>

There you go :)

96turnerri
09-13-2003, 06:55 PM
you beat me to it lol, guess im getting slow in my own age

mg8
09-13-2003, 06:56 PM
Just spreading knowledge :p

haynbrian
09-14-2003, 09:31 PM
Awesome! Thank you.

Brian

spufi
09-14-2003, 10:27 PM
Can I ask why you want to create your whole site in a pop up window when it would work just as well on the regular page? Plus, that code offers no way for the 13% of people who have JavaScript disabled to view your actual site.