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
Developer
Posts: 229
Registered: ‎08-14-2009
My Device: Bold 9900, DevAlpha A
My Carrier: Vodafone DE
Accepted Solution

bbui js imagelist vertical overlay to select item to scroll to

Hey webworkers, 

 

what i'm trying to to is get a vertical overlay which shows the alphabet from A-Z on the right side of an image list. (Like in the adress book on pb or dev alpha)

I've tried to get http://devgrow.com/slidernav/  working but i guess i'm missing some things to get it to show properly. Maybe some of you can point me in the right direction on what to do to get something like this working. Currently it looks like the css isn't loaded properly. I'm loading it within the screen div of the screen containing the image list. I'm doing the same with the slidernav.js and call the ajax within the ondomready within my index.htm. 

Like this the list from the example is shown at the very bottom of my imagelist without css styling. Also how could i manage to scroll to a specific header item of the list after a click on an entry?

 

 

 

Willy R.
-
If my post solved your problem, make it easier for others to find by Accepting it as a solution or provide a Kudo if it was helpful for you. Thanks.
Developer
Posts: 435
Registered: ‎09-20-2011
My Device: Z10 LE, Playbook, DevAlpha C, 9900, 9380
My Carrier: Vodafone

look below link for scroll to particular element:   https...

look below link for scroll to particular element:

 

https://github.com/blackberry/bbUI.js/wiki/Screens

Developer
Posts: 229
Registered: ‎08-14-2009
My Device: Bold 9900, DevAlpha A
My Carrier: Vodafone DE

Re: look below link for scroll to particular element: https...

[ Edited ]

Ah great thanks, missed that one last time i checked the wiki. Thanks for the heads up. 

 

For the purpose of completeness: 

var element = document.getElementById('myitem');
document.getElementById('myScreen').scrollToElement(element);

 

Willy R.
-
If my post solved your problem, make it easier for others to find by Accepting it as a solution or provide a Kudo if it was helpful for you. Thanks.