AxKit2

 view release on metacpan or  search on metacpan

MANIFEST  view on Meta::CPAN

demo/generic/index.xml
demo/generic/stylesheet.tal
demo/generic/stylesheet.xps
demo/generic/stylesheet.xsl
demo/icons/folder.gif
demo/moewiki/edit.xsl
demo/moewiki/global.xsl
demo/moewiki/index.xml
demo/spod5/index.pod
demo/spod5/ui/default/axon_logo_500_fade.gif
demo/spod5/ui/default/axon_logo_500_fade.png
demo/spod5/ui/default/blank.gif
demo/spod5/ui/default/bodybg.gif
demo/spod5/ui/default/framing.css
demo/spod5/ui/default/iepngfix.htc
demo/spod5/ui/default/opera.css
demo/spod5/ui/default/outline.css
demo/spod5/ui/default/pretty.css
demo/spod5/ui/default/print.css
demo/spod5/ui/default/s5-core.css
demo/spod5/ui/default/slides.css
demo/spod5/ui/default/slides.js
demo/spod5/ui/i18n/00_head.txt
demo/spod5/ui/i18n/bg-shade.png
demo/spod5/ui/i18n/bg-slide.jpg
demo/spod5/ui/i18n/framing.css
demo/spod5/ui/i18n/pretty.css
demo/spod5/ui/i18n/s5-core.css
demo/spod5/ui/i18n/slides.css
demo/stylesheets/default.css
demo/tal/index.xml
demo/tal/tal.html
demo/webmail/contents.xsl
demo/webmail/folders.xsl

demo/spod5/ui/default/iepngfix.htc  view on Meta::CPAN

  filters[f].enabled = s ? true : false;
  if (s) with (filters[f]) { src = s; sizingMethod = m }
 } else if (s) style.filter = 'progid:'+f+'(src="'+s+'",sizingMethod="'+m+'")';
}

function doFix() {
 if ((parseFloat(navigator.userAgent.match(/MSIE (\S+)/)[1]) < 5.5) ||
  (event && !/(background|src)/.test(event.propertyName))) return;

 if (tagName == 'IMG') {
  if ((/\.png$/i).test(src)) {
   filt(src, 'image');  // was 'scale'
   src = blankImg;
  } else if (src.indexOf(blankImg) < 0) filt();
 } else if (style.backgroundImage) {
  if (style.backgroundImage.match(/^url[("']+(.*\.png)[)"']+$/i)) {
   var s = RegExp.$1;
   style.backgroundImage = '';
   filt(s, 'crop');
  } else filt();
 }
}

doFix();

</script>

demo/spod5/ui/default/slides.js  view on Meta::CPAN

	slideCSS = document.getElementById('slideProj').href;
	var slides = document.getElementById('slideProj');
	var outline = document.getElementById('outlineStyle');
	slides.setAttribute('media','screen');
	outline.disabled = true;
	if (isGe) {
		slides.setAttribute('href','null');   // Gecko fix
		slides.setAttribute('href',slideCSS); // Gecko fix
	}
	if (isIE && document.styleSheets && document.styleSheets[0]) {
		document.styleSheets[0].addRule('img', 'behavior: url(ui/default/iepngfix.htc)');
		document.styleSheets[0].addRule('div', 'behavior: url(ui/default/iepngfix.htc)');
		document.styleSheets[0].addRule('.slide', 'behavior: url(ui/default/iepngfix.htc)');
	}
}

function getIncrementals(obj) {
	var incrementals = new Array();
	if (!obj) 
		return incrementals;
	var children = obj.childNodes;
	for (var i = 0; i < children.length; i++) {
		var child = children[i];

demo/spod5/ui/i18n/pretty.css  view on Meta::CPAN


body {background: #95A7D4 url(bg-slide.jpg) 100% 100% no-repeat; color: #210; font: 28px Arial, sans-serif;}
a {text-decoration: none; color: #336; border-bottom: 1px dotted;}
h1, h2, h3, h4, h5, h6 {font-size: 1em; margin: 0;}
sup {font-size: 0.75em; font-weight: normal;
  vertical-align: 0.5em; line-height: 1px;}
ul {margin-left: 1em; padding-left: 0;}
li {margin-bottom: 0.66em;}
li li {margin: 0.33em 0; font-size: smaller;}

#header {background: url(bg-shade.png); border-bottom: 1px solid #333;
  padding-bottom: 2em;}
#footer {background: url(bg-shade.png); color: #BBB; border-top: 1px solid #333;}
#header, #footer {font-size: 0.5em;}
#footer h1, #footer h2 { padding: 0.5em 0.75em;
  font-weight: normal; font-style: italic;}
#footer h1 {left: 0; font-size: 1em; letter-spacing: 1px;}
#footer h2 {position: absolute; bottom: 0; right: 0;}

#controls {font-size: 0.75em;}
#navList {margin-top: 3px;}
#navLinks a {margin: 0 0.33em; padding: 0 0.25em;
  border: 1px solid; border-color: #CCD #556 #556 #CCD;

demo/xslt/pod.xsl  view on Meta::CPAN

        </xsl:otherwise>
      </xsl:choose>
    </xsl:when>
    <xsl:otherwise>
      <a href="./{@page}#{translate(@section,' ','-')}"><xsl:apply-templates mode="pod"/></a>
    </xsl:otherwise>
  </xsl:choose>
</xsl:template>

<xsl:template match="xlink" mode="pod">
  <a href="{@href}"><xsl:apply-templates mode="pod"/></a><img src="/img/out.png"/>
</xsl:template>

<xsl:template match="head1" mode="pod">
  <h1><a name="{translate(.,' ','-')}"><xsl:apply-templates mode="pod"/></a></h1>
</xsl:template>

<xsl:template match="head2" mode="pod">
  <h2><a name="{translate(.,' ','-')}"><xsl:apply-templates mode="pod"/></a></h2>
</xsl:template>

plugins/fast_mime_map  view on Meta::CPAN


=cut

my %default_types = (
        'html'     => 'text/html',
        'htm'      => 'text/html',
        'txt'      => 'text/plain',
        'gif'      => 'image/gif',
        'jpeg'     => 'image/jpeg',
        'jpg'      => 'image/jpeg',
        'png'      => 'image/png',
        'tiff'     => 'image/tiff',
        'ico'      => 'image/x-icon',
        'css'      => 'text/css',
        'csv'      => 'text/csv',
        'rtf'      => 'text/rtf',
        'xml'      => 'text/xml',
        'mpg'      => 'video/mpeg',
        'avi'      => 'application/octet-stream',
        'eml'      => 'message/rfc822',
        'mp2'      => 'audio/mpeg',

plugins/spod5  view on Meta::CPAN

        </xsl:otherwise>
      </xsl:choose>
    </xsl:when>
    <xsl:otherwise>
      <a href="./{@page}#{translate(@section,' ','-')}"><xsl:apply-templates/></a>
    </xsl:otherwise>
  </xsl:choose>
</xsl:template>

<xsl:template match="xlink">
  <a href="{@href}"><xsl:apply-templates/></a><img src="/img/out.png"/>
</xsl:template>

<xsl:template match="head1">
  <div class="slide"><h1><xsl:apply-templates/></h1>
  <xsl:apply-templates select="following-sibling::*[generate-id(preceding-sibling::head1[1]) = generate-id(current())]"/>
  </div>
</xsl:template>

<xsl:template match="head2">
  <h2><xsl:apply-templates/></h2>



( run in 1.037 second using v1.01-cache-2.11-cpan-788537b7465 )