Use Ruby Gem, Sass to Generate a CSS Grid Layout
Grid CSS as SASS (grid.sass) download
Grid CSS as SASS (grid.sass) download
<?php // Set your return content type header('Content-type: text/html'); // Website url to open $daurl = 'htts://domain.com'; // Get that website's content $handle...
mate /.profile
javascript // set Search input to default text $('s').attr('value','Search');
<!--[if lt IE 7 ]> <body class="ie6"> <![endif]--> <!--[if IE 7 ]> <body class="ie7"> <![endif]--> <!--[if IE 8 ]> <body class="ie8"> <![endif]--> <!--[if IE 9 ]> <body class="ie9"> ...
def randomtoken characters = 'BCDFGHJKLMNPQRSTVWXYZbcdfghjkmnpqrstvwxyz23456789-' temptoken = '' srand TOKENLENGTH.times do pos = rand(characters.length) tem...
// '$' is prototype library (function(){ // use location for facebook like button var $pg = { url : unescape(document.location.href), social : $('social') // id to place l...
def importHTML require 'open-uri' @source = open("http://domain.com/some.html").read end uses a reference parameter when getting remote XML def importXML ...
// Check if images load properly // returns false if image not loaded function imgOK(img) { if (!img.complete) { return false; } if (typeof img.naturalWi...
// using jQuery library and validation plugin in this code // for checking keycodes function getKeyCode(event) { var keycode = (event.keyCode ? event.keyCode : (event.which ? event....
Showing 41-50 of 75 posts