[Xerte] scaling Xerte output to fit browser window
Tenney Julian
Julian.Tenney at nottingham.ac.uk
Tue May 6 08:48:58 BST 2008
If you want to control the size of the Xerte window, use the stageSize
property on the LearningObject icon, setting width and height like this:
700,450
That will give you a stage area 700x450 pixels wide. You can use
window.open in javascript to open the url to the learning object at that
size.
________________________________
From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of E.A. Draffan
Sent: 03 May 2008 23:08
To: 'Xerte discussion list'
Subject: RE: [Xerte] scaling Xerte output to fit browser window
I have had the same problems as I need to make the size of the XERTE
window no bigger than 700 across - I have failed so far but know my
skills are lacking and I regret to say I have given up at the moment.
Best wishes E.A.
Mrs E.A. Draffan
Learning Societies Lab,
ECS, University of Southampton,
Tel +44 (0)23 8059 7246
http://www.lexdis.ecs.soton.ac.uk
http://www.emptech.info
From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
Sent: 03 May 2008 14:14
To: xerte at lists.nottingham.ac.uk
Subject: [Xerte] scaling Xerte output to fit browser window
Hi list/Julian
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. I've used some css to get the container div scaling and used
the following:
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.
Anyone got an example or suggestions how to do this?
Cheers
Ron
No virus found in this incoming message.
Checked by AVG.
Version: 7.5.524 / Virus Database: 269.23.8/1412 - Release Date:
02/05/2008 16:34
No virus found in this outgoing message.
Checked by AVG.
Version: 7.5.524 / Virus Database: 269.23.8/1412 - Release Date:
02/05/2008 16:34
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20080506/cb3dacee/attachment.html
More information about the Xerte
mailing list