TextArea scrollbar issue

Has anyone encountered this issue with the TextArea component
where by clicking the up arrow first, the text becomes selected and
jumps to the maximum vertical position?
It only happens when the movie is first loaded, and only if
the user releases the up arrow on the scrollbar prior to using the
other buttons on the scrollbar.
An example occurs here, where this gentleman has a workaround
to a similar issue regarding TextAreas
http://oddhammer.com/index.php/site/comments/textarea_scroll_jumping/
Any help would be really appreciated,
thanks,
dave

Please use code tags,
and when you post the code make sure that it is easily readable
as jsp can get confusing and hard to read.
try this
<textarea  rows="10" cols="25" id="txtdescription" name="txtdescription" class="admin-selectbox" onKeyPress="limitText(this,249)">
<%
    out.print(desc);
%>
</textarea>

Similar Messages

  • Using Textarea Scrollbars

    Before I started using Dreamweaver, I used notepad. And I
    would use textarea scrollbars for excessive text.
    http://www.funky-chickens.com/tarea.shtml
    ...At the bottom, where it says Textarea allowing HTML. I usually
    use that on my previous websites. But using dreamweaver, when I
    install that snippet it creates problems and the tables stretch and
    screws up the whole site. How do I make that function work. I
    looked around and couldn't find that option
    Can anyone help me?
    A reference to how I use it:
    http://leyendarecords.com/biography.html
    ... Theres a website I made for someone. If you check out that
    page, you can see that I have scrollbars and text inside it. A
    friend made that template on Dreamweaver and I did everything on
    Notepad. Exactly how do I do that?

    That code is SO ANTIQUE it's unbelievable.
    <ilayer name="scroll1">
    <div id="scroll3"
    style="width:100;height:75;
    background-color:COLORHERE;
    overflow:auto">
    TEXT HTML TEXT HTML
    </textarea></div>The <ilayer> tag is not
    recognized by any browser than
    NN4x, and that browser is nearly extinct. In addition, they
    even omit the
    opening <textarea> tag and the closing </ilayer>
    tag, so in addition to
    being hopelessly antique, it's invalid too.
    > But using dreamweaver, when I install that snippet it
    > creates problems and the tables stretch and screws up
    the whole site. How
    > do I
    > make that function work.
    That's not surprising. DW doesn't know what to do with this
    markup.
    You could try just removing the <ilayer> tag -
    <div id="scroll3"
    style="width:100px;height:75px;background-color:COLORHERE;overflow:auto"><textarea>
    TEXT HTML TEXT HTML</textarea></div>
    but all form elements are required to be within an explicit
    <form>, so
    you'll have to add that -
    <div id="scroll3"
    style="width:100px;height:75px;background-color:COLORHERE;overflow:auto"><form>
    <textarea>TEXT HTML TEXT
    HTML</textarea></form></div>
    And then both the form tag and the textarea tag have some
    necessary
    attributes, so you'll have to add them too....
    I recommend you not use something like this, anyhow. There is
    a good
    discussion on this forum from just today about why it's a
    poor layout/design
    decision....
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "streekd" <[email protected]> wrote in
    message
    news:[email protected]...
    > Before I started using Dreamweaver, I used notepad. And
    I would use
    > textarea
    > scrollbars for excessive text.
    http://www.funky-chickens.com/tarea.shtml
    > ...At
    > the bottom, where it says Textarea allowing HTML. I
    usually use that on my
    > previous websites. But using dreamweaver, when I install
    that snippet it
    > creates problems and the tables stretch and screws up
    the whole site. How
    > do I
    > make that function work. I looked around and couldn't
    find that option
    >
    > Can anyone help me?
    >
    > A reference to how I use it:
    http://leyendarecords.com/biography.html
    > Theres a website I made for someone. If you check out
    that page, you can
    > see
    > that I have scrollbars and text inside it. A friend made
    that template on
    > Dreamweaver and I did everything on Notepad. Exactly how
    do I do that?
    >

  • Ie scrollbar issue

    my internet explorer (mac) gives me unwanted scrollbars on my
    flash movie.
    i read this:
    http://blog.deconcept.com/2005/01/
    and tried the script at the end. basically in the style tag...
    html, body, div {
    height: 100%;
    overflow: hidden;
    this solves the scrollbar issue but my movie doesnt show up,
    screen is just black! (my background colour). it's fine in
    safari/firefox
    is there a better way of removing the scrollbars???
    cheers in advance.

    Hi,
    remove the overflow rules from the html element. The should be only applied to the document.body.
    these are the interoperative idioms to calculate the width and height of a viewport in a framed window.
    function getAvailHeight(){
    if(document.body && document.body.offsetHeight){return document.body.offsetHeight;}
    if(window.innerHeight){return window.innerHeight;}
    if(document.compatMode=='CSS1Compat' && document.documentElement && document.documentElement.offsetHeight){return document.documentElement.offsetHeight;}
    function getAvailWidth(){
    if(document.body && document.body.offsetWidth){return document.body.offsetWidth;}
    if(window.innerWidth){return window.innerWidth;}
    if(document.compatMode=='CSS1Compat' && document.documentElement && document.documentElement.offsetWidth){return document.documentElement.offsetWidth;}
    Regards.
    to avoid confusion please include a link to your website or mashup with your questions.
    Rob^_^

  • How to use the nl2br() function - or addressing textarea formatting issues

    the textarea does not pass line breaks to mysql - the result in the html output is one long string of text. I would like the user to input into the textarea using the enter key to create new paragraphs.
    I am not a php programmer and rely on the dreamweaver data tools and developer tool kit to create my dynamic content.
    Please send sample code for a form that addresses and corrects this issue. I do not know how/where to modify the code to correct this issue.
    I have searched online but nowhere have I found an example of how to actually write the code. I can do a great deal of manual modification of php code but this one has me stumped for some reason..
    thanks in advance !!!!
    here is the index.php code which contains the form:
    PHP:
    <?php
    if (!function_exists("GetSQLValueString")) {
    function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
      if (PHP_VERSION < 6) {
        $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
      $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
      switch ($theType) {
        case "text":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;   
        case "long":
        case "int":
          $theValue = ($theValue != "") ? intval($theValue) : "NULL";
          break;
        case "double":
          $theValue = ($theValue != "") ? doubleval($theValue) : "NULL";
          break;
        case "date":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;
        case "defined":
          $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
          break;
      return $theValue;
    $editFormAction = $_SERVER['PHP_SELF'];
    if (isset($_SERVER['QUERY_STRING'])) {
      $editFormAction .= "?" . htmlentities($_SERVER['QUERY_STRING']);
    if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "form1")) {
      $insertSQL = sprintf("INSERT INTO tw_responses (id, tweet, response, permalink) VALUES (%s, %s, %s, %s)",
                           GetSQLValueString($_POST['id'], "int"),
                           GetSQLValueString($_POST['tweet'], "text"),
                           GetSQLValueString($_POST['response'], "text"),
                           GetSQLValueString($_POST['permalink'], "text"));
      mysql_select_db($database_twitter, $twitter);
      $Result1 = mysql_query($insertSQL, $twitter) or die(mysql_error());
      $insertGoTo = "QA.php";
      if (isset($_SERVER['QUERY_STRING'])) {
        $insertGoTo .= (strpos($insertGoTo, '?')) ? "&" : "?";
        $insertGoTo .= $_SERVER['QUERY_STRING'];
      header(sprintf("Location: %s", $insertGoTo));
    mysql_select_db($database_twitter, $twitter);
    $query_Recordset1 = "SELECT * FROM tw_responses";
    $Recordset1 = mysql_query($query_Recordset1, $twitter) or die(mysql_error());
    $row_Recordset1 = mysql_fetch_assoc($Recordset1);
    $totalRows_Recordset1 = mysql_num_rows($Recordset1);
    ?>
    <?php $rs = mysql_fetch_array($resultsetquery);
    $string = nl2br($rs['response']);
    echo($string); ?>
    FORM:
    <form action="<?php echo $editFormAction; ?>" method="post" name="form1" id="form1">
                    <table width="461" align="center" cellpadding="4" cellspacing="4">
                      <tr valign="baseline">
                        <td width="71" align="right" nowrap="nowrap">Question:</td>
                        <td width="360"><input type="text" name="tweet" value="" size="50" /></td>
                      </tr>
                      <tr valign="baseline">
                        <td nowrap="nowrap" align="right" valign="top">Answer:</td>
                        <td><textarea name="response" cols="50" rows="15"></textarea></td>
                      </tr>
                      <tr valign="baseline">
                        <td nowrap="nowrap" align="right"> </td>
                        <td><input type="submit" value="Insert record" />
                        <input type="reset" name="Reset" id="button" value="Reset" /></td>
                      </tr>
                    </table>
                    <input type="hidden" name="id" value="" />
                    <input type="hidden" name="MM_insert" value="form1" />
                  </form>
    Here is QA.php code which contains the output:
    PHP
    <?php require_once('../Connections/twitter.php'); ?>
    <?php
    if (!function_exists("GetSQLValueString")) {
    function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
      if (PHP_VERSION < 6) {
        $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
      $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
      switch ($theType) {
        case "text":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;   
        case "long":
        case "int":
          $theValue = ($theValue != "") ? intval($theValue) : "NULL";
          break;
        case "double":
          $theValue = ($theValue != "") ? doubleval($theValue) : "NULL";
          break;
        case "date":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;
        case "defined":
          $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
          break;
      return $theValue;
    $maxRows_Recordset1 = 10;
    $pageNum_Recordset1 = 0;
    if (isset($_GET['pageNum_Recordset1'])) {
      $pageNum_Recordset1 = $_GET['pageNum_Recordset1'];
    $startRow_Recordset1 = $pageNum_Recordset1 * $maxRows_Recordset1;
    mysql_select_db($database_twitter, $twitter);
    $query_Recordset1 = "SELECT * FROM tw_responses ORDER BY id ASC";
    $query_limit_Recordset1 = sprintf("%s LIMIT %d, %d", $query_Recordset1, $startRow_Recordset1, $maxRows_Recordset1);
    $Recordset1 = mysql_query($query_limit_Recordset1, $twitter) or die(mysql_error());
    $row_Recordset1 = mysql_fetch_assoc($Recordset1);
    if (isset($_GET['totalRows_Recordset1'])) {
      $totalRows_Recordset1 = $_GET['totalRows_Recordset1'];
    } else {
      $all_Recordset1 = mysql_query($query_Recordset1);
      $totalRows_Recordset1 = mysql_num_rows($all_Recordset1);
    $totalPages_Recordset1 = ceil($totalRows_Recordset1/$maxRows_Recordset1)-1;$maxRows_Recordset1 = 10;
    $pageNum_Recordset1 = 0;
    if (isset($_GET['pageNum_Recordset1'])) {
      $pageNum_Recordset1 = $_GET['pageNum_Recordset1'];
    $startRow_Recordset1 = $pageNum_Recordset1 * $maxRows_Recordset1;
    mysql_select_db($database_twitter, $twitter);
    $query_Recordset1 = "SELECT * FROM tw_responses ORDER BY id DESC";
    $query_limit_Recordset1 = sprintf("%s LIMIT %d, %d", $query_Recordset1, $startRow_Recordset1, $maxRows_Recordset1);
    $Recordset1 = mysql_query($query_limit_Recordset1, $twitter) or die(mysql_error());
    $row_Recordset1 = mysql_fetch_assoc($Recordset1);
    if (isset($_GET['totalRows_Recordset1'])) {
      $totalRows_Recordset1 = $_GET['totalRows_Recordset1'];
    } else {
      $all_Recordset1 = mysql_query($query_Recordset1);
      $totalRows_Recordset1 = mysql_num_rows($all_Recordset1);
    $totalPages_Recordset1 = ceil($totalRows_Recordset1/$maxRows_Recordset1)-1;
    ?>
    OUTPUT:
    <?php do { ?>
      <table width="95%" border="0" cellpadding="4" cellspacing="2">
        <tr>
          <td><a name="<?php echo $row_Recordset1['id']; ?>"></a></td>
        </tr>
        <tr>
          <td><p><strong><em>Question: </em></strong><a href="http://www.halopets.com/test/admin/QA.php#<?php echo $row_Recordset1['id']; ?>"><?php echo $row_Recordset1['tweet']; ?></a></p></td>
        </tr>
        <tr>
          <td><p><strong><em>Answer: </em></strong><?php echo $row_Recordset1['response']; ?></p></td>
        </tr>
        <tr>
          <td><hr width="95%" size="1" noshade="noshade" /><br /></td>
        </tr>
      </table>
      <?php } while ($row_Recordset1 = mysql_fetch_assoc($Recordset1)); ?>

    twinflame wrote:
    the textarea does not pass line breaks to mysql - the result in the html output is one long string of text. I would like the user to input into the textarea using the enter key to create new paragraphs.
    I am not a php programmer and rely on the dreamweaver data tools and developer tool kit to create my dynamic content.
    Please send sample code for a form that addresses and corrects this issue. I do not know how/where to modify the code to correct this issue.
    http://tinymce.moxiecode.com/

  • Problem with panelbox and af:table scrollbar issue and panelstretchlayout

    Hi,
    <af:panelStretchLayout >
    <f:facet name="center">
    <af:panelSplitter orientation="vertical" positionedFromEnd="true" inlineStyle="vertical-align:inherit;">
    <f:facet name="first">
    <af:subform default="false" id="xyz">
    <af:panelBox background="light" text="Advance Search" inlineStyle="color:InactiveCaption;" type="default">
    <af:panelGroupLayout layout="scroll">
    <af:commandButton text="Search" id="advSearch" actionListener="#{ADFStandardsLeftMenu.getAdvancedSearchData}"/>
    <af:spacer width="20"/>
    <af:commandLink text="Search Tips" id="searchtips2" inlineStyle="font-weight:bold;" partialSubmit="true" clientComponent="true">
    <af:showPopupBehavior triggerType="click" align="afterEnd" popupId="advSearchPopupId"/>
    </af:commandLink>
    </af:panelGroupLayout>
    </af:panelBox>
    </af:subform>
    </f:facet>
    <f:facet name="second">
    <af:panelBox background="light" text="Basic Search" inlineStyle="color:InactiveCaption;" type="default">
    <af:spacer height="20"/>
    <af:panelGroupLayout layout="scroll" >
    --- some inputtext command buttion, dropdowns...selectonechoice..are there inside this
    </af:panelGroupLayout>
    </af:panelBox>
    </f:facet>
    </af:panelSplitter>
    </f:facet>
    </af:panelStretchLayout>
    problem:
    (we have 2 panels) of vertical
    when i run this application it is working fine. But when we minimise the browser(half size) or if we add more no of toolbars in browser (important) obviously browser size will decrease,
    that time 1 panel getting decreased second panel is maintaing fixed size, not resizing.
    I tried to give fixed size (percentage) for both panels wt ever the operation does.
    and 2nd issue
    ========
    <af:panelStretchLayout>
    <f:facet name="center">
    <af:panelSplitter orientation="vertical"
    positionedFromEnd="true" >
    <af:panelBox background="light" text="Search For Standards" inlineStyle="color:InactiveCaption;vertical-align:50%;" >
    <af:table value="#{ADFStandardsLeftMenu.mostCommonAgencySelectedList}"
    id="t1" width="100%" var="stdURL"
    emptyText="<html><b><font color='red'><center>No Records Found</center></font></center></b></html>"
    disableColumnReordering="true"
    columnSelection="multiple"
    rowSelection="multiple"
    inlineStyle="text-align:left;"
    verticalGridVisible="true"
    horizontalGridVisible="true">
    <af:column>
    </af:column>
    ---- we have more 8-10 columns
    </af:table>
    </af:panelbox>
    </af:panelsplitter>
    </f:facet>
    </af:panelstretchlayout>
    problem: that time im getting by default horizontal and vertical scrollbar, but if user add toolbars in browser (view->customize)add toolbar no of say 10-15 that time window size decreasing
    so, table size is crossing panelbox size, and bottom scrollbar is not visible (hiding under site bottom layout say site is divided into 4 parts (leftmenu, body(2 panels), right, bottom) (im not using any right layout)
    regards,
    sandeep

    Hi,
    if minimises browser window(half) or by adding more no of toolbars, i given an option as panelgrouplayout layout=scroll.
    it is working fine for 1st panel.
    but 2nd panel scrollbar not coming.
    thanks in adv.
    regards,
    sandeep

  • CS6 ScriptUI Scrollbar issues

    We're working on building a palette with a scrollbar. However, we're running into an issue with the display in CS6. We've gotten it to display correctly on Windows and Macs in previous versions of Bridge, but CS6 seems to have a bug even after the most recent update (version 5.0.1.21).
    The scroll bar appears as below.
    When we changed the dimensions of the scrollbar, we found that not only was the scrollbar distorted but it's actually oriented horizontally to control the vertical position.
    We've tried nesting the scrollbar in a group or giving it a separate panel, as well as giving those panels and groups a specific column orientation, but nearly all of those results give us something like the following:
    The following code was our last iteration that gives the above output:
    #target bridge
    if (BridgeTalk.appName == 'bridge')
        // dimension and font variables
       var fF = ['fill', 'fill'];
       var fT = ['fill', 'top'];
       var lblSize = [60, 15];
       var lblBounds = [5, 10, 60, 27];
       var etFont = ScriptUI.newFont ("Arial", 11);
       var etBounds = [10, 10, 200, 27];
        // Create the TabbedPalette object, of type "script"
        var tbPalette = new TabbedPalette( app.document, "CSU Metadata", "CSU_Metadata", "script", "right", "bottom");
        // Create a ScriptUI panel to be displayed as the tab contents.
        var panel = tbPalette.content.add('panel', "x:0, y:0, width:300, height:500", "");
        var tbPanelSbGrp = tbPalette.content.add('panel', "x:302, y:0, width:200, height:500", 0, 0, 20, 500);
        tbPanelSbGrp.orientation = 'column';
        var tbPanelSb = panel.add('scrollbar', "x:302, y:0, width:40, height:500");
        tbPanelSb.stepdelta = 10;
        tbPanelSb.jumpdelta = 40;
        tbPanelSb.onChanging = function() {
         var scrollVal = Math.round(this.value);
        this.value = scrollVal
    Has anyone found a work around for this problem? I've seen the same problem mentioned elsewhere but without a solution:
    http://www.ps-scripts.com/bb/viewtopic.php?f=9&t=4915
    http://feedback.photoshop.com/photoshop_family/topics/extendscript_ui_not_drawing_correctl y_in_bridge?from_gsfn=true

    I have given up on this.  More than a year has passed and the Bridge ScriptUI is still non-functional.  I am looking for another solution for my workflow so I can ditch Bridge/Photoshop and find a vendor that supports their products.

  • Scrollbar issues in a Datalist

    I have a created a datalist with a horizontal scrollbar and associated left/right buttons. When I created the scrollbar I am making the thumb and track invisible so that only the left/right buttons are visible for navigation through the datalist. I don't think this matters for the issue I am experiencing though I thought I would mention it. When I run the project and click on the left/right buttons, the images/text I have placed in the datalist move a few pixels upon the first click, and then fully move to the proper position on the second click. I'm not sure why it would do this. I want the images/text to move to the proper position upon the first click of the left/right buttons. Right now it takes two clicks of the button to advance through the datalist. Any thoughts? Thanks in advance.
    Ryder

    Any information from folks who have experience with this would be great. Thanks

  • Wildly flickering pagesize with Scrollbar issues during Live View CS5.5

    DWCS5.5 keeps crashing on the system I am using on Windows 7 ultimate. The menu at the bottom of the preview pane (in split view) that allows you to select your page size keeps jumping back and forth rapidly and the scrollbar keeps "wiggling" like it can't make up it's mind. It completely locks up DW and I am forced to restart the app. It's happened about 10 times today alone, so I figure there is something wrong. Has anyone else had this problem? I will try to figure out the exact steps it takes to reproduce it, but I think it has something to do with resizing the preview pane manually.
    Before I spend too much time trying to resolve the issue, I figured I would ask. Meanwhile, I'll see what I can find out. Any help would be greatly appreciated.
    Jase

    DWCS5.5 keeps crashing on the system I am using on Windows 7 ultimate. The menu at the bottom of the preview pane (in split view) that allows you to select your page size keeps jumping back and forth rapidly and the scrollbar keeps "wiggling" like it can't make up it's mind. It completely locks up DW and I am forced to restart the app. It's happened about 10 times today alone, so I figure there is something wrong. Has anyone else had this problem? I will try to figure out the exact steps it takes to reproduce it, but I think it has something to do with resizing the preview pane manually.
    Before I spend too much time trying to resolve the issue, I figured I would ask. Meanwhile, I'll see what I can find out. Any help would be greatly appreciated.
    Jase

  • Reg:- Scrollbar issue in Portal Page

    Hi All,
    I am facing the following issue with Vertical scrollbar:
    I am trying to access a quick link at the left hand side of the page. The content of the quick link should appear at the right, with the vertical scrollbar starting from the top right corner. But, it is not happening so. The scrollbar always stays at exactly the same position as it was before accessing the quick link.
    How do I make sure that the scrollbar always begins from the start of the page, each time the page is refreshed?
    Thanks & Regards,
    Pavithra

    Pavithra
    Please check if u have embedded iView inside the page, if fou have any just change the appearance Size setting to Automatic.
    The two scroll bars you are getting is sure one is coming out of the embedded iView.
    Hope this will help you..
    Cheers
    Chinmaya
    (Reward for helpful answers)

  • Flex TextArea HTMLText issue.

    Hi All,
             I am using a Flex textArea control and recently i found an interesting behaviour while using htmlText property of the TextArea.
    By default the htmlText has "<P align=''left' /> tag.When i added bullets to the text it adds the "<LI>" tag to the text and get rid of the the "<P/>" tag.
    The problem is that,when i add bullets and the right align the text,it displays fine on the textArea ,but since the htmlText does not have the "<P/>" tag,when i send the htmlText to the backend to generate the .jpg preview of the screen,it is not aligning the text to right.
    Bottom line:"when text right aligned with bullets,htmlText does not have "<P/>" tag and only have "<LI/>" tag.
    Does anyone know about this issue?
    Any ideas to overcome this issue?
    Thanks
    Kartik B

    Thanks for reply,
    i am taking htmlText from another textarea..
    code:
    var htmltext:String = txtarea.htmlText
    var textarea1:TextArea = new TextArea();
    textarea1.htmlText = htmltext;
    vboxName.addChildAt(textarea1,0);
    while tracing value of htmltext
    <TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="Verdana" SIZE="11" COLOR="#000101"
    LETTERSPACING="0" KERNING="0">agenda descriptyion</FONT></P></TEXTFORMAT>
    <TEXTFORMAT LEADING="2"><LI><FONT FACE="Verdana" SIZE="11" COLOR="#000101"
    LETTERSPACING="0" KERNING="0">neethu<FONT FACE="none" COLOR="#FFFFFF"></FONT></FONT></LI></TEXTFORMAT>
    Regards,
    Manu Lal

  • Remove Html textarea scrollbar from jeditorpane

    Hi,
    I am using jeditorpane for display a content in my project,
    i am create html code and set to jeditorpane, but in my code i am using textarea for display large text,
    what my problem is in the textarea is not at all wrap and even small text also its show scrollbar,
    i want to remove the scrollbar and wrap properly, can any one give some idea is highly useful to solve my problem.
    my code is
            setContentType("text/html"_);
              HTMLEditorKit kit = new HTMLEditorKit();
              super.setEditorKit(kit);
              StyleSheet styleSheet = kit.getStyleSheet();
              styleSheet.addRule("textarea {style=border:4; overflow:auto; wrap:virtual}");
              styleSheet.addRule("body {color:#000; font-family:times; margin: 1px }");
              StringBuffer sb = new StringBuffer();
            // in this string buffer i am append all the html code
             setText( sb.toString() );Thanks in advance.

    This is the technique I use.
    1. Create 2 identical columns, one with the HTML and one without.
    2. Then conditionally display the columns, one to display in the web page and the other to display in the download. This can easily be done using the request value e.g.
    Condition Type: Request Is NOT Contained within Expression 1
    Expression1: CSV,PDF,RTF,XLS
    I hope that does the trick for you :)
    Simom

  • DataGrid Scrollbar issue

    I have a DataGrid inside a container with wordwrap turned on.
    Some fields have a good chunk of data so they are allowed to
    wrap. I have also set variableRowHeight to true (though it doesn't
    affect the behavior below).
    Once populated the Datagrid will not show the scrollbar when
    it overflows the container area. Rather the container scrollbars
    are turned on (both horizontal & vertical).
    When I have WordWrap turned off, the overflow will trigger
    the scrollbar for the Datagrid itself, not the container.
    I am not sure what am I missing when I turn the wordwrap on
    Appreciate any help/tip.
    Thanks.

    Setting minWidth on the column with wrapping data fixed the
    sxroll issue.
    Now the scrollbars are appearing with the Datagrid.

  • Listbox row 0 and vertical scrollbar issue

    Hi,
    I tried to do simple VI where I can check items in the Listbox control. My problem is that when I click anywhere on the vertical scrollbar or buttons with the triangles, Mouse Down event triggers and check item in the row 0.
    Is this an issue or is it just a mistake in code?
    For some reason I am not able to attach VI, so block diagram is below.
    Thank you for any help.
    I use LV 2010.
    Duri
    Duri
    Solved!
    Go to Solution.

    Here is a demo VI that handles listbox selection like this with a single click.  Saved in 2011, uses OpenG array.
    Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
    If 10 out of 10 experts in any field say something is bad, you should probably take their opinion seriously.
    Attachments:
    Listbox Item Selection Demo.zip ‏55 KB

  • Horizontal scrollbar issue

    Dear All
    Because of my masterpage branding, my scrollbar (horizontal) bar doesnt show properly. Any Idea?
    Best Regards,
    Lasantha

    Hi Lasantha,
    First of all, please try switch the browser and check if it is an compatibility issue, such as IE 8 compatibility mode. Also add SharePoint sites to your trusted site.IE scroll bar will display per the page content. If the page content can be displayed in
    one page, then horizontal scroll bar won’t show.
    Since the issue is related to custom CSS style, we couldn’t figure out the issue easily via forum way. You could open a ticket so that engineer could reach your environment to troubleshoot issues for you. That’ll be a faster way for your situation. In addition,
    I found some related articles for your reference:
    http://blog.amtopm.be/2011/01/13/content-scroll-bar-issues/
    http://www.webpoint0.com/blog/fixed-width-layouts-scrollbar-ribbon-sharepoint-2010/
    Regards,
    Rebecca Tu
    TechNet Community Support

  • Scrollbar issue

    Hi,
    I'm not familiar at all with Flash, so please bare with me, I'm a complete newbie. I bought a scrollbar from flashcomponents.net and I'm having some problems with. I can add text in the text area of the scroller and it works all fine, but when I insert a link in there the text area's height is increased for some strange reason, as you can see on the link below (scroll to the bottom of the list and you'll see what I mean):
    http://www.jbfans.com/filmography/index.php
    I can fix this if I go into Debug -> Debug Movie and enter the correct value for the height of the text area, but when I end the debug session it hasn't implemented the change I made.
    Do anyone know why this is happening?

    So I'm back with another issue...
    http://www.jbfans.com/filmography/culpeppercattleco/index.php
    If you click on VIEW TRAILER, you will see my problem. So, the scrollbar is Flash and the trailer window is a javascript called clearbox, and they are interfering with each other, BIG TIME. Being the newbie that I am, I ask you guys - what's causing this interference?

Maybe you are looking for

  • Crystal Reports Variable Parameters

    I have a client attempting to build a sales report where it will pull the data from the previous week / month / quarter only.  For example, if I have a report that I run on Monday, then it will pull all the data from the last 7 days (so the from the

  • Why old message are still in the mail queue

    Hi all, I would like to know why old messages are still in the ims-ms queue and not deliver to recipient? qm.maint> summ Messages Channel Queued Size (Kb) Oldest tcp_local 0 0.00 tcp_intranet 0 0.00 tcp_auth 0 0.00 reprocess 0 0.00 process 0 0.00 pmx

  • HT5620 hi , why the rest security question not shown in my browser to press on it and rest my forgotten answers ?? hellllp plzzzz

    hi , why the rest security question not shown in my browser to press on it and rest my forgotten answers ?? hellllp plzzzz

  • Need help in SIO

    I want to ask a question about Shareable Interface Object of Java Card First, I define a shareable interface on the Server applet. Then I think it is the right way to import this interface on the Client applet .the problem is when I do that, this pro

  • Asm on solaris

    Dear all, We are in the process of installtion of 10g RAC on solaris. As far as i studied, OCFS cannot be used in Solaris Only 3rd party cluster file system can be used if no 3 party cluster file system can be used,we have to use ASM Is there any oth