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
git remote add -f eCSStender git://github.com/easy-designs/eCSStender.js.git |
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
<form id="news_subscribe" method="post" action="http://oi.vresp.com/index.html"> | |
<fieldset> | |
<legend><span>Sign Up for our Newsletter</span></legend> | |
<p> | |
<label for="news_email">E-mail address</label> | |
<input type="text" id="news_email" name="email_address" maxlength="255" /> | |
<button type="submit" value="Join Now" id="news_submit">Join Now</button> | |
<input type="hidden" name="fid" value="XXXXXXXXXX" /> | |
<input type="hidden" name="first_name" value="" /> | |
<input type="hidden" name="last_name" value="" /> |
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
// fix empty alt attributes | |
extended_valid_elements : 'img[src|alt=|title|class|id|style|height|width]', | |
verify_html : true, |
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
FunctionHandler.register( | |
['home'], | |
function(){ | |
alert("I'm gonna run some code here."); | |
}); |
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
// … | |
for (var i=0; i<opts.length; i++) { | |
var li = document.createElement('li'); | |
var txt = document.createTextNode(opts[i].text); | |
li.appendChild(txt); | |
li.selIndex = opts[i].index; | |
li.selectID = obj.id; | |
li.onclick = function() { | |
setVal(this.selectID, this.selIndex); | |
selectMe(this); |
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
<select id="something" name="something"> | |
<option value="1">This is option 1</option> | |
<option value="2">This is option 2</option> | |
<option value="3">This is option 3</option> | |
<option value="4">This is option 4</option> | |
<option value="5">This is option 5</option> | |
</select> |
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 selectReplacement(obj) { | |
// … | |
// iterate through them to look for the selected one | |
for (var i=0; i<opts.length; i++) { | |
// create a variable to store the selected option | |
var selectedOpt; | |
// check for the selected option (defaults to the first option) | |
if (opts[i].selected) { // this option is selected | |
// store the option's position in the array | |
selectedOpt = i; |
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
# FastCGI | |
<IfModule mod_fastcgi.c> | |
FastCgiIpcDir /tmp/fcgi_ipc | |
FastCgiServer /var/www/demo/public/dispatch.fcgi | |
-initial-env RAILS_ENV=development -processes 1 -idle-timeout 60 | |
#FastCgiServer /var/www/demo/public/dispatch.fcgi | |
-initial-env RAILS_ENV=production -processes 1 -idle-timeout 60 | |
</IfModule> | |
<VirtualHost *> |
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
export PATH="$PATH:/usr/local/apache/bin" |
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
<table> | |
<thead> | |
<tr> | |
<th>Event Date</th> | |
<th>Event Title</> | |
</tr> | |
</thead> | |
<tbody> | |
<?php | |
// Define colors for the alternating rows |
NewerOlder