BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 05-17-2009, 11:25 PM   #1 (permalink)
New Member
 
Join Date: May 2009
Model: 9000
PIN: N/A
Carrier: High end
Posts: 1
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Scrollbar for Text Area not working in 9000 simulator web browser

Please Login to Remove!

Hi,

I have the following Javascript code in my web application. I am tring to implement a scroll bar for a text area. I am using an Overflow style for scrolling. But it is not working in BB 9000 web browser. I am getting a plain text area without any scroll.It works fine in IE and firefox.

Please note: I have enabled the Javascript in the 9000 Web browser options.

function scroll()
{
var inputElement= document.createElement("textarea");

inputElement.setAttribute("id",caption+"ImText");
textAreaID =caption+"ImText";
inputElement.setAttribute("size","30");
inputElement.setAttribute("rows","3");
inputElement.setAttribute("cols","10");
inputElement.style.cssText= "width: 485px; height: 30px; overflow: scroll;font-weight: bold;font-family: Verdana; font-size: 12px; color:#FFFFFF ;background-color:#585858;";
div = document.createElement("div");


div.appendChild(inputElement);
}


Kindly let me know how to overcome this issue.Any alternative for this?


Thanks,
Harish.
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





Copyright 2004-2014 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.