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


Thank you for visiting the BlackBerry Support Community Forums.

BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)

BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.

"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."

- Kevin Michaluk, Founder, CrackBerry.com

Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.


Reply
Contributor
Posts: 27
Registered: ‎01-20-2011
My Device: Bold
My Carrier: Developer

slide function for animation

can anyone give me link for animation like using jquery to make some animation similar with slider in ipad.

 

i'm already trying using the jquery for iphone but it seem has different event method or something

---------------------------------------------------------------
Best Regards

William
Contributor
Posts: 31
Registered: ‎01-06-2011
My Device: 9300
My Carrier: MTN Nigeria

Re: slide function for animation

If you don't mind using more than one html document in your application (I assume its webworks), there are prebuilt page transitions that you can configure from your config.xml. Doing the configuration within the eclipse web development plugin is quite easy too.
Cheers!
Ezeozue Chidube
Seamfix Nigeria Limited (www.seamfix.com)
www.twitter.com/cezeozue
Contributor
Posts: 27
Registered: ‎01-20-2011
My Device: Bold
My Carrier: Developer

Re: slide function for animation

did you mean the transition effect??

 

can i do that in 1 page??

---------------------------------------------------------------
Best Regards

William
Contributor
Posts: 31
Registered: ‎01-06-2011
My Device: 9300
My Carrier: MTN Nigeria

Re: slide function for animation

No. You need multiple html pages for that.
Cheers!
Ezeozue Chidube
Seamfix Nigeria Limited (www.seamfix.com)
www.twitter.com/cezeozue
Contributor
Posts: 27
Registered: ‎01-20-2011
My Device: Bold
My Carrier: Developer

Re: slide function for animation

is there sample code to toggle a div using mousemove on event

---------------------------------------------------------------
Best Regards

William
Contributor
Posts: 31
Registered: ‎01-06-2011
My Device: 9300
My Carrier: MTN Nigeria

Re: slide function for animation

Its not very convenient typing this from my bb but here goes:

var div = document.getElementById("divId");
if (div.className == 'showClass'){
div.className = 'hideClass';
}
else {
div.className = 'showClass';
}

//CSS
.showClass{
display: block;
}
.hideClass{
display: none;
}
Cheers!
Ezeozue Chidube
Seamfix Nigeria Limited (www.seamfix.com)
www.twitter.com/cezeozue
Highlighted
Contributor
Posts: 27
Registered: ‎01-20-2011
My Device: Bold
My Carrier: Developer

Re: slide function for animation

hi  Ezeozue, thx u so much for the code, but i already use jquery for that.

but its still only use onclick for the event

 

i mean something like ipad/iphone application, where can slide left to right or  top to bottom to show the layer

 

Smiley Happy

 

 

Best Regards

 

 

William

---------------------------------------------------------------
Best Regards

William