release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Search | Go
Wiki > System > Contribs > JSCalendarContrib > JSCalendarContribInline

JSCalendarContribInline

Inline include of JSCalendarContrib HTML for use in forms.

Initializes the library

(called only once)

%STARTINCLUDE%%STARTSECTION{"loadCalendar"}%%ADDTOZONE{
  "head"
  id="JSCalendarContrib/calendar-%IF{
    "defined style and $style!=''"
    then="%style%"
    else="large"
  }%"
  text="<style type='text/css' media='all'>
    @import url('%PUBURLPATH%/%SYSTEMWEB%/JSCalendarContrib/calendar-%IF{
      "defined style and $style!=''"
      then="%style%"
      else="large"
    }%.css');
    .calendar {z-index:2000;}
</style>"
}%%TMPL:P{
  "LIBJS"
  id="JSCalendarContrib/calendar"
  requires="JQUERYPLUGIN::FOSWIKI"
}%%TMPL:P{
  "LIBJS"
  id="JSCalendarContrib/lang/calendar-%IF{
    "defined lang and $lang!=''"
    then="%lang%"
    else="en"
  }%"
  requires="JSCalendarContrib/calendar"
}%%TMPL:P{
  "LIBJS"
  id="JSCalendarContrib/calendar-setup"
  requires="JSCalendarContrib/lang/calendar-%IF{
    "defined lang and $lang!=''"
    then="%lang%"
    else="en"
  }%"
}%%TMPL:P{
  "LIBJS"
  id="JSCalendarContrib/foswiki"
  requires="JSCalendarContrib/calendar-setup"
}%%ENDSECTION{"loadCalendar"}%%STOPINCLUDE%
r1 - 11 Apr 2012 - 01:22:28 - UnknownUser
This site is powered by FoswikiCopyright © by the contributing authors. All material on this site is the property of the contributing authors.
Ideas, requests, problems regarding Wiki? Send feedback