Browser Setings? / Location

Pages: 1, 2
free web hosting
Free Web Hosting, No Ads > CONTRIBUTE > The Internet > Web Design

Browser Setings? / Location

zach101
Hey guys im making a site and i was wondering how do i make it so that it opens into a specific size? not a link from my site but the actual index file. I found this site and i think its on the right track but dint tottally work for what im doing because they just tellyou how to open a link in a specific size and not your actual index file any help would be awesome

link: http://www.mcli.dist.maricopa.edu/tut/tut27c.html

Reply

Inspiron
I don't think there's anyway that you can open the site directly to suit in a specific size. An alternative, you may try making a splash page as the index with a "ENTER" link or something related. Thereafter the visitor clicks the "ENTER" link, a new window will open according to your size specified.

Reply

leiaah
Hey Zach! If you are using Macromedia Dreamweaver you can make use of the behaviors panel there to create the JavaScript to open a new window for your index page.

Find the Behaviors Panel > Add behavior > Open new window (or something like that...can't remember and this isn't my pc wink.gif ) . You only have to change the EVENT (also in the behaviors panel) to 'onLoad' so that when you type in the address bar, your site will automatically open in a new window.

If you're not using Dreamweaver you can code the javascript yourself and just change the EVENT to onLoad then assign it to the javascript function that opens the new window like onLoad="openNewWindow();" . That's basically the principle behind it.

I hope this helped.. smile.gif

Reply

zach101
well both of your guyses ideas helped what i was thinking was perhaps making an intro page with a meta in the head to have it after five seconds auto load the new window so that could work but still id like to not have an intro page and just load directly into the main thing however no unfortunatly im not using Dream Weaver sad.gif so do i put that java script in the head or the body of the index file? could u write out the actual code for me so all id have to do is change the dimensions ? thanks for the help guys

Reply

ashiezai
hey there ... regarding your question ... it's kinda easy to do that ... im sure someone has already tell you how to do that .. smile.gif

Reply

zach101
Um actually they havent lol so could you help me out on this matter?

Reply

bonniecool
What you want are mostly being used in a pop-up window. I haven't tried this but i have some in mind that its a matter of code. Just use that pop-up code in your index page maybe it will work.

If its works....tell me how. lol!


Reply

zach101
i have firefox so i never get pop ups lol so um what is the code for a pop up window?

Reply

bonniecool

Make a blank index page and place the code inside:

Just change the url for your mainpage and the size of the page.

place this code inside <head> tag:

<script language="JavaScript">
function PopWindow() {
var Url = "http://www.yourwebsite.com/mainpage.htm";
var WindowWidth = 200;
var WindowHeight = 200;
var WindowTop = (screen.availHeight/2) - (WindowHeight/2);
var WindowLeft = (screen.availWidth/2) - (WindowWidth/2);
var WindowProps = 'toolbar=0,location=0,status=0,menubar=0,scrollbars=0,resizable,width='+WindowWidth+',height='+WindowHeight+',left='+WindowLeft+',top='+WindowTop+',screenx='+WindowLeft+',screeny='+WindowTop;
PoppedWindow = window.open(Url,"PoppedWindow",WindowProps);
}
</script>


Place this code onLoad="PopWindow();" inside your <body> tag
like this:
<body onLoad="PopWindow();">



Test it. i dont recommend this one coz you'll be no where to find in search engines if you use this.

Do far this only i can help. LOL!

Maybe other guys there can incorporate on this idea.

 

 

 


Reply

zach101
okay bonnie thanks so much for that and i might still use it however i was thinking of doing something like haveing an intro page and then meta loading to my main one however i was wondering what is the matter with this code here:

<META HTTP-EQUIV="REFRESH" CONTENT="6; URL=testing.html" widt = 400, height =600> now thats in my heading tag but when it goes over to the new page its not resizing the browser any ideas why?

Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.
Confirm Code:

Pages: 1, 2
Similar Topics

Keywords : browser, setings, location

  1. Scroll Message On Top Of Your Browser..
    (3)
  2. Best Browser To Desighn Your Site To
    not much of a question but more like a statement (16)
    well since i started web desighning i've always used internet explore (why?) well when i first
    tried FF2, i wasn't a "web-designer" then so i didn't care much about css and htlm stuff, i
    din't like it and one of the reason was beacause a couple of the sites i visited wasnt firefox
    compatible. but anyways recently i was desighning a site for this community. so like two weeks ago i
    downloaded FF3 for testing purposes. in IE the site looked great but what i found was that in
    firefox the site was horible, as bad as they could come. so since firefox was better....
  3. Browser Based Proxy
    (1)
    So, being in school, and known as the nerd, I often hear "Dude, get me onto Myspace!". Most of
    the time I just say no, but if I can install a proxy directly into my site and allow students to go
    around proxies simply by going to my site and typing a web site into a text box and clicking
    "Go!" I can't even imagine the amount of traffic I'd get. So, my question is, how hard
    is this? Any codes some one can supply?....
  4. Bonecho
    Firefox's New Beta Browser (3)
    Ok I just got the newest development build of BonEcho and, maybe it's just me, but I don't
    remember seeing this in Firefox anywhere. BonEcho now has a spell check built into it? If I am
    mistaken, someone please let me know, because either I wasn't typing a whole heck of a lot or I
    was just so dumb for missing it. /biggrin.gif" style="vertical-align:middle" emoid=":D" border="0"
    alt="biggrin.gif" />....
  5. "un-supported Browser" Message
    Site won't let me in because of it. (4)
    Boy, this is a new one for me. I know enough about the Web to know that it is possible to detect the
    Browser which is being used to call a page, and I know that there are differences between Browsers.
    I also don't think this is right, but has anyone else ever seen the situation I am about to
    describe? Cruising the Net. Click on a link. The Browser does its thing and an error message pops
    up to say "Sorry, your browser is no longer supported by Micro$oft, so you can't view this
    page. " Now, I could understand if it was a Micro$oft site or a techy styl....
  6. Web Browser Standards Support
    which tag works in which browser (4)
    Made a new site recently? Want to know which tag will work (show up correctly) in which browser
    (Internet Explorer 6, Firefox 1.0+, Opera 8)? Well, the Web Browsers Standards Support reference
    is what you need. Not only can it tell you which tags are supported on the three browsers, but it
    also tells you which CSS property is supported, which print property, and which voice property is
    supported. Definately worth a bookmark. Link: http://nanobox.chipx86.com/browser_support.php
    Enjoy!!....

    1. Looking for browser, setings, location

*RANDOM STUFF*





*SIMILAR VIDEOS*
Searching Video's for browser, setings, location

*MORE FROM TRAP17.COM*
advertisement



Browser Setings? / Location



 

 

 

 

ADD REPLY / Got an Opinion! a humble request :-) RAPID SEARCH! Free Hosting [X]
Express your Opinions, Thoughts or Contribute more info. to help others.
Ask your Doubts & Queries to get answers, So that "Together We can help others!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE