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
public |
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
/*global window */ | |
/*global jQuery */ | |
jQuery.noConflict(); | |
/* scroll and viewportwidth functions start shane *************************************************************** */ | |
jQuery(window.document).scroll(function () { | |
"use strict"; | |
// Declare variables | |
var $el, viewportWidth, $ezblogmenu, $discussRight, $s_right; |
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
<IfModule mod_mime.c> | |
AddType text/css .css | |
AddType application/x-javascript .js | |
AddType text/html .html .htm | |
AddType text/richtext .rtf .rtx | |
AddType image/svg+xml .svg .svgz | |
AddType text/plain .txt | |
AddType text/xsd .xsd | |
AddType text/xsl .xsl | |
AddType text/xml .xml |
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
<IfModule mod_headers.c> | |
Header unset ETag | |
Header unset Last-Modified | |
</IfModule> | |
FileETag None | |
<FilesMatch "\.(ico|gz|JPG|jpg|jpeg|png|gif|js|css|swf)$"> | |
Header unset Cache-control | |
Header set Expires "access plus 1 month" | |
</FilesMatch> | |
<IfModule mod_expires.c> |
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(function ($e) { | |
"use strict"; | |
var isMobile = navigator.userAgent.match(/(iPhone|iPod|iPad|Android|BlackBerry)/); | |
if (!(isMobile)) { | |
$e('#refer').val(window.location.href); | |
$e.mask.definitions['~'] = '[+-]'; | |
$e('#phone').mask('(999)999-9999'); | |
$e('#field_phone_number').mask('999-999-9999'); | |
} | |
}); |
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
function phonenumber($value) | |
{ | |
$areacode = '[2-9]{1}\d{1}\d{1}'; // You might want to specify '2\d\d' (200 to 299) | |
$prefix = '[2-9]{1}\d{1}\d{1}'; | |
$regex = '#^(\('.$areacode.'\)|'.$areacode.')[\s\.-]?'.$prefix.'[\.-]?\d{4}$#'; | |
if (preg_match($regex, $value)) | |
{ | |
// Number now is in a suitable format | |
// extract digits -- remove this section to not test repeated pattern |
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
<?php | |
$e1 = 1; | |
$e2 = $e1; | |
$e3 = --$e2; | |
while ($e1 <= $counting) { | |
echo "myChart.setLabelX([".$e1.",'".$e1++."']);"; | |
} | |
while( $e2 <= $counting ) { | |
$value = $teststring[$e3++]; |
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
(function($){ | |
$('form.ProductReviewForm').attr('action', '') | |
.attr('method', ''); | |
$(".demo").remove(); | |
$(document).ready(function() { | |
$('#TopMenu').css({ | |
'border-radius':'0 0 5px 5px' | |
,'box-shadow':'2px 2px 3px #999999' | |
}); | |
$('#Menu').css({ |
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
/** | |
* Created By: Shane Reaume | |
* Date: 12/17/12 | |
* Time: 10:20 AM | |
*/ | |
/* form filters -Shane */ | |
$(function() { | |
var yourFacilityinput = $('label:contains("Your Facility")').parent('div').find('input'); |
OlderNewer