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

Java Development

Reply
Developer
eicheled
Posts: 77
Registered: ‎04-01-2011
My Device: Bold 9700
My Carrier: Rogers

BrowserField positioning

 

I'm trying to open an HTML document in a BrowserField2, and then position the page at a particular place in the document. I understand that BrowserField doesn't recognize anchor tags.

 

Is there a way to do this?

Please use plain text.
BlackBerry Development Advisor
naveenan
Posts: 85
Registered: ‎10-11-2011
My Device: BlackBerry 9810
My Carrier: Rogers

Re: BrowserField positioning

Hi There,

 

I am not sure If I understood the question.  Are you trying to move the HTML page with in the Browser Field?  If so, it is possible.

 

Thanks

 

 

Naveen M

Please use plain text.
Developer
eicheled
Posts: 77
Registered: ‎04-01-2011
My Device: Bold 9700
My Carrier: Rogers

Re: BrowserField positioning

Yes. I'd like to open an HTML document in a BrowserField, and position the initial area being viewed to be somewhere in the middle of the document, preferably at an anchor tag.
Please use plain text.
Contributor
baraputra
Posts: 10
Registered: ‎03-28-2010
My Device: 8700/8830 world edition
My Carrier: Indosat

Re: BrowserField positioning

have you got any solution? I have same problem here.

Please use plain text.
Developer
kamal_nigam
Posts: 434
Registered: ‎07-23-2012
My Device: Blackberry 10
My Carrier: Orange

Re: BrowserField positioning

  1. We can support anchor tag in browser field
  2. It’s up to you how you design you html pages
  3. Take the help of css to any UI specific issue
Thanks
-------------------------------------------------------------------------------------
Press the Accept as solution Button when u got the Solution
Press Kudo to say thank to developer.
-------------------------------------------------------------------------------------.
Please use plain text.
Contributor
baraputra
Posts: 10
Registered: ‎03-28-2010
My Device: 8700/8830 world edition
My Carrier: Indosat

Re: BrowserField positioning

Thank you, would you please take a look my html file and questions at this thread http://supportforums.blackberry.com/t5/Java-Development/WTA-browserfield-with-url-local-vs-file-has-... I still have no luck.

Please use plain text.
Developer
kamal_nigam
Posts: 434
Registered: ‎07-23-2012
My Device: Blackberry 10
My Carrier: Orange

Re: BrowserField positioning

Where is your href or onclick in html ? you have only id there. How it is linking to html page??

 

Thanks
-------------------------------------------------------------------------------------
Press the Accept as solution Button when u got the Solution
Press Kudo to say thank to developer.
-------------------------------------------------------------------------------------.
Please use plain text.
Developer
eicheled
Posts: 77
Registered: ‎04-01-2011
My Device: Bold 9700
My Carrier: Rogers

Re: BrowserField positioning

@baraputra - I didn't solve this, I ended up splitting my HTML files. If someone really can do this, I would very much appreciate some sample code being posted.

 

 

Please use plain text.