Would like new window to the top of frame

Hi,
I'm using this script to open a new window in the centre of
my screen and it works well. However I'd now like to adjust it a
little so that it opens the new window centrally, but at the top of
the screen, in other words as high up as possible with no space
above it.
Here's the script I'm using...
Thanks for any help you can give me : )

I find this very good.
http://valleywebdesigns.com/vwd_jspw3.asp
Jo
"Pedro_3" <[email protected]> wrote in
message
news:e2njsh$3sd$[email protected]..
> Hi,
>
> I'm using this script to open a new window in the centre
of my screen and
> it
> works well. However I'd now like to adjust it a little
so that it opens
> the
> new window centrally, but at the top of the screen, in
other words as high
> up
> as possible with no space above it.
>
> Here's the script I'm using...
>
> Thanks for any help you can give me : )
>
>
>
> <script type="text/javascript"
language="JavaScript">
> var win = null; function
MM_openBrWindow(mypage,myname,w,h,features) { var
> winl = (screen.width-w)/2; var wint =
(screen.height-h)/2; if (winl < 0)
> winl =
> 0; if (wint < 0) wint = 0; var settings = 'height=' +
h + ','; settings +=
> 'width=' + w + ','; settings += 'top=' + wint + ',';
settings += 'left=' +
> winl
> + ','; settings += features; win =
window.open(mypage,myname,settings);
> win.window.focus(); }
> </script>
>

Similar Messages

  • Would like new window to open in new tab as to opening in an exsisting tab and replacing open window

    Would like new window to open in new tab as to opening in an exsisting tab and replacing open window

    Could you describe the problem or problems in more detail? For example:
    * Are you clicking a link in page open in Firefox, or following a link from a different application?
    * Do you want different things to happen between those two cases?
    Background: Pages have a range of ways to set up a link. These can include:
    (A) Same window or tab (default)
    ''To change how this is handled, you can manually Ctrl+click the link to open it in a new tab, or use an add-on like Tab Mix Plus to override the default.''
    (B) New blank window (target="_blank")
    ''On the Tabs panel of the Options dialog, the first checkbox determines whether you see a new window or a new tab in the current window.''
    (C) Named target (e.g., target="MyApp")
    ''On the Tabs panel of the Options dialog, the first checkbox determines whether you see a new window or a new tab in the current window.''
    HOWEVER, if the site already used this named target before and the window/tab is still open, Firefox will re-use that window/tab and replace the current page with the new page.
    ''To change how this is handled, you can manually Ctrl+click the link to open it in a new tab, or perhaps an an add-on can override the default.''
    (D) Scripted (pop-up) window
    ''This can be the same as any of the above, or the page can bypass the new window/new tab setting by specifying certain features of the new pop-up window. There is a hidden override if you are running into this problem (browser.link.open_newwindow.restriction).''

  • I am working in photshop elements 13 organizer, album view, and would like to resequence (rearrange) the photos shown in the album but am unable to do so.  My understanding is that you can click on the phots that you want to move and drag it to a new loca

    I am working in photshop elements 13 organizer, album view, and would like to resequence (rearrange) the photos shown in the album but am unable to do so.  My understanding is that you can click on the phots that you want to move and drag it to a new location within the same album.  After i select the photo that I want to move and click on the photo, I get a cirlcle with a diagonal throught it and am unable to drag the photo to its new location.  What am I doing wrong?  I know this should be a simple thing to do.  Thanks

    Jimmy RG
    In the Elements Organizer 13
    The key to all this is to click on/select/highlight the Album that you have created in Local Albums.
    Then make sure that the Sort By: (in the row below the highlighted "Media" header is set for Album Order.
    You should see a number at the top left of each of thumbnails.
    Then, click on the thumbnail that you want to move, hold down the click, and drag the thumbnail to the wanted new location
    in the line up of thumbnails.
    Often I had to press down hard on the drag.
    Please let us know if that worked for you.
    Also, in Edit Menu/Preferences/Keyword Tags and Albums/Enable Manual Sorting Options, I set all for manual.
    ATR

  • When closing Firefox windows, I would like a warning before the last window closes. The about:config settings do nothing. There is a warning for multiple tabs..

    When closing Firefox windows, I would like a warning before the last window closes. The about:config settings do nothing. There is a warning for multiple tabs... why not for the last window? I do not use tabs... just windows... I have a mouse button programmed for that. It is really irritating to have to restart Firefox all the time and then open the history window because no warning was issued!

    This is ridiculous. I've had this problems for years now and I'm finally walking away from Firefox. I use my keyboards more than my mouse, and how many times does your finger slip and hit Command Q instead of W. How come FF can't reset something as trivial as this? So many people are having problems with this?
    Feels like FF has become too big, too slow and just not cooperative anymore. What a shame, I've been using Netscape/Firefox for 13 years. This is silly.

  • I would like to copy all the songs from one Ipod into another. All the songs are into my Itunes account, I tried to drag and drop the songs from the old Ipod to the new one but it doesn't work. Is there a way to do it ?

    Hello everybody,
    I would like to copy all the songs from one Ipod into another. All the songs are into my Itunes account, I tried to drag and drop the songs from the old Ipod to the new one but it doesn't work. Is there a way to do it ?
    I share one Itunes account with other people from my family and one person would like to keep the same songs on the new Ipod as the ones which were on the old one.
    Thanks in advance for your answer.
    Yan

    Hello Chris,
    Thanks for your answer. I was hoping for an easier answer. Too bad there is no drag and drop solution, it would have been much easier.
    Thanks for answering so fast.
    Bye.
    Yan

  • Goodnight. as you know apple has evolved considerably until today but there are people who do not have ability to buy new products. in my case I would like to know why the apple do not let the iphone 3g update to iOS 4.3 as are several applications that c

    goodnight. as you know apple has evolved considerably until today but there are people who do not have ability to buy new products. in my case I would like to know why the apple do not let the iphone 3g update to iOS 4.3 as are several applications that can not put on my iphone 3g due to this reason. Why does not Apple make a repository with applications for ios 4.2.1? or else do not work in an update to ios 4.3 on iphone 3g?

    This has nothing to do with Apple, as Apple does not make the apps.
    This is the decision of the app maker.
    Contact those app makers and ask them why they do this.

  • We just got a new computer and I would like to download all the music on my ipod to the computer.  How do I do this?  Thank you.

    I would like to download all the music on my ipod nano to my itunes account on my new computer.  How can I do that?  Thank  you.

    Can I still get music from the iTunes store and add them to my playlists?

  • On OSX Lion i used to drag the window to the top of the screen and get maximise, and drag the window right or left to show the both beside each other just like windows 7, How to do it on Mountain lion ?

    On OSX Lion i used to drag the window to the top of the screen and get it maximise, and drag the window right or left to show the both beside each other just like windows 7, How to do it on Mountain lion ?

    That has never been a feature of Mac OS X, but I believe there was some kind of third-party software that could add that capability.  i don't recall what its name is, but you must have had that installed, and it either isn't installed anymore (perhaps removed as incompatible?) or is not working properly in Mountain Lion.

  • I have Adobe Acrobat 9 Standard Serial No. and would like to upgrade to the Microsoft Windows 8 and the Office Professional Edition 2013.

    I have Adobe Acrobat 9 Standard [serial number removed by moderator] and would like to upgrade to the Microsoft Windows 8 and the Office Professional Edition 2013.

    Hi w james,
    As you mentioned that you are upgrading your Operating System to Windows 8 and MS Office to MS Office Professional 2013, please note that Adobe Acrobat 9 is not compatible with Windows 8 and MS Office 2013. You need to upgrade to Adobe Acrobat XI as it is fully compatible with Windows 8 and MS Office 2013.
    For more information, please refer:
    http://helpx.adobe.com/acrobat/kb/compatible-web-browsers-pdfmaker-applications.html
    http://www.adobe.com/products/acrobatpro/tech-specs.html

  • How can I open a new window with the same website like the one I have open?

    In safari I can open a new window with the same website like the one I have open, that makes it easy continuing to navigate on a website and to go back to the original website

    Hello Andieas
    Why open a new window for fast browsing??
    Open new tabs.
    Just right click on what you want to open and click "Open in new Tab"
    It is easy and doesn't consume memory from your computer as well as easy to navigate.
    Hope you'll like it

  • I have lost the window at the top of my screen where I would insert a website name.

    I no longer can enter a new website into the top of the Safari page as there is no window in which to insert it.  I also have no arrows to go forward or backward.  How do I get these to reappear?

    Joelle,
    On the Safari menu bar, select View>Show Toolbar.

  • Hi, I have bought Photoshop and Premiere Elements for windows, but I now have a iMac and would like to deactivate on the PC and transfer the programs to the iMac. Is that possible even do I bought it for Windows?

    Hi, I have bought Photoshop and Premiere Elements for windows, but I now have a iMac and would like to deactivate on the PC and transfer the programs to the iMac. Is that possible even do I bought it for Windows?

    Normally an Elements purchase is good for both platforms.  You should only need to download and install the Mac versions of the programs and install and activate them using the serial number you have from the opriginal purchase.

  • TS1424 I have all my previous music files in wma formats from PC Windows xp computer. But now I had decided to purchase an iMac computer, and there is a lot of information I would like to bring to the Mac, but I'm having problems with my music file, and o

    I have all my previous music files in wma formats from my previous PC Windows xp computer. And only two weeks ago I decided to purchase an iMac computer OS X Maverick, and there are a lot of files and information I would like to bring to the Mac, but I'm having problems playing my music file, suited to the PC but not with iMac as yet. So, I hope you can help on this...
    Kind Regards
    Robert Klaassen

    WMA files are 'window media audio' files, which is a Microsoft format. If you want to add them to your iTunes library on your Mac then you will need to convert them into a compatible format first. If you still have your windows machine then iTunes for Windows can convert them from WMA to MP3 format : https://discussions.apple.com/message/24158701#24158701
    Or try a search for, for example, 'convert wma to mp3' to find programs to convert them.

  • I have a sequence on tcp that is Standard Def. I have a new set of files in High Def that match the old files. I would like to replace all the SD footage with the HD footage. Anyone know of a workflow to do this task?

    I have a sequence on tcp that is Standard Def. I have a new set of files in High Def that match the old SD files. I would like to replace all the SD footage with the HD footage. Anyone know of a workflow to do this task?

    Do a media manage of the sequence converting the files to the appropriate HD format making the clips offline.  Then simply reconnect the offline clips to the HD clips.  There may be issues in the file names, but they can usually be worked out either with the naming options in media manager or renaming your hd files.  There are many utilities that allow you to batch rename files. 

  • Is there a way to open a new window from the "Go" menu in Mavericks?

    Before Mavericks, I was able to go from the Finder to the top menu "Go" -> "Utilities", or Applications or Home… and a new window would open.
    Now I have to manually open a new window to avoid loosing my existing window.
    Is there a way to open a new window from the "Go" menu?

    Before Mavericks, I was able to go from the Finder to the top menu "Go" -> "Utilities", or Applications or Home… and a new window would open.
    Now I have to manually open a new window to avoid loosing my existing window.
    Is there a way to open a new window from the "Go" menu?
    First, as others have already stated.....make sure the checkbox is deselected for "open folders in tabs instead of windows" in Finder Preferences.
    If you're like me and don't like tabs very much, there is a way to make folders always open in windows with a simple click (I'm using Mavericks 10.9.5).  Go to a root folder (for example, the Documents Folder), open it, and select View > Hide Toolbar, then all folders within that root folder will open in a new window.
    As an alternative method, any folder can be opened in a new window by holding down either Command Key while clicking the folder. But sooner or later you will forget to hold down that key, and then clicking on a folder will open in a tab (which will automatically resize the window and cause much aggravation).
    The Hide Toolbar trick will also work with any folder present on the Desktop. It will make all folders inside that folder open in new windows.
    To make the Applications Folder open in a new window when opening it from the menu bar at the top of the screen, you will have to open the main hard drive folder and use the Hide Toolbar trick. This will cause all folders inside it to open in new windows.
    Hope this helps.

Maybe you are looking for

  • How can I create a new documents folder

    Anyone know how I can create a new documents folder in my home folder? I accidently deleted it. Nothing was in it, so I don't need to recover it. I just want a new empty documents folder. Actually, never mind. I solved the problem myself. At first I

  • Canon  MP 620 not recognised since new airport extreme

    I've been successfully using a Canon MP620 printer and scanner wirelessly for about six months but then my old Buffalo AirStation gave up the ghost and I replaced it with a new Airport Extreme. It was a joy to get something out of the box, plug it in

  • Subr stack depth exceeded

    Hello, makeotflib [WARNING] subr stack depth exceeded (reduced) Is this a problem of my feature code or more an information statment of MakeOTF? Anything to do? Andreas

  • Multiple versions of help - Are areas the answer?

    I have a scenario where we need to be able to have multiple products with multiple versions of that product's help file being published to RoboHelp Server. We are using RoboHelp 8 to publish to RoboHelp Server 8. I am happy with the concept of areas

  • Need help with Raw file converter for ps6 on windows xp

    I had to re-install my CS6  on my computer and now I can't get any of the raw files open.  I'm not on the cloud and am running Windows xp, service pack 3.  Can anyone help?