Here's something else worth mentioning, if anyone has any input on this little quirk. The psmain.html file that is my initially loaded page, is a page made up of divs abosolutely positioned (for now, I plan to change that). All of the rest of the content pages that are pulled into the loadPanel are either straight text, or text + tables. Why would the size of the page NOT be picked up and loaded properly into the loadPanel..as that seems to be what's going on here ?
Thanks again :) Diane R Tomlins -----Original Message----- From: Tomlins Diane [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 30, 2002 11:39 AM To: '[EMAIL PROTECTED]' Subject: [Dynapi-Help] A different loadPanel question Ok, got the loadPanel 'history' function problem solved, so I'll share the solution here: var myHistory = new Array() var historyPlace=0 myHistory[historyPlace]="psmain.html" //put initial page into loadPanel function myLoad(fileName) { myHistory[++historyPlace]=fileName mainContent.setURL(fileName) } function goBack() { if (historyPlace) mainContent.setURL(myHistory[--historyPlace]) } Thanks to those of you who lent your assistance :) Now my new question. The above works perfectly, but it has a twist. The 'psmain.html' is the inital page loaded into my loadPanel. At first, I set the size and position of that layer with this: DynAPI.onLoad=function() { mainContent = new LoadPanel("psmain.html"); mainContent.setHTML(); mainContent.setSize(612,1200); // height will be overwritten by default mainContent.moveTo(171,112); mainContent.setBgColor('white'); That works fine.. until you go 'back' to 'psmain.html' using the new history function. When going 'back' to it in the array, the loadPanel size is set back to 50px high ! I've tried a couple of different things to reset the size to what I specified, but that messes things up. What, or where, do I need to reset the loadPanel size to my specs so the entire 'psmain.html' page gets displayed ??? Thanks ! Diane R Tomlins ------------------------------------------------------- This sf.net email is sponsored by: Dice - The leading online job board for high-tech professionals. Search and apply for tech jobs today! http://seeker.dice.com/seeker.epl?rel_code=31 _______________________________________________ Dynapi-Help mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dynapi-help ------------------------------------------------------- This sf.net email is sponsored by: Dice - The leading online job board for high-tech professionals. Search and apply for tech jobs today! http://seeker.dice.com/seeker.epl?rel_code=31 _______________________________________________ Dynapi-Help mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dynapi-help