Results 1 to 4 of 4

Thread: How to control browser properties with JavaScript?

  1. #1
    Join Date
    Nov 2009
    Posts
    68

    How to control browser properties with JavaScript?

    Hey, I have a query that i need to solve so that i can work with the browser of mine. I have idea that how to make the Web page work on your finger with JavaScript which i have use but now i want to know about "How to control browser properties with JavaScript". So people with the knowledge can share the this with me so that i can get my hand on the same. Thanks in advance

  2. #2
    Join Date
    May 2008
    Posts
    191

    Re: How to control browser properties with JavaScript?

    With the JavaScript you can get your hand on the Window object of the browser by changing the some changes in the codes of the JavaScript. Window object have to method that id Open() and Close(). The open () are used for the opening of the browser if we change the code in this method then it will change the style of the browser opening. Just add extra - a comma-separated list of window attributes.
    Code:
    <script language="JavaScript">
    Window.open(<A href="http://localhost">http://localhost</A>, "new","toolbar=no,status=no,menubar=no,scrollbars=no");
    </script>

  3. #3
    Join Date
    May 2008
    Posts
    267

    Re: How to control browser properties with JavaScript?

    There are lots of attribute of the Window.open() method is available that work with the JavaScript to enable and disable these attribute The list of the attribute are given below which can be activated and deactivated with the '0' and '1'
    The Attribute are as follow
    1. width
    2. height
    3. location
    4. toolbar
    5. status
    6. menubar
    7. scrollbars
    8. directories
    9. resizable

  4. #4
    Join Date
    Nov 2009
    Posts
    68

    Re: How to control browser properties with JavaScript?

    Thanks for your quick response regarding the JavaScript in the Browser that i have asked about. Now i can access the browser as i wanted to. I have upgraded the opening and closing of the browser according to my need. I have also managed the pop up of the same. I am happy to work with the JavaScript. I hope to get more from here. Bye

Similar Threads

  1. Control Panel, Personalize and System Properties does not open
    By kusumanabh in forum Windows Vista Performance
    Replies: 2
    Last Post: 30-05-2010, 01:10 PM
  2. Javascript not working in any browser
    By Miles Runner in forum Software Development
    Replies: 5
    Last Post: 09-03-2010, 07:13 AM
  3. What are Flow Control Statements in JavaScript?
    By super soaker in forum Software Development
    Replies: 4
    Last Post: 09-02-2010, 04:46 AM
  4. Javascript Control Bar Issue
    By RAJalias in forum Software Development
    Replies: 3
    Last Post: 25-11-2009, 01:31 PM
  5. How to Use javascript to control flash files?
    By Taipai in forum Software Development
    Replies: 3
    Last Post: 15-09-2009, 06:43 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,488,521.62016 seconds with 17 queries