How I make to open html window pop-up over other opened pop-up ??

Hi
I need open many html window pop-up OVER other windows html pop-up.
I made a javascript function, but it only open one window pop up.
function NewWindow(mypage,myname,w,h,scroll,pos){
     if(pos=="random"){
          LeftPosition=(screen.width)?Math.floor(Math.random()*(screen.width-w)):100;
          TopPosition=(screen.height)?Math.floor(Math.random()*((screen.height-h)-75)):100;
     if(pos=="center"){
          LeftPosition=(screen.width)?(screen.width-w)/2:100;
          TopPosition=(screen.height)?(screen.height-h)/2:100;
     }else if((pos!="center" && pos!="random") || pos==null){
          LeftPosition=0;
          TopPosition=20
     settings='width='+w+',height='+h+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=no';
     window.open(mypage,myname,settings);
What I have to do..to open one over one ??? And this haven't limits...on cascate.
Sorry my mistakes, because I'm still learnning english language.

"I made a javascript function, but it only open one window pop up"
If you use the same name then the browser will not open a new window but just re-use the previously opened window. You will either have to not use a name or use a different name for each pop up.
To get the new window to be on top get the handle to the new window and assign it the focus
var win = window.open(mypage,myname,settings);
win.focus();

Similar Messages

  • How to make movies open in the center of my screen.

    Does anyone know how to make Quicktime open up videos in the center of a screen? When I double click any movie file it pops open in the uppermost far left corner, and I have to drag it down into a more comfortable area. It's annoying with a large monitor.
    Thanks
    noodle--head

    The script writing lobe of my brain was damaged by years of drug abuse, years ago. Try as I might, I can't seem to get it right.
    The most common error I get is:
    Expected end of line, etc. but found “end tell”.
    I tried modeling one of any number of existing scripts but still no dice.
    I tried this:
    tell application "QuickTime Player"
    activate
    set the bounds of window 1 to {235, 58, 944, 590}
    end tell
    And got this error message: QuickTime Player got an error: NSReceiverEvaluationScriptError: 4
    I know this is simple but, like I said...
    nnooo-dlehead ssslowto catchon

  • How to make Firefox open automatically a new, empty tab in each start, but keep last sessions?

    How to make Firefox open automatically a new, empty tab in each start? (keep last sessions as well) It will be good, because Firefox wont load the previous sessions last watched tab after start straight away, but keep my previous sessions tab as well in the browser.

    Hello,
    You can change your home page settings to open a blank tab:
    * Tools (or [[Image: New Fx Menu]]) > Options > General
    * Beside "Startup", change to "Show a blank tab"
    * See the article [[Startup, home page and download settings]] for more information
    To retrieve your previous browsing session, first make sure that you are not running in [[Private Browsing - Browse the web without saving information about the sites you visit|Private Browsing mode]]. When you start Firefox, to recover your previous session, you can go to:
    * History (or [[Image: New Fx Menu]] > History) > Restore Previous Session
    * Please see [[Restore previous session - Configure when Firefox shows your most recent tabs and windows]] for more information

  • How to make another modal popup window in a modal popup window?

    how to make another modal popup window in a modal popup window?
    two modal windows must be made by inheritance of JDialog.

    the jdialog has constructors where you can set another jdialog as owner. (the same as frame)
    Visit our german java forum at http://www.java-forum.org/de
    An english version will be released soon at http://www.java-forum.org/en

  • How to make Finder open automatically...?

    How to make Finder open automatically when I insert external drive?

    Make sure the Finder preferences are set to display hard drives:
    OT

  • How to make Excel VBA (on Windows OS) to work on Mac

    Hi,
    I have made an application which uses Excel forms and other features of Excel Form 9like Title, Combo Box, List Box, Buttons etc).
    The code works well on Windows OS however when I run it on Mac it fails to work. Can anyone help me how to make this work.
    Regards, Hitesh

    Hi ExcelUser2507,
    To be honest, I do not have much experience about Office for Mac.
    >> The code works well on Windows OS however when I run it on Mac it fails to work.
    This is possible, MAC and Windows are 2 different platforms and the features of Office System on this 2 platform is also inconsistent (the Office for Windows has more rich features).
    >> How to make Excel VBA (on Windows OS) to work on Mac
    This forum is mainly for discussing question about the Office on Windows platform.
    The thread below may help, and Office for Mac forum should be more appropriate for asking questions about Office for Mac.
    http://answers.microsoft.com/en-us/mac/forum/macoffice2011-macword/vba-support-on-office-mac/5023cdbc-fadf-4e39-a49f-59d2534aef85
    Hope it will help.
    Best Regards,
    Edward
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to make links open in new window

    Is it Javascript? How do you make links open in a new
    window.. what's the code and where do you put it, how do you end
    it?

    Target box (below link box0) to "_blank"
    "BenMan 88" <[email protected]> wrote in
    message
    news:e7v4it$jfj$[email protected]..
    > Sorry, this is totally unnecessary and I hope it doesn't
    irritate anyone
    > but thank-you this posting helped me very much.
    >
    >

  • How to make link open in new TAB and not new window

    Mac users can do the following...
    http://www.switchingtomac.com/tutorials/how-to-force-safari-4-to-open-links-in-a -new-tab-instead-of-a-new-window/
    how can this be done for WIndows users?
    Using Safari 4.0

    I'm not totally sure what you mean, because unless you are talking about not having to right-click a link first, that is prasisly what I do. the link you provided I just right clicked it & clicked on "open in new tab" ,& that's what it did.
    - But now because that was so easy to answer, I can only assume you mean not actually having-to right-click a link to open it up in a new tab. ,hope this helped.

  • How to make 'always open in ... view' check box actually work?

    What I need is a "Make 'Always open in ... view' check box work" check box.
    Specifically:
    I double click on my hard drive icon to open its window. I press command 3 to make it display in column view. I press command J and check "Always open in column view" and check the further check box, "Browse in column view". Then later on having viewed various windows I double click on the hard drive icon and it opens in some other view than column view. So, how to make the check box do what it actually says it will do?
    Thanks.
    edit: In fact in Panther, and probably other older OS X's, all folders would generally remember (I think) how it was last viewed and use that again. How to make that happen? Thanks.

    Hi,
    For Question #1,
    refer this link.
    Hope it helps!
    Thanks,
    Avni Bhatt
    If this helped you resolve your issue, please mark it Answered

  • How to make safari open in full screen in Mountain Lion

    I can not make safari open in full screen mode since I upgraded to Mountain Lion
    It used to open in full screen mode, now every time I have to make it full screen each time.
    Helps appreciated
    Salih

    gunafly wrote:
    You can achieve this by going into system preferences>general>uncheck "close windows when quitting applications."  The apps will open fullscreen next time, even after a reboot.  One caveat, the window will open in the last session left...
    Hope this helps!
    Thank you, this resolved my question as well.

  • How to make agency-level HTML banner ads

    I've done a ton of Flash banner ads at agency-level over the years, but I'm trying to figure out how to create html banners now, in addition.
    Here are the HTML Ad Spec requirements:
    - HTML code cannot exceed 3k
    - 2 images maximum, total file size of images cannot exceed 20k
    In Flash, I've used these extensions to publish and am finding it's difficult to meet the required specs by the ad hosts:
    1. CreateJS  (creates a small html file (3k or less), but requires to be linked to js files which are double what my swf would be)
    2. Swiffy   (puts out just one nice simple html file, but it's almost triple the size of my swf, coming in at 86kb)
    I've also used:
    Edge Animate (creates a html file, but also links to js files that are over double what my swf would be).
    Either my animations have to become way less complex or I'm missing something in this new world of html animated ads.  It seems there's little findable information on how to make html banners at the agency-level.
    Can anyone educate me or point me in the right direction?

    The easy answer is those libraries are full of functionality "you might use". Those libraries are not built like libs such as Modernizr where you can select the exact functionality you need to reduce the library size.
    You're left with two options from there, neither are really ideal.
    1) You can hand code the JavaScript you require. Libraries help by providing extensive functionality beyond your absolute needs as well as cross-platform tweaks so your results are expectedly similar in all browsers. By writing your own code (plus required tweaks) you can drastically reduce the JavaScript size (amongst minification and gzip). That puts all the hard work on you which may not even be possible or feasible in your projects timeline.
    2) You can rely on newer HTML5 elements like Canvas, CSS3 and code from option #1. There are many effects in your example (directional blur, rotation, etc) that aren't easy to pull off but with the help of something like Canvas you can at least reduce the amount of JavaScript required. Think of it like a BitmapData object you can update at high speed that's mobile friendly. That aside, not all desktops users are guaranteed to support it and here comes the fallback bloated code.
    Your ads compatibility requirements will guide you on either path. I'd probably opt to look forward with basic fallback (to a static image) and go route #2 with Canvas. If so, here's one of many tutorials/blogs that can get you started:
    http://creativejs.com/2011/08/31-days-of-canvas-tutorials/

  • How to make PDFs open fullscreen in Adobe Acrobat DS on iPad?

    Hi,
    I'm putting together a corporate interactive PDF, and am struggling to make it open in fullscreen and single page by default on the iPad, despite setting it to do this when exporting. any ideas how to fix this? Thanks.

    That is not possible on iOS (and I presume Android) devices.

  • How to make an AIDrawArtAGMPort on Windows with CS3, CS4 and CS5

    Hi
    I want to use the function DrawArt of AIDrawArtSuite.
    To use this function, I must have an AIDrawArtGWorld or an AIDrawArtAGMPort or an AIDrawArtAGMPoirtV6 object.
    With CS6 SDK, this suite provides a mean to instantiate an AIAGMPort.
    With CS3, CS4 and CS5 this function doesn't exist.
    On MacOS X, I can build AIDrawArtGWorld.
    On Windows, I don't know how to do it.
    On Windows how can I make an AIDrawArtAGMPort  object ?

    Hi,
    It is not recommended way to install SAP System without following Standard Installation Method. Please read concerned Official SAP Installation Guide and follow the standard procedure without inviting more complexities and headache.
    Regards,
    Bhavik G. Shroff

  • How to make page centerd in window?

    I'm very new to web design, so please keep that in mind.
    My canvas is 800x600, and when I preview it in my browser
    that page apears in the top left hand corner (probably default). I
    would like to know if there is any way to position it in the center
    of the page - keeping in mind that viewers would have different
    screen resolutions when viewing it. So saying "just make the canvas
    bigger and move it over" wont work because someone viewing it with
    a screen at 800x600 would see it differently than one with
    1600x1200.
    These diagrams explain it better:
    This is how it is now:
    http://img176.imageshack.us/img176/5236/fireworks154454782hq.jpg
    This is how i want it to look:
    http://img283.imageshack.us/img283/1070/fireworks4633734hg.jpg
    I also would like a background behind the canvas.
    Infact exactly how this forum is set up is a perfect example. It
    has the white page with text etc... and the gradient background
    behind it.
    How would I go about doing this?
    And please keep in mind that I am new to this (just got
    fireworks this past weekend, and this is the first site I am trying
    to make).
    I appreciate any help :-)

    Here is some information on centering using CSS:
    http://www.maxdesign.com.au/presentation/center/
    Here is some info on backgrounds:
    http://www.dellwebsites.com/web/background.html
    Barefax wrote:
    > I'm very new to web design, so please keep that in mind.
    >
    > My canvas is 800x600, and when I preview it in my
    browser that page apears in
    > the top left hand corner (probably default). I would
    like to know if there is
    > any way to position it in the center of the page -
    keeping in mind that viewers
    > would have different screen resolutions when viewing it.
    So saying "just make
    > the canvas bigger and move it over" wont work because
    someone viewing it with a
    > screen at 800x600 would see it differently than one with
    1600x1200.
    >
    > These diagrams explain it better:
    >
    > This is how it is now:
    >
    http://img176.imageshack.us/img176/5236/fireworks154454782hq.jpg
    >
    >
    > This is how i want it to look:
    >
    http://img283.imageshack.us/img283/1070/fireworks4633734hg.jpg
    >
    >
    > I also would like a background behind the canvas.
    > Infact exactly how this forum is set up is a perfect
    example. It has the white
    > page with text etc... and the gradient background behind
    it.
    > How would I go about doing this?
    >
    > And please keep in mind that I am new to this (just got
    fireworks this past
    > weekend, and this is the first site I am trying to
    make).
    > I appreciate any help :-)
    >

  • How to make context menu in Windows 10 application?

    How to make context menu like this? With touch friendly and DPI per monitor awareness. Also considered WPF variant.

    Hybrid app? Do you mean Universal app?  Please explain what you're trying to make.
    Matt Small - Microsoft Escalation Engineer - Forum Moderator
    If my reply answers your question, please mark this post as answered.
    NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined
    objects and unknown namespaces.

Maybe you are looking for

  • Custom idoc process code with change pointers

    Hai gurus Any body tell me how to maintain the change pointers in process code of our custom idoc. Thanks Krishna

  • Acrobat Distiller and music notation application

    Hi All, I am on Windows XP, and Acrobat 7.0. I am trying to convert sheet music to PDF from the application Finale 2008. Occasionaly, sections are produced in the PDF where the lines are lighter, or in some cases are missing altogether.  It is not a

  • EF database first cascades delete despite cascade is restricted in db and edmx setting End1/2 OnDelete = "None"

    We are developing with Visual Studio 2013, Entity Framework 5, Oracle DB 11 via ODP.NET managed driver. The edmx is generated/updated from database (database first). We generate POCO object using standard T4. We have 2 tables with a master-detail for

  • Changing a user's username programatically

    Hi, I'm currently working on a java method to update a user's information on portal. I've been pretty successful using wwsec_oid.update_user_profile, but that doesn't (as far as i can tell) allow you to change a users' username. Is there a better way

  • 2 new users, same account

    My roomate and I have one computer that we share and use the same e-mail address. She bought a new ipod and registered it under the new itunes account I created. I now have a new ipod and wish to register it under the same account I created in the fi