Using menus to open a new page in my app problem.

function load1() {
    open("page1.html");
}
function load2() {
    open("page2.html");
}

I was with ripple to test my application since the real simulators kill my computer and it seemed to work. He opened page1 and page2 in a new tab in Chrome. However on a Blackberry real device using open() fails. I can't for the life of find me what to replace it with.

Hi Tsudeily,

Try this:

function newsChannelMenuItem()

{

Location.href = "newschannel.html";

}

Kind regards

Klamauck

Tags: BlackBerry Developers

Similar Questions

  • Using the MF and the "open a new tab" + sign opens a new page with a list of site visited recently, which is a very useful tool. It works fine on my two desktop computers, but

    Using the MF and the "open a new tab" + sign opens a new page with a list of site visited recently, which is a very useful tool. It works fine on my two desktop computers, but I can't it to work on the laptop.

    I downloaded "New tab Pro" on the laptop (do not even see on desktop computers so don't think about) such that she was like the real deal but nope... do not work. Running the latest version of MF, ideas on how activate it please?

    Thank you guys are going to mark as 'resolved' BTW it is no "folder on the desktop named old data from Firefox. Hmmmmmm.

  • How to open a new page (new document) without closing existing?

    How to open a new page (new document) without closing existing?

    In the current version of Pages on a Mac, you simply go to the file menu and click New or use the keyboard N command.

  • If I have a small Firefox page I can not open a NEW page. He let me just open a new tab on the reduced page

    If I have a small Firefox page I can not open a NEW page. He let me just open a new tab on the reduced page. I used to be able to open a new page in browser icon on my desktop, but for these last days, it won't let me. It is a desktop computer, running Windows 7. Everything is up-to-date.

    Hi Deb, it's hard for me to test it personally because I've pinned the shortcut of Firefox to the taskbar, which changes its behavior, and when I remove it, I don't fit my desktop icon. (?!)

    Anyway, as a temporary workaround solution while we sort out this point, you can use the 'Skip' list: right click on the Firefox icon in the task bar and choose 'Open a new fenΩtre' that should certainly generate a separate window and not only a new tab in the existing window. Normally works?

    Firefox has a hidden setting that you might try to change to see if it makes a difference. Normally, when you open a link in another program, it opens in a new tab in the last window of Firefox, that you used. Your what's doing? I propose changing the setting so that the link must open in a new window to see if it has an impact on this problem.

    (1) in a new tab, type or paste Subject: config and press ENTER. Click on the button promising to be careful.

    (2) in the filter box, type or paste link.o and make a pause so that the list is filtered.

    (3) double-click the preference browser.link.open_newwindow.override.external and set its value to 2 and click OK.

    The possible values for this preference are as follows:

    -1 = follow your settings in the Options for new tabs vs new windows (default)
    3 = open external links in a new tab in the last active window
    2 = open external links in a new window
    1 = open external links in the last active tab replaces the current page

    There are a few other similar named preferences, so be sure to change one that has 'external' in the name.

    Any difference?

  • Each page is a zoomed out, and if I Zoom it, it is a normal size for a while, but when I close firefox and open it again, it has zoom out again, I have to zoom each page everytime I open a new page.

    Each page is a zoomed out, and if I Zoom it, it is a normal size for a while, but when I close firefox and open it again, it has zoom out again, I have to zoom each page everytime I open a new page.

    How to use Zoom?

    The function Zoom of Page Firefox does a level of field by field to save favorite settings level users zoom, there is no default Page Zoom level setting in Firefox. Try these extensions:

    -> Default FullZoom Level 4.5

    -> NoSquint 2.1.2

    Check and tell if its working.

  • Is there a way to make the safari opens a new page every time?

    Hello

    I'm kinda new here and I would like to ask a question. I now use an iPhone as a primary device, instead of Android. But is there a way to make the safari to remove all tabs when you close, and when you open it, it just opened a new page or a blank page? My phone is just laying around sometimes and I let my friends to use. But when I close safari after I order something or when I'm checking my bank account, they can all see when they open up safari...

    All I can think is to close all tabs before close Safari, or use it in private Mode:

    Enable or disable the navigation on your iPhone, iPad or iPod touch - Apple Support

  • When you use quicklaunch to open a web page, if I already have an open page, how can I open a second page or pages using an icon from quick launch without closure or replacing the one I already opened?

    When you use quicklaunch to open a web page, if I already have an open page, how can I open a second page or pages using an icon from quick launch without closure or replacing the one I already opened?

    Hi Haubhaus,

    I know one thing to get your links to always open in a new window:
    1. Right-click on your desktop, select new, then shortcut
    2. Type "" C:\Program may Explorer\IEXPLORE. "." EXE" and click Next
    3. Name the shortcut (for example: Microsoft Home) and click Finish
    4. Right-click on the new shortcut and select Properties
    5. In the target box, arrow over until the end of the path, add a space and add -new (WEBSITEPATH). When your finished, your path should look like this:
      "" C:\Program may Explorer\IEXPLORE. "." "EXE" - new www.microsoft.com
    6. Click OK and try it!
    Let me know if it works or if I can be of further assistance!

    Cody C
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • link to url, '_self' opens a new page...

    I'm trying to get my button to navigate to _self and the link opens a new page. Is there something wrong in my code?

    my_btn.addEventListener (MouseEvent.MOUSE_DOWN, mouseDownHandler);
    function mouseDownHandler(event:MouseEvent):void {}
    navigateToURL (new URLRequest ("myurl"), "_self");
    }

    Thanks in advance for any help!

    the two parameters are strings or string variables.  you use a variable (which shouldn't be in quotes).

    Here's a sample: http://www.kglad.com/Files/forums/Untitled-2.html

    and, assuming that it works for you: http://www.kglad.com/Files/forums/Untitled-2.fla

  • What code to navigate to page without having to open a new page?

    Hello, I have a flash button embedded in a css/HTML page that I want to use to navigate to a new page without having to open a new window. Here is the code I use in the SWF file that I got the adobe tv tutorial:

    http://TV.Adobe.com/watch/ADC-presents/buttons-and-interactivity-in-Flash-CS4

    Here is the test page that I joined the flash button: http://ianmartinphotography.com/testers/index-Flash.html

    The 'flash' button is the button "about Ian" at the top left. I want to like traditional bearings navigation on the page. (I'm working my way until the button built-in flash melted in place, that's why I use flash.)

    // 1. Event handler function

    function clickHandler (Event: MouseEvent): void
    {
    trace ("Click!");
    navigateToURL (new URLRequest ("http://ianmartinphotography.com/about.html"));
    }
    // 2. Assign the listener
    about_btn.addEventListener (MouseEvent.CLICK, clickHandler);

    I just want to go to another page, not to open a new window. How can I change this code to do this? Thank you!

    -Ian

    If you are looking for navigate ToURL function in the help documents, it lists all the window options available.  For your case, you can use:

    navigateToURL (new URLRequest ("http://ianmartinphotography.com/about.html"), "_self");

  • In Indesign, I wish I could have the tools and commands opens automatically when I open a new page or document. Now I have to choose in windows fall down.

    I don't want to choose these two controls or tools in InDesign, everytime I open a new page or doc. How can I automatically open?

    With nothing open, try pressing the tab key, and/or reset the workspace.

  • MP3, opening a new page for play

    I'm just now geteting support this project where I need several mp3s on a page. I have the mp3 player on the page and linked to mp3 files that are located in a separate folder in the folder of the site. I published the site, and when I open it in the browser (Safari) players appear but when I click on play, it opens and plays the mp3 in a separate, empty page. Anyone know how to keep players to open a new page?

    Thank you

    Shambles

    The first player on the page is a hyperlink to country2.mp3 and so it opens in a new page. The player code is also very good.

    The second player on the page does not work because the PM mix 3.mp3 file is not found. It is always recommended that you do not have spaces in file names. So change the name of the file to remove all spaces at the remote site and update the HTML code for the new reference file name.

    The third player on the page running sugar.mp3 works perfectly well.

    Thank you

    Vinayak

  • New tab page as a tab (with the plus sign next to the tabs) open rather than below as a button to open a new page in the tab?

    Alrighty, the Firefox on my laptop (und such that she has always been with Firefox for me) has the "Open a new tab" button as a tab himself. Always to the right of the tabs I have open und is smaller with only one more sign on this subject. (+) I hit that, bam, a new tab page opens upward, always with the + page to the right to open another tab, if I want to.

    Yet, on the desktop that I use currently, this option isn't here. Instead, Open a button tab is a real personal touch I can move it anywhere near the bar of the browser, much as I have with the: start a conversation, current downloads, bookmark, home, options, privacy, etc... buttons.

    I like the feature to open a new tab with Firefox on my laptop but not on my desktop. However, I can't find anything on how to open a new tab appears with the real tablets themselves where it is conveniently next to the tab I'm on that, rather than being a button where I have to go to one side or the other of my screen to get a new tab to open...

    How do I change it?

    The image I have uploaded, 'B', this is what is on my desk, 'A' is what is on my laptop. "A" is what I want on my desktop.

    Don't know what you're going with "expected normal behavior." I was asking how to pass from one to the other, in this case 'B' to 'A' in regards to my image is concerned. But, in any case, go out of your first line "the new tab button displays a button"+"when the button is on the tab bar", it's answered my question without answering it directly.

    I asked how to get from one to the other, I know that both are possible. Which... answer my question would have been:

    Just drag the new customizable tab to the tabs above button, not the toolbar with the browser bar, etc. below.

    Behavior is not what I was asking, I was wondering how to change from one to the other. But thanks, move the button to the top with the tabs is what has changed for me in what I wanted.

  • Firefox opens a new page 2/3 at the top of page one another which I can't close

    When I open firefox opens a page yesterday with a new page that covers the two left third of the page and the old page is still one third on the following tabs on the left

    Opening in the sidebar is the default value for the bookmarks created via a link or a button on a Web site.

    You can view the properties of a bookmark using the context menu in the side bar (Ctrl + B; Cmd + B on Mac).

    In the Bookmark Manager (Bookmarks > show all bookmarks) you can click on the button more in the lower details pane on the right.

    Make sure "Load this bookmark in the sidebar" is not selected.

  • When I click on a link, it opens a new page, but nothing will load.

    When I use Firefox and you try to open a link, a new page shows, but nothing loads.

    This has happened

    Each time Firefox opened

    Is a month ago

    Hello Freda.

    You may have a problem with an extension or plugin that obstructs normal behavior of your Firefox. Have you tried to disable all add-ons (just to see) to see if Firefox goes back to normal?

  • Urgent: set user preferences and open a new page

    Hi, I have a portlet that requires the definition of the value preference of the user and you open a community page in a new window. This community page has a portlet that uses the preference of the user defined in the first portlet. The url of the page of community is in a link tag pt.standard.opener. The original page that hosts the portlet that set the preference of the user will be as it is. I'm not able to open a new window after clicking on the button I have to set response.returnoportal (). is it possible to set preferences from the user through javascript or open a page afrer community by clicking on submit button to set the preferences of the user. Please help me because it's very urgent.

    Edited by: Manjeera June 1, 2010 02:33

    Yes, you can set prefernecs session as below using the portal JS use the UUID of the portlet to create the portlet object

    on the recipient portlet on the other page, do something like this:

    PortletContext IPortletContext = PortletContextFactory.createPortletContext (request, response);
    IPortletRequest portletRequest = portletContext.getRequest ();

    tagkeywords = portletRequest.getSettingValue (SettingType.Session, "tagkeywords");

Maybe you are looking for

  • Conditional formatting

    Is there a way to make a cell use the style formatting of a precedent? I have this table where the cells are colored using the rule (if > than previous, then green; if < the previous, then red). The problem is that "2.55" cell - I want to apply the r

  • destroyed the rear part

    Hello. recently, I dropped my phone and the back of it, it is really destroyed. What I can do. where can I replace it. Thank you. no God's solution

  • Unable to boot after Windows update

    Hello As is strives to update windows today, I wasn't expecting to lock up my computer, but now I am facing blue screen of death at every start. The Startup Repair tool is not help... So for now, the only option I see is to reformat my C drive? It wa

  • Engine InstallShield (Ikernel.exe) could not be installed! (Helpppppppp)

    Hello guys please help me... i use a version Home premium windows vista and I'm having a problem with the instalation of microstation!When I run the installer... it turns out a message, (engine InstallShield (Ikernel.exe) could not be installed!)What

  • Message error "you can be a victim of software counterfeiting".

    Original title: afer 4 years of pcworld to buy windows and use all this time that my count suddenly said this is a copy of counterfeit After the purchase of windows pc world 4 years ago and use it all the time that my computer says it's a copy of cou