Forum LAMS for Tech-Heads - General Forum: Changing learner popup window size.


 
You may request notification for Changing learner popup window size..
Search: 

1: Changing learner popup window size.
01/17/08 08:01 AM
[ Reply | Forward ]
Is there any control on what size the popup window will be?

Can I just change this in the LMS integration when it generates the javascript to open the window?

The way the popup looks, intuitively I think all the content should fit into the content pane without any scrolling. Especially for interactive content, this seems like the best, if it doesn't make the window too big.

At least I'd like to make the width of the window big enough to prevent horizontal scrolling.

Posted by Dave Bauer

2: Re: Changing learner popup window size.
In response to 1 01/17/08 03:16 PM
[ Reply | Forward ]
Hi Dave,

Sure.

Have a look at the lams2int/www/index.adp file. In there you'll find the

onClick="window.open('@lams_server_url@/LoginRequest?uid=@username@&method=learner&ts=@datetime@&sid=@server_id@&hash=@hashValue@&courseid=@course_id@&lsid=@learning_session_id@&country=AU&lang=EN','LAMS_Learner','height=600,width=800,resizable')

Just change the hardcoded height and width and that should do the trick.

Perhaps this options could be this package parameters? Or even better, they could be set when you create the lesson in the .LRN side. Either way it should be fairly easy to do.

Ernie

Posted by Ernie Ghiglione

Reply to first post on this page
Back to LAMS for Tech-Heads - General Forum