Scrollbar positions not working

i got a tree like structure in jsp as
Root
--- Node1
---- ChildNode1
--- Node2
---- ChildNode1
---- ChildNode2
--- Node3
---- ChildNode1
--- ChildNode1.1
--- ChildNode1.2
---- ChildNode2
.......and so on
this is a dynamic tree . on click on each node the page is refreshed and the below child nodes are retrieved form the database.
its all are working fine but my bug is on chicking on the each node, the page goes to the top again and again i ve to scroll down to position of the node what i have to do to hold on the scroll bar position where it is for the previous page.
ive used ScrollTo() but its moving and again it goes to the top automatically wat to do

Thanks for the suggestion, but I already looked before and
after page 6, nothing has changed. I've been trying to create a new
scrollbar with the instructions from the help on the UIScrollBar
component, but the arrows on the scroll bar don't show up.
I have the text in the text box showing up and changing with
each page. But the scroll bars are not working. Here is the AS I
have on frame 1:
NarrativeText_bottom = narrative_text[_root.CurrentPgNumber];
this.createClassObject(mx.controls.UIScrollBar, "my_sb");
my_sb.setScrollTarget(InstanceName_0);
my_sb.setSize(16,InstanceName_0._height);
my_sb.move(NarrativeText_bottom =
narrative_text[_root.CurrentPgNumber];
this.createClassObject(mx.controls.UIScrollBar, "my_sb");
my_sb.setScrollTarget(InstanceName_0);
my_sb.setSize(16,InstanceName_0._height);
my_sb.move(InstanceName_0._x + InstanceName_0._width,
InstanceName_0._y);
// Load text to display and define onData handler.
var my_lv:LoadVars = new LoadVars();
my_lv.onData = function(src:String) {
if (src != undefined) {
InstanceName_0.text = src;
} else {
InstanceName_0.text = "Error loading text.";
._x + InstanceName_0._width, InstanceName_0._y);
// Load text to display and define onData handler.
var my_lv:LoadVars = new LoadVars();
my_lv.onData = function(src:String) {
if (src != undefined) {
InstanceName_0.text = src;
} else {
InstanceName_0.text = "Error loading text.";
When I drag the component to the side of the text box, the
instance name for the text field (InstanceName_0) automatically
populates the _targetInstanceName property of the component, like
it's supposed to. So why are the arrows on the scroll bar not
showing up?? PLEASE HELP! thanks.

Similar Messages

  • Scrollbar does not work in PDF documents

    When FF opens an PDF document the scrollbar does not work. If it is a one page document I can use Page up/Page down to toggle between top and bottom of page. If it is a multiple page document I can use PageUp/Page down and the arrow keys.

    Try running Firefox in [[Safe Mode]]. If it works correctly in that configuration, then one of your add-ons is the culprit.

  • Why is Transform Tool "reverse position" not working??

    Hi.. I have a part that I want to reverse the pitches of so that I can record it as audio and then reverse it so that it is a reversed version of the sound, yet it's playing the right pitches at the proper time...
    I was under the impression that the transform tool could do this, however it is not working for me. Could some please enlighten me to my error?
    Here is a video of my efforts:
    http://collinatorstudios.com/video/transform.mov
    -patrick

    Nevermind.. I found this thread, where someone already brought this up.
    http://discussions.apple.com/thread.jspa?messageID=762890
    Someone said:
    "Position
    Time position of the event, referenced to the start of the MIDI Region (not of the song)."
    as silly as that is (if it's true), it still doesn't work when I set it to "all"... It only works if I drag the part to the beginning of the song...
    Apple should really hire me to help them fix this program.. (sigh).
    -p

  • Key Command troubles: Set Region/Event Start to SPL Position not working?

    Hello,
    I'm simply trying to find a key command that will allow me to move regions quickly from one part of a song to another without dragging with them with the mouse in the arrange window. I thought I found the solution with the key command "Set Region/Event Start to SPL Position", however it doesn't seem to be doing anything!
    Here's what I've tried: First I select the region I want to move, then I move my SPL to a location using the "go to Position" key command and typing in a bar. I then try to use the "Set Region/Event Start to SPL Position" key command (which I set to Shift-Control-L) and nothing happens. Shouldn't it be moving my region to the SPL? Note: the region is still selected, but refuses to move. Am I doing something wrong? Is this not what this key command was designed to do?
    In my attempts to get the darn thing to work, I also discovered that lock screen-set (Shift-L) key command also does not seem to work (it is not toggling the black dot after the screen-set number like usual). Does this mean my key commands may be corrupted? (which would be a real drag!!) Oddly enough, these are the two are the only two that do not seem to be working, as all others seem to be working fine (AFAIK).
    I've had this problem in the past with the lock screen-set key command not working, and rebuild all key commands and templates when I upgraded to tiger. I thought everything was working fine!
    Any advice would be greatly appreciated! Thanks in advance for your help!!

    I assigned F5 to two functions. In the key commands
    window, pressing F5 highlighted the first assignment.
    Pressing it again highlighted the second assignment.
    So just keep pressing the key to see whether it's
    assigned to more than one command...
    Well, now when I type "Shift-L" into the finder in the top right of the key commands window, no key commands at all are show. However, which I search for the word "lock," the lock screenset key command comes up as "Shift-L." Oddly, if I search any other key commands (such as F1, "cmd-k," or even other shift ones like "shift-," the associated key commands show up.
    To test, I changed the screen set lock from Shift-L to "opt-ctrl-L" and it now works again. However, it still will not come up in the key commands window through searching by "opt-ctrl-L"
    On what may be a side note, the search feature seems very buggy! Tell me if I'm doing this right: First I open the key commands window, which opens with nothing selected. Now, in order to search by key command I go up to the top right corner where the magnifying glass is, place my curser inside and type in the key command correct? When I do this, it shows me the highlighted key command in the left, and my curser is no longer flashing up in the magnifying glass, correct?
    Now, in order to search again, I have to place my curser in the search field again, right? However, now when I search by key command, not all of them register! For example, my "go to position" key command is simply ; but when I type it, nothing comes up in the search, and instead of the magnifying glass window being blank like before, the actual ; is in the box. Oddly enough, searching with "Cmnd-K" still works!
    What is going on? Am I doing something wrong? How do I fix this, as it is very frustrating!! thanks again for your help

  • Indesign Bullet or number position not working

    I cannot get this feature to work (Indesign CS6)
    I have a very long list of numbered items (over 300), so there is too much space between the single and two digit numbers and the first letter, because of course the indent has to accomodate the three digit numbers.
    I select align RIGHT, and I expect the numbers to switch to the right, as if I had set a right align tab there before the first character.
    But nothing happens.
    It is not a case of not enough space, since there is enough and I even made it larger than necessary to see if that solved it but it did not.
    Am I misinterpreting what that the position feature is for or is this a bug of some sort?
    It did not work in my previous CS4 version of ID either.

    It's not intuitive, nor easy.
    I've had very similar problems getting numbered lists to correctly align right with "hang for ten" or "hang for a hundred" needed.
    The only thing I can suggest is keep "playing" with the first line and left indents.
    I've found it necessary to make that first line indent larger than I would have ordinarily expect.

  • Copy Mask Path, Paste to Position not working correctly PLEASE HELP!

    please help I'm really at the end of my tether with this
    When I create or place an object on my AF comp and then draw a mask. I try to paste that path into the position properties the path will be 'offset' and the object will not go to the start of the mask..it moves the mask then starts moving the object. this happens in AF CC, CS6 and CS5. I follow the tutorials to the letter and it off sets the object every time. What am I doing wrong?? I know its something really simple but i cant figure it out
    Please help!

    I just worked a complete thread on this subject. A quick search of the site with mask path in the query would bring up this thread.
    To simplify the explanation you layer must be at 100% scale and at the default position in the composition for this to work. It's as simple as that. If your layer's anchor point of position properties are not at the default position this will not work.
    Please check out the thread. There are multiple screen shots and explanations.

  • Displaying Array Position not working in case of descending Order?

    Hi,
    I need to display the array position of the sorted array in Descending order. Here is my code.
         int[] in = {5,3,2,7};
              int[] newArr = new int[in.length];
              int[] na = new int[in.length];
              //copying into a new array
              for(int i=0;i<in.length;i++){               
                   newArr[i] = in;     
              // code for descending order
              for(int j=0;j<in.length;j++){
              Arrays.sort(in);
              na[j] = in[in.length-(1+j)];
              }the sorted array will be will be {7,5,3,2} now according to this i need to display the array position of the sorted array which should be {3,0,1,2} i tried to compare newArr[i] with na[j] but am not gettin the result that i should be getting the same comparison is working in case of Ascending Order but not descending. Any suggestions or help will be appreciated.
    Thanks and regards.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    hi,
    what you are doing is correct only, do not put sort method inside the for loop
    and postion is correct also
    int[] in = {5,3,2,7};
            int[] newArr = new int[in.length];
            int[] na = new int[in.length];
            //copying into a new array
            for(int i=0;i<in.length;i++){
                newArr[i] = in;
    Arrays.sort(in);
    // code for descending order
    for(int j=0;j<in.length;j++){
    na[j] = in[(in.length-1)-j];
    System.out.println("Val --> "+na[j]);
    System.out.println("Position --> "+j);

  • CSS positioning not working in IE 5.2 on a Mac

    Hi all,
    I have 2 images in my "about" page, the CSS positioning works fine in all other browsers. I'm working on a Mac with OS 10.41. I'm using Dreamwearver CS3. The page works great on all other browsers except IE 5.2 on my Mac, I have not checked other versions of IE yet.
    Is there a way to get it to work on all browsers. here's the link to my site.
    http://www.robduverger.com
    Please take a look at it in either Safari, Opera, or Firefox to se what it's suppose to look like.
    Thanks in advance for your help.
    Rob

    Get Safari for  Mac - http://www.apple.com/safari/download/
    IE5x is obsolete and never did support  much in the way of CSS web standards. Unfortunately, IE6 still has around 15% of world wide usage, so it's hard to ignore.
    Make sure your code is valid and error free.
    HTML Validator - http://validator.w3.org 
    CSS Validator - http://jigsaw.w3.org/css-validator/  
    HTML & CSS Tutorials - http://w3schools.com/
    If you upload your site to server and post a URL, you will get more help. Additionally, you can use http://Browsershots.org to check your page(s) in a variety of  browsers/platforms (screenshots).
    If you can use Firefox, get the Web developer Toolbar (a free add-on).  Can't live without it.  https://addons.mozilla.org/en-US/firefox/addon/60
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    www.alt-web.com/
    www.twitter.com/altweb
    www.alt-web.blogspot.com

  • Dragging VI position not working

    I want to be able to "drag" a VI around (basically move it like in Windows), but the result is very jittery and doesn't seem to be moving correctly (not getting a 1-1 ratio with my mouse position). Any suggestions?  VI is attached
    Edit:  I'm an idiot.  I was using "panel" mouse coords, not absolute coords...  I have programmed before - I promise.
    Solved!
    Go to Solution.
    Attachments:
    DragVI.vi ‏17 KB

    It seems to work better when you acquire the mouse position on the monitor as opposed to the mouse position on the front panel. Also the program seemed to function better whe the front panel position was acquired everytime the mouse went down. See if this functions better.
    Matt P.
    Applications Engineer
    National Instruments
    Attachments:
    DragVI (edit).vi ‏24 KB

  • Transform/Reverse Position not working

    Hi all,
    In the past I have used Transform/Reverse Position in the piano scroll's (formally called matrix edit) function window to successfully reverse the position of selected notes.
    But I cant get it to work properly at all now.
    I have tried every combination I could think of with the bizarre interface window, but I either get no effect whatsoever, or the data is reversed but appears several bars later than the original position...
    I checked out a lot of the other Transform functions and they all seem to be working as advertised.
    Can anyone tell me what I am doing wrong here?
    Thanks

    It doesn't work properly. It hasn't for ages. If I remember correctly, it only works close to 1 1 1 1, but if you're region is farther away from that, the reverse position transform command just doesn't work.

  • MSS Competence Report by Position not working in portal

    Hi,
    We have developed a custom R/3 report which is "Competence Report by Position". This report need to be accessed via Reporting iview of the portal.
    And in portal we have added new object Selection criteria "Position by Operational Org units ".
    Once we select this report in the portal and in next step we select the Object selection criteria "Position by Operational Org units " and click on Report Result we are getting the object selection screen saying Please specify an object type(this is in IAC window)
    instead we want the report to be shown directly.
    We suspect that due to some issue position value is not going into the program and so it is asking for object type again.
    Please suggest are we missing something here?
    Backend version :ECC 6.0
    Thanks
    Raj

    Yes, but I am using 10.5.2.  I was charged for 2 season passes of a show.  When I hit "report a problem" it takes me to the support page.  Within the support pages I used "Express Lane" to open a case.  I am awaiting their email back.  I am just hoping they don't tell me to use the "report a problem" again.

  • Vertical scrollbar does not work in a nested dialog

    In Adobe Illustrator CC 2014 Win 7 and Mac OS X 10.8
    function dropdown2(win_location, win_width, h50, list2) {
        var ww = new Window ("dialog");
        var g = ww.add ("group");
        var panel = g.add("panel", [0, 0, 300, 200]);
        var sbar = g.add ("scrollbar", [0, 0, 20, 200]);
        ww.show();
    var w = new Window ("dialog");
    w.add("button", undefined, "asdads").onClick = function () {
      dropdown2([200, 200], 200, 50, ["asdaf", "asdaf", "asdaf", "asdaf" ]); };
    w.show();

    function dropdown2(win_location, win_width, h50, list2) {
        var ww = new Window ("dialog");
        var g = ww.add ("group");
        var panel = g.add("panel", [0, 0, 300, 200]);
        var sbar = g.add ("scrollbar", [0, 0, 20, 200], list2);
        ww.show();
    dropdown2([200, 200], 200, 50, ["asdaf", "asdaf", "asdaf", "asdaf" ]);
    var w = new Window ("dialog");
    w.add("button", undefined, "asdads").onClick = function () {
      dropdown2([200, 200], 200, 50, ["asdaf", "asdaf", "asdaf", "asdaf" ]); };
    w.show();
    Illustrator CC 2014
    Ctrl+F12
    first scrollbar its ok
    press button
    scrollbar arrows -> gray

  • Instance x and y position not working

    Here's one of those situations that gets under my skin.
    I have placed the same instance on the stage in two different flash files. The Flash files have exactly the same dimensions. I want to position the instances in exactly the same place, but when I copy the "x" and "y" numbers they appear in different positions on the stage.
    Seems like I'm either missing a simple step or there is an annoying little glitch with Flash 8.
    Anyone?

    Ahhh, the brain freeze has thawed a bit.
    You just woke me up to the fact that they were indeed inside movie clips and the movie clips had different x and y positions, so the buttons naturally reflected that. I have to get into the habit of positioning the symbols on 0 x and 0 y from the start to avoid this.
    Thanks so much for the nudge!

  • Scrollbar not working in a JScrollPane

    In the JDialog there is a JScrollPane. JTextPane is in a the scroll pane. For some reason the scrollbars are not working.
    Any suggestions on this why the scrollbars not working?
    Thanks.

    using the setText() method the text is set to the text pane from some other package. the Dialog displays the text too with the vertical scroll bar that doesn't work.
    public MyDialog(JFrame frame) {
    super(frame);
    initialize();
    private void initialize() {
    this.setResizable(true);
    this.setName("");
    this.setUndecorated(false);
    this.setContentPane(getScrl());
    this.setSize(400, 300);
    this.centerDialog();
    private javax.swing.JScrollPane getScrl() {
    if (scrl == null) {
    scrl = new javax.swing.JScrollPane();
    scrl.setViewportView(getTxt());
    return scrl;
    private javax.swing.JTextPane getTxt() {
    if (txt == null) {
    txt = new javax.swing.JTextPane();
    txt.setBackground(java.awt.SystemColor.info);
    txt.setEditable(false);
    return txt;
    public void setText(String text) {
    if (txt.getEditorKit() == null) {
    txtToolTip.setEditorKit(new StyledEditorKit());
    txt.setContentType("text/html");
    txt.setOpaque(true);
    txt.setText(text);

  • Scroll bars not working in Finder

    I cannot drag the scroll bars in Finder windows on a Macbook with 10.4.8. I can scroll with 2 fingers, or with the arrow keys or the arrows at the bottom of the window. But dragging the scrollbar does not work.
    It works properly in Mail.app, Safari, Tex Edit Plus and probably others but not in GraphicConverter or the Finder.
    Any clues? Apple phone support had none.
    thx

    Did they suggest running Disc Utility to repair your permissions ...also, you might try running your maintenance scripts with Onyx and then restarting to see if that clears things up.
    You might also try deleting your finder .plist by trashing the file...
    User/Library/Preferences/com.apple.finder.plist
    Macbook 1.8-)   Mac OS X (10.4.8)   Week 38 base model w/1G Ram

Maybe you are looking for

  • Photoshop CS4+ please help download

    I need to edit a resume template I purchased thats saved as a PSD file. I downloaded photoshop CC but I was told I needed CS4  to edit the resume text. Can someone please tell me what is CS4 and how can I download it? Is it an extension of Photoshop

  • I need to highlight selected text in a pdf document

    I need to highlight selected text in a pdf document

  • OIM Disaster Recovery Setup

    We are in the processing of completing setup of our production environment with OIM 9.1.0.2. Our setup is running on WAS 6.1 in a two node cluster. We run to an Oracle database. For DR we were planning to take a backup of the production database and

  • Launch workitems from Agent inbox with Webflow customizing

    Hi all, I am looking for a definite answer to the following: Is it possible (in CRM 4.0) to process Workflow workitems that have a webflow linked from the Agent Inbox in the Webclient. I have set up the customizing in the inbox and the workitems appe

  • Where has Alt V gone in Itunes 12

    When manually entering track- and artistinfo I often used Alt V to proceed to next track. Why has it vanished in I-tunes12? Why have Album Artist and artist fields been put on separate tabs? It is a bit of a nuisance to have to go to  different tabs