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

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?

BlackBerry Development Advisor
naveenan
Posts: 101
Registered: ‎10-11-2011
My Device: BlackBerry 9810

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

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

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.
Contributor
baraputra
Posts: 10
Registered: ‎03-28-2010
My Device: 8700/8830 world edition

Re: BrowserField positioning

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

Developer
kamal_nigam
Posts: 434
Registered: ‎07-23-2012
My Device: Blackberry 10

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.
-------------------------------------------------------------------------------------.
Contributor
baraputra
Posts: 10
Registered: ‎03-28-2010
My Device: 8700/8830 world edition

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.

Developer
kamal_nigam
Posts: 434
Registered: ‎07-23-2012
My Device: Blackberry 10

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.
-------------------------------------------------------------------------------------.
Developer
eicheled
Posts: 77
Registered: ‎04-01-2011
My Device: Bold 9700

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.