<HTML dir=ltr><HEAD>
<META http-equiv=Content-Type content="text/html; charset=unicode">
<META content="MSHTML 6.00.6000.16640" name=GENERATOR></HEAD>
<BODY>
<DIV id=idOWAReplyText71337 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>you need to basically look at all the code in the html pages. You'll probably have to write your own / modify my loader and the rloObject bit, as it isn't designed to take % values. In there somewhere is a div. It is sized to the size of the LO. It's that div you need to give the 100% to - just hardcode it, it should work, and override the values passed into rloObject.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>I was up at 5.15 this morning to go cycling, and did 40 hilly peak district miles, so right now I'm not in the best shape to remember my name, let alone figure code out,</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>Talk to me about it next week - if that isn't too late. Perhaps we can make an html wrapper for it that does the 100% thing, and perhaps we can even set those values in Xerte itself, in the stageSize param on the interface icon. I need to play around some,</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>J</FONT></DIV></DIV>
<DIV dir=ltr><BR>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> xerte-bounces@lists.nottingham.ac.uk on behalf of Ron Mitchell<BR><B>Sent:</B> Sat 03/05/2008 14:14<BR><B>To:</B> xerte@lists.nottingham.ac.uk<BR><B>Subject:</B> [Xerte] scaling Xerte output to fit browser window<BR></FONT><BR></DIV>
<DIV>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face=Calibri>Hi list/Julian</FONT></FONT></P>
<DIV class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face=Calibri>I'm still trying to get a Xerte file to scale to fit the browser window onload and when it is resized. I can appreciate that this may cause other problems with layout etc but I'd like to test that to see if there are any. </FONT></FONT><FONT size=3><FONT face=Calibri>I've used some css to get the container div scaling and used the following:</FONT></FONT></DIV>
<DIV class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face=Calibri>myRLO = new rloObject('100%','100%','test.rlo'); in the html page but my Xerte content still displays at either the default stage size or the pixel dimesions added to stageSize.</FONT></FONT></DIV>
<DIV class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face=Calibri size=3>Anyone got an example or suggestions how to do this?</FONT></DIV>
<DIV class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face=Calibri size=3>Cheers</FONT></DIV>
<DIV class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face=Calibri size=3>Ron</FONT></DIV></DIV></BODY></HTML>