Javascript window.open always focus back to the main page

Hi , my web ibanky.com if u click "board" button
new windows will open when windows load finish
the brower will bring me back to the main page. why is this the case?
Thanks

It seems the focus sometimes goes to the main page because your main page is getting submitted. To prevent the main page from being submitted, try using the following for your Button's onClick property:
var f = function() {window.open('http://ibanky.com/board'); return false;}; return f();

Similar Messages

  • With recent update of Firefox, I can no longer set the default page, it always reverts back to the Mozilla page, why?

    Why can I no longer set the default page to something else? Every time I open Mozilla Firefox, it always reverts back to the Mozilla page. No matter how many times I do this, it always reverts.

    Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]

  • Hi, I've been playing Smurf's village for a year now and just last week, i tried to get into the app but it keeps rejecting and goes back to the main page.  Is there any reason for this?  I've been updating the app everytime and now it's not letting me in

    Hi, I've been playing Smurf's village for a year now and just last week, i tried to get into the app but it keeps rejecting and goes back to the main page.  Is there any reason for this?  I've been updating the app everytime and now it's not letting me in.  Pls advise. Tq

    Reset the device, restart the device, try downloading any other app.
    All of these are basic steps that could have been found by a simple search of the forums as a resolution for the issue.

  • Preventing the User from going back to the main page after logging out.

    Hi all,
    In my project I want to prevent the User from going back to the Main page, by clicking the back button of the browser, after the user has loggged out.I had invalidated the session so the user will not be able to do any operations, but he can vew the infos. I want to redirect to the login page if the user tries to go back using the back button after he has logged out.
    I tried the same in this forum after loging out. Surprisingly it is the same. I can browse through all the operations i did even after logging out from here.
    Is it not possible to do that in Servlets?Could somebody help?
    Thanks,
    Zach.

    Hi,
    You can use a servlet filter to do this , as it can interceptany request to your application you can decide to allow user access or not to any page/servlet.
    public class Test implements Filter{
         public void destroy() {
         public void doFilter(ServletRequest arg0, ServletResponse arg1, FilterChain arg2) throws IOException,
                   ServletException {
              System.out.println("filter");
              HttpServletRequest request = (HttpServletRequest) arg0;
              if(!request.getRequestURI().contains("index")){ // set condition that will be checked to verify if the user is logged in
                   System.out.println("redirecting ... ");
                   RequestDispatcher d = arg0.getRequestDispatcher("/index.jsp");
                   d.forward(arg0, arg1);
              arg2.doFilter(arg0, arg1);
         public void init(FilterConfig arg0) throws ServletException {
    }in you web.xml add :
    <filter>
              <filter-name>test</filter-name>
              <filter-class>test.Test</filter-class>
         </filter>
         <filter-mapping>
              <filter-name>test</filter-name>
              <url-pattern>/*</url-pattern>
         </filter-mapping>

  • Please put "Skype Credit" back on the main page.

    Skype
    Please put the "skype credit" back on the main page.
    This post was transferred from its previous location to create its own new topic here; its subject and/or title has been edited to differentiate the post from other inquiries and to reflect the post's content.

    Skype
    Please put the "skype credit" back on the main page.
    This post was transferred from its previous location to create its own new topic here; its subject and/or title has been edited to differentiate the post from other inquiries and to reflect the post's content.

  • Re: after updating the app Flight Tycoon, i cannot access the game. Each time I click on the app it goes back to the main page.

    Re: after updating the app Flight Tycoon, I cannot access the game. Each time I click on the app it goes back to the main page.

    Send a bug report. And wait for an update.
    OR
    uninstall and re-instal the game all over.

  • Creating a button that leads back into the main Pages/States from a custom component

    Hello Y'all! isnt F.C. awesome!
    BUT... just cant get a button that leads from a custom component ive made back into the main bulk of pages and states ive created to work.
    it runs a bit like this:
    Main title page...
                            Photography...
                                                 Nature (on which theres a Custom Component which when clicked leads to...)
                                                            20 different custom component states each with different pics, linked via buttons
    from each of which id love a button that led back to Photography, exiting the custom component
    ive tried the basics:      Add interaction.. when clicked.. play transition to.. state: Photography
    but to no avail
    any ideas? im at a loss!
    thanks in advance,
    Tom

    Cross component communications are an issue in Flash Catalyst 1.0. Thankfully, in Flash Catalyst 5.5 the team addressed some of those issues.
    The only idea I have for remove the 'return' button from within the component, then it should be able to get you back to the home state.
    Or, you might be able to wait a few weeks for the new version of Flash Catalyst to ship (or you can play with the older preview release on labs.adobe.com)
    Chris

  • I was able to search google. Then close the window and later get back to the search page. Now I cannot?

    I am using Snow Leopard OS X 10.6.8 and iMac with 6GB RAM. When I go back to Safary/History/Google search all I am given when I click on the Google search subject a "Blank window" to re enter my subject. I used to be able to get back to the original search window with all the Hits or  links available.
    What have I done wrong with my preferences, can you help? Thanks, Bob

    Bob
    Try deleting the Safari cache more often. From the Safari menu bar click Safari > Empty Cache
    Quit then relaunch Safari to test. If that doesn't help, try this ...
    Open the Finder. From the Finder menu bar click Go > Go to Folder
    Type this exactly as you see it here:
    ~/Library/Caches/com.apple.Safari/Cache.db
    Click Go
    Move the Cache.db file to the Trash.
    Quit and relaunch Safari to test.

  • I cannot open my apps on my iPod touch 4th generation. Every time I open an app it sends me back to the main page

    I cannot open my apps on my iPod touch 4th generation. Every time I try to open an app it sends me back to the app selection thing.

    Try a hard reset first. Press and hold both the Sleep/Wake and Home buttons together long enough for the Apple logo to appear. 
    If still no luck, try downloading and installing a new app from the App Store.  Doing so has cleared the issue up for several users.
    B-rock

  • In my iBooks store I have the crime and thriller category, but can't get back to the main page with all the categories.  Help!

    iBooks

    Is the store frozen i.e. can you navigate within that category ? You could try closing the iBooks app completely and then re-open it and see if it then works : from the home screen (i.e. not with iBooks 'open' on-screen) double-click the home button to bring up the taskbar, then press and hold any of the apps on the taskbar for a couple of seconds or so until they start shaking, then press the '-' in the top left of the iBooks app to close it, and touch any part of the screen above the taskbar so as to stop the shaking and close the taskbar.

  • When i am in certain apps, some with using internet and some not, shuts down and goes back to the main page.  how do i fix this or what is the problem?

    My ipad just started blanking out in certain apps, such as the NY post or certain games.  When i try to flip a page in the NY Post the ipad blanks out and goes back to the originial screen.  The same thing happens with some games.  Does anyone know what is wrong or how to fix this?

    Try resetting your iPad.  Press and hold sleep button until slider shows up on screen.  Shut down then start it up again.

  • HT1414 my Iphone is saying i need to restore but I do not want to i just want to cancel and go back to the main page slide bar

    I plugged in my iphone to sync, and then got the picture of cable and saying have to log in to itunes and now its asking me to restore
    I do not want to restore as I have not backed up my pics contacts etc and I did not sign up to cloud
    PLEASE HELP!!!!
    Is there any way to just go back to the slide regular and omit this stage to restore
    there must be something you can do so I dont loose everything on my phone
    thank you,
    Barbara Anne

    Is the phone working if it is not connected to the computer? I would imagine it is not. If the same screen is being displayed, the only option you have is to restore. If you did not backkup the data prior to this, then you will not be able to recover it. At this point, the data is already gone.

  • After latest security update Safari 5.1.9 (OSX 10.6.8) is not always going back to the preceeding page even the the URL is the correct page.

    On several different occassions, I have hit the back button on Safari and it goes baack to a page several sites earlier.  The URL displayed is the correct one (the one preceedin the page), but the page is not the one that the UL is saying it is - sometimes it is an entirely different domain.  Any ideas anyone?
    Sass

    With Safari open, press Command + Option + E on your keyboard (empties the Safari cachee) then quit and relaunch Safari to test.
    If that helped, empty the cache more often.
    BTW, the Safari 5.1.10 update is available for download > Safari 5.1.10 for Snow Leopard

  • When I plug my device into my computer, it goes directly to the ITunes store. How do i get back to the main page with all my device info

    How do i get back to my device home page

    I had the same problem with mine when I connect the ipod when it's full charged and turn on. The problem never happen when the ipod is charging or i'ts full charged and it's turn off. So just turn off your ipod down and connect to your mac again.

  • Why does my ipod 4 gen keeps booting me off what im reading and gos back to the main page

    Why does my ipod keep booting me off the internet or anything i get onto to read and play n goes back to main screen ? Help pls

    See:
    iOS: Troubleshooting applications purchased from the App Store
    Contact the developer/go to their support site if only one app.
    Restore from backup. See:
    iOS: How to back up              
    Restore to factory settings/new iPod

Maybe you are looking for

  • I cannot get itunes installer to download

    I had to remove (as per wonderful instructions) everything on my computer due to the recent bug in the upgrade.  I have not been able to download itunes again to reinstall it.  I'm not sure what the problem is.  I have double and triple checked that

  • Ecc 6.0 SPDD umodauto.lst

    Hi, We are upgrading from 46c to ecc 6.0. Now we completed the Development upgrade and upgading QA. We did SPDD during upgrade and we did not get umodauto.lst fine in ../bin directory. Now I want to know the exact process to get umodauto.lst file and

  • Column Ordering in chart

    Hi Guys, I had a requirement,  we have two Types of Industry showing in Report, Industry A have the following, A,D,F,G,Y,Z Industry B have the Following, S,T We need to show the Industry based report with ordering like,Indsutry A should appear first

  • AWT method not recognised

    Hi, I am trying to compile a simple program on centering a window using the get local graphics environment method but I received the error "getCenterPoint()" symbol not recognised. Can someone help please. The code is below import javax.swing.JFrame;

  • Question mark top right of all windows

    There has suddenly appeared a large grey question mark at the top left of all windows, for example,the main HD window and all the folder windows. The finder text font is also different to how it was before. Any ideas? Thanks everyone.