473,326 Members | 2,173 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

In Internet Explorer is their a way of determining if the sidebar is Active??

CES
I'm looking for a JavaScript/.net replacement for Netscape's
window.outerWidth that will work in IE and was wondering is their a way of
determining if the search/history/favorites/etc. sidebar is open ???

Any other suggestion on how to find the total with of the IE window would be
appreciated.
Thanks
CES

Nov 20 '05 #1
1 940
BET
Use can use automation to this the window size, here's a sample. You can
lookup the InternetApplication object for additional info

<script>
function window.onload()
{
var shApp = new ActiveXObject("Shell.Application");
var shWins = shApp.Windows();

var ieApp = new ActiveXObject("InternetExplorer.Application");
for (i = 0; i < shWins.Count; i++)
{
ieApp = shWins.Item(i);
if (document.title == ieApp.document.title)
{
alert("Window Size: width=" + ieApp.width + ", height=" + ieApp.Height);
}
}
}
</script>

"CES" <no**@none.com> wrote in message
news:o_********************@speakeasy.net...
I'm looking for a JavaScript/.net replacement for Netscape's
window.outerWidth that will work in IE and was wondering is their a way of determining if the search/history/favorites/etc. sidebar is open ???

Any other suggestion on how to find the total with of the IE window would be appreciated.
Thanks
CES

Nov 20 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: alb120 | last post by:
I implementing Internet Printing; but it fails: http://w23ksv/printers/ gives error on EI Version 6.0.2800.1106 (XP) "Server object error 'ASP 0193 : 80020009' OnStartPage Failed...
0
by: Alexander Fischer | last post by:
Hello folks, once again, I'm asking you for support: as described in my post of June 19, IE6/Win does not show a scroll bar even though it would be required if we have an absolutely positioned...
6
by: VK | last post by:
I'm using window.open method in my script to open poup window. Recently Internet Explorer users reported that the script crashes on their machine with different runtime errors. See the bug:...
0
by: Steve Podradchik | last post by:
Hi, We have a commercial app that downloads data from various Web pages (not via a Web Service, per se) and parses the data from the response. The code below works fine most of the time but, in...
4
by: zz | last post by:
Sorry for posting this here but unfortunatly I couldn't find any appropriate newsgroup for this and since I've been active here with .net question I figured you guys might be able to help. ...
11
by: Doug van Vianen | last post by:
Hi, I often like to include some JavaScript coding in my web pages to make them more interesting. Unfortunately, even when this coding is as simple as a check to see what the display width is in...
3
by: bharath.0523 | last post by:
hi, I have developed a multithreaded MFC activeX control, which i host on the Internet Explorer. when i click on the close button of the Internet Explorer i.e., when the user decides to end the...
10
by: Lorie0114 | last post by:
Hello, We have an issue that I do not know how to resolve. Our website has several hundred reports. There are a handful of them that are causing issues when there is no interaction for a couple...
15
by: moltendorf | last post by:
I have created a little chat application that seems to work 100% on Mozilla Firefox, Google Chrome, and Safari, (tried it in Opera, and it seems to work, but the cookies are screwing everything up;...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.