Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Web and WebWorks Development

Reply
New Contributor
axxint
Posts: 5
Registered: ‎06-15-2011
My Device: none
Accepted Solution

opening links in a new window

Really stupid question I just haven't found an answer for, sorry!  

 

I'm developing mobileversions of sites that need to look good and function on Blackberry.  Unfortunately I do not own a Blackberry, so I am using Adobe Device Central.  I'm getting an error on every target="_blank" link that 'Opening an HTML link in a new window is not supported.' and the new page does not load.

 

I'm thinking that Device Central is a little confused, and even if not, that non-supported HTML is more likely to be ignored than to abort a page load.  So, in short, does Blackberry support target=_blank HTML syntax?  If it doesn't, does this actually render links non-functional?

 

Thank you! 

Please use plain text.
Developer
interfaSys
Posts: 817
Registered: ‎11-19-2009
My Device: Z10, Q10, 9900, 9790, PlayBook,

Re: opening links in a new window

Is this a WebWorks app or a mobile web site?

For which OS?

 

If it's an app, you need to use this:

http://www.blackberry.com/developers/docs/webworks/api/blackberry.invoke.BrowserArguments.html

--
Olivier - interfaSys ltd
Developing for BlackBerry 10 devices using the Sencha Touch framework.
Please use plain text.
New Contributor
axxint
Posts: 5
Registered: ‎06-15-2011
My Device: none

Re: opening links in a new window

[ Edited ]

Just a mobile website.  Not targeting a specific Blackberry OS, but if I had to choose, I'd say 5 and 6.

 

Thanks!

Please use plain text.
Developer
araskin
Posts: 128
Registered: ‎08-01-2008
My Device: Bold 9900, 9810, 9780, 9650 and so many others

Re: opening links in a new window

Why not one of the free BB simulators?
Please use plain text.
New Contributor
axxint
Posts: 5
Registered: ‎06-15-2011
My Device: none

Re: opening links in a new window

We're not building apps, so installing simulators has seemed like a lot of trouble to go through just to see our sites on mobile devices.  But since my intuition is telling me Adobe Device Central is somewhat off the mark, we may need to go that route.

 

More information, like the answer to my original question, will help me decide if Device Central is a viable testing platform, or if we need to find other testing alternatives.  

 

Thanks!

 

 

Please use plain text.
Contributor
hababut
Posts: 41
Registered: ‎07-21-2011
My Device: Superberry

Re: opening links in a new window

I strongly suggest downloading a simulator and trying things out so you can judge for yourself.

 

Trying this site on a 6.0 Torch sim reveals that target=_blank works fine:

 

http://www.w3schools.com/html/tryit.asp?filename=tryhtml_link_target

----------------------------------------------------------------------------------------------
I kode for cudos! Or was it the other way around?
Please use plain text.
New Contributor
axxint
Posts: 5
Registered: ‎06-15-2011
My Device: none

Re: opening links in a new window

I'll try it out, thanks!

Please use plain text.