overlib

overlib

Gustav W Delius -
回帖数:1

I have updated overlib.js to the latest version which is a bit smaller than the old one and has some improvements too, see http://www.macridesweb.com/oltest/changeHistory.html.

I would like to use overlib outside the calendar. That is possible in principle because it is already loaded for every page. However the overlib <div> is currently added by the calendar. If I have something else (a text filter in my case) that wants to use overlib both on pages with the calendar and on pages without it I am in trouble. I can't simply add the overlib <div> again because then there would be a clash on pages with the calendar.

I therefore would like to take the creation of the overlib <div> out of the calendar code and put it into the print_header function in such a way that it ends up right after the body tag on all pages. I also would like to move overlib.cfg.php out of the calendar directory into the lib directory. Any objections?

回复Gustav W Delius

Re: overlib

Urs Hunkler -
Core developers的头像

Hi Gustav,

please look at the outline of the planed DIV frameset of Moodle. Could you use the "wrapper" DIV for overlib, which is planed to surround the whole page?

Great to get to know somebody who knows where in the Moodle code DIVs can be placed best 眨眼. At the moment the DIVs "wrapper", "header", "nav-bar" "containerContent" and "footer" are planed to be written in "header.html" and "footer.html". Can you propose a better place?

Regards
Urs