This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$('#nav-1 li .dropdown').each(function(){ | |
var parent_width = (((($(this).width() - $(this).parent().width()) / '2') / $(this).parent().width()) * '100') + ''; | |
var percent_round = Number(parent_width).toFixed(2); | |
$(this).css('margin-left' , '-' + (percent_round) + '%'); | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @author Stéphane Roucheray | |
* @extends jquery | |
* http://code.google.com/p/jquery-infinite-carousel/ | |
*/ | |
/** | |
* Modified by Laurence Gillian | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using umbraco.BusinessLogic; | |
using umbraco.cms.businesslogic.web; | |
using umbraco.cms.presentation.Trees; | |
using umbraco.interfaces; | |
namespace Abbott.Corporate.Logic.Events | |
{ | |
public class HideGridNodeOnLoad : ApplicationBase |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using umbraco.BusinessLogic; | |
using umbraco.cms.businesslogic.web; | |
using umbraco.cms.presentation.Trees; | |
using umbraco.interfaces; | |
namespace Asda.Jobs.EventHandlers | |
{ | |
public class CreateDisciplinesOnComplexArticleCreation : ApplicationBase | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<xsl:stylesheet | |
version="1.0" | |
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" | |
xmlns:umb="urn:umbraco.library" | |
exclude-result-prefixes="umb" | |
> | |
<xsl:output method="xml" omit-xml-declaration="yes"/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// jQuery Library | |
(function ($) { | |
$.fn.even = function () { | |
var jQ = $(); | |
jQ.context = this.context; | |
jQ.selector = this.selector; | |
for (var i = j = 0, l = this.length; i < l; i += 2, j++) | |
jQ[j] = this[i]; | |
return jQ; | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<xsl:stylesheet | |
version="1.0" | |
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" | |
xmlns:umb="urn:umbraco.library" | |
exclude-result-prefixes="umb" | |
> | |
<xsl:output method="xml" omit-xml-declaration="yes"/> | |
<xsl:param name="currentPage"/> |
OlderNewer