Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Scrollbar Refresh Question



I have the scrollbar working one way but not another.

I can get it to work as follows:

var content = document.getElementById("scrollArea").object.content;
var contentarea = document.getElementById("scrollArea");
...

... theList += "<a href=""> +theCode + "\">" +thefName + " " + thelName + " </a>" + theCode  +"<br />";
//DEBUG(thefName + " " + thelName + " " + theCode +"\n");
}


content.innerHTML = theList;
contentarea.object.refresh();
 -------------------

This is just grabbing some text from a returned xml soap call.  I finally got this data to sort using an xslt stylesheet and transforming it to a  fragment.  When I do this like so:
var fragment = xsltProcessor.transformToFragment(xmlDocument,document);
myDOM = fragment; 
//now append the xml/html fragment to the contentarea
contentarea.innerHTML="";
contentarea.appendChild(myDOM);
contentarea.object.refresh();
 
The scrollbar doesn't show up anymore.

Ideas, suggestions or solutions are greatly appreciated.

Thanks

Mark

Mark Spidle
Assistant Manager of Information Systems
515-457-5873


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Dashboard-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/dashboard-dev/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.