PDA

View Full Version : simple QUESTION simple ANSWER


Jennerin630
10-03-2004, 12:03 AM
:order: Hello: Thanks for reading...

I need a code to put in my web page that will lock the browser window into a ceratin size - and always open to 800x600. Is there a code that will do that?

Also - is it possible to have a web site off of an ftp site? like for example - I have create a site on a FTP site - however when I type in the www. address .com - I just get a list of files - is there anyway to get it to open the index file right away?

Is any of tis possible?

Thanks.

Jennifer

Colin Harrison
10-26-2004, 06:40 AM
Hey Jennifer,

Can't help you with the ftp question, but for page resizing, try this:

<head>
<script language="JavaScript" type="text/javascript">
function callJS(jsStr) {
return eval(jsStr)
}
</script>
</head>

<body onload="callJS('resizeTo(800,600)')">

I should add that I've seen questions like this get jumped on in other boards: replies like "Leave your user's browser alone! It might be your page, but it's their computer!" That kind of thing. I guess I can see their point, although my own homepage resizes on load (and nobody has threatened my life yet...)

Cheers,

Colin.

Terminator1138
11-22-2004, 01:44 PM
I know I'm a bit late, but since no one has answered your ftp site question, I will give it a go. FTP is protocol for file transfter so a site can not be based of it say another www.site or something similar. When you create an ftp site you only get files because it lists them into a directory.

As far as many sites, you can subdomain your site into many sites. does this help some?