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
<action-encoding>UTF-8</action-encoding> | |
<library-action name="style_accessors"> | |
<action-version version="1.2.7"> | |
Style Accessors | |
Get and set styles on any element, regardless where they were initially defined. | |
MIT License | |
Copyright (c) 2013 Walter Lee Davis | |
</action-version> |
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 path = ""; | |
// if external stylesheets are on we need to know if the sheets are in a directory so we can set the path correctly | |
if(fwDocument.fwExternalStylesheets) | |
{ | |
var links = fwDocument.fwTags.fwFindAll("link"); | |
for(var i = 0; i < links.length; i++) | |
{ | |
if(/^"?css\//.test(links[i].href.toString())) //" | |
{ |
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
javascript:(function() { | |
var d = document, | |
w = window, | |
sw = function() { return Math.max(d.documentElement.clientWidth, w.innerWidth) }, | |
i = d.createElement("div"), | |
s = "position:fixed;top:0;right:0;padding:4px 6px;z-index:999999;opacity:.8;background:#000;color:#fff;font:15px HelveticaNeue"; | |
i.setAttribute("style", s); | |
i.innerHTML = sw() + "px"; |
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> | |
<script> | |
var data | |
var formId = 'form' | |
function drawForm() { | |
if (!data) return | |
var outputEl = document.getElementById(formId); |
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 isoCountries = { | |
'AF' : 'Afghanistan', | |
'AX' : 'Aland Islands', | |
'AL' : 'Albania', | |
'DZ' : 'Algeria', | |
'AS' : 'American Samoa', | |
'AD' : 'Andorra', | |
'AO' : 'Angola', | |
'AI' : 'Anguilla', | |
'AQ' : 'Antarctica', |
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
# Ignore everything # | |
** | |
!wp-content/ | |
wp-content/** | |
!wp-content/themes/ | |
!wp-content/plugins/ | |
wp-content/themes/** | |
wp-content/plugins/** | |
# Add two rules for each Theme or Plugin you want to include: |