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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<title></title> | |
<script src="http://code.jquery.com/jquery.min.js"></script> | |
<script> | |
;(function($) { | |
$.fn.textfill = function(options) { | |
var fontSize = options.maxFontPixels; |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<title></title> | |
<script> | |
var gnStartTime = 0; | |
var gbMove = false; | |
var gbStillTouching = false; | |
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
if (location.protocol === 'https:') { | |
var url="https://www.gidabavari.com/mm5/form/prod-form-process.php" | |
} else { | |
var url="http://www.gidabavari.com/mm5/form/prod-form-process.php" | |
}; |
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
<mvt:item name="toolkit" param="parentcat|pccount" /> | |
<ul class="dropdown" style="margin:0;"> | |
<mvt:foreach iterator="parent_category" array="parent_categories"> | |
<li style="margin:0;"><a href="/category/&mvte:parent_category:code;.html" title="&mvte:parent_category:name;">&mvte:parent_category:name;</a> | |
<mvt:item name="toolkit" param="subcat|ccount|l.all_settings:parent_category:code" /> | |
<mvt:if expr="ccount GT 0"> | |
<ul class="sub-menu" style="margin:0;"> | |
<mvt:foreach iterator="sub_category" array="sub_categories"> | |
<li style="margin:0;"><a href="/category/&mvte:sub_category:code;.html" title="&mvte:sub_category:name;">&mvte:sub_category:name;</a> | |
<mvt:item name="toolkit" param="subcat2|ccount2|l.all_settings:sub_category:code" /> |
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() { | |
var t = $('#thetable tbody').eq(0); | |
var r = t.find('tr'); | |
var cols= r.length; | |
var rows= r.eq(0).find('td').length; | |
var cell, next, tem, i = 0; | |
var tb= $('<tbody></tbody>'); | |
while(i<rows){ | |
cell= 0; |
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
<mvt:item name="toolkit" param="set_time_zone|our_time|-4" /> | |
<mvt:item name="toolkit" param="time_t_year|year|our_time" /> | |
<mvt:item name="toolkit" param="time_t_month|month|our_time" /> | |
<mvt:item name="toolkit" param="time_t_dayofmonth|dayofmonth|our_time" /> | |
<mvt:item name="toolkit" param="time_t_hour|hours|our_time" /> | |
<mvt:item name="toolkit" param="time_t_minute|minutes|our_time" /> | |
<mvt:item name="toolkit" param="time_t_second|seconds|our_time" /> | |
<mvt:item name="toolkit" param="mktime_t|currenttime|year|month|dayofmonth|hours|minutes|seconds|our_time" /> | |
<mvt:item name="toolkit" param="sassign|promoEndTime|1354348801"/> <mvt:comment> http://www.epochconverter.com/ </mvt:comment> |
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
/***** Selector Hacks ******/ | |
/* IE6 and below */ | |
* html #uno { color: red } | |
/* IE7 */ | |
*:first-child+html #dos { color: red } | |
/* IE7, FF, Saf, Opera */ | |
html>body #tres { color: red } |
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
var delay = (function(){ | |
var timer = 0; | |
return function(callback, ms){ | |
clearTimeout (timer); | |
timer = setTimeout(callback, ms); | |
}; | |
})(); | |
$('input').keyup(function() { | |
delay(function(){ |