summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShaun McCance <shaunm@gnome.org>2012-11-03 15:40:49 -0400
committerShaun McCance <shaunm@gnome.org>2012-11-03 15:41:17 -0400
commite9bfaebe15f7cccd9a6d9f099647c5fc959f6dca (patch)
tree9edbb8d53aa8d076ba20fd37360bb119ef43c460
parenta265b7416e494ef7d2f7cb30f0a8246ce8ac5051 (diff)
downloadyelp-e9bfaebe15f7cccd9a6d9f099647c5fc959f6dca.tar.gz
yelp-common.xsl: Remove some JS that yelp-xsl now handles
-rw-r--r--data/xslt/yelp-common.xsl.in25
1 files changed, 0 insertions, 25 deletions
diff --git a/data/xslt/yelp-common.xsl.in b/data/xslt/yelp-common.xsl.in
index 4e7b4d8f..d81270c7 100644
--- a/data/xslt/yelp-common.xsl.in
+++ b/data/xslt/yelp-common.xsl.in
@@ -110,29 +110,4 @@ a.trail:hover { text-decoration: none; color: </xsl:text>
<xsl:template name="yelp.css.custom"/>
-<!-- == html.js.custom == -->
-<xsl:template name="html.js.custom">
-<script type="text/javascript" language="javascript" src="@DATADIR@/js/jquery-ui-1.8.custom.min.js"/>
-</xsl:template>
-
-<!-- == html.js.content.custom == -->
-<xsl:template name="html.js.content.custom">
-<xsl:text>
-$(document).ready (function () {
- if (location.hash != '') {
- var sect = $('#' + location.hash);
- var hgrp = sect.find('div.hgroup:first')
- sect.css('background-color', '</xsl:text><xsl:value-of select="$color.yellow_background"/><xsl:text>');
- hgrp.css('background-color', '</xsl:text><xsl:value-of select="$color.yellow_background"/><xsl:text>')
- window.setTimeout(function () {
- sect.css('-webkit-transition', 'background-color 2s linear')
- .css('background-color', '</xsl:text><xsl:value-of select="$color.background"/><xsl:text>');
- hgrp.css('-webkit-transition', 'background-color 2s linear')
- .css('background-color', '</xsl:text><xsl:value-of select="$color.gray_background"/><xsl:text>');
- }, 200);
- }
-});
-</xsl:text>
-</xsl:template>
-
</xsl:stylesheet>