World Population Counter
(estimated):Archives
- April 2013
- March 2013
- November 2012
- July 2012
- June 2012
- February 2012
- January 2012
- December 2011
- November 2011
- October 2011
- September 2011
- August 2011
- July 2011
- June 2011
- May 2011
- April 2011
- March 2011
- February 2011
- January 2011
- December 2010
- November 2010
- October 2010
- September 2010
- June 2010
- April 2010
- October 2009
- August 2009
- July 2009
- June 2009
- April 2009
- February 2009
- January 2009
Tweets
Meta
Create a form where “Submit” appears only when user agrees to all terms
I saw several scripts that allowed the “Submit” button to appear when one check box was checked, and modified it to appear only when ALL check boxes were checked. It’s a pretty simple change.
$(function () {
var $checks = $('input:checkbox.group');
$checks.click(function () {
for (var i = 0; i < $checks.length; i++) {
if ($checks[i].checked) {
$('#showme').show();
} else {
$('#showme').hide();
}
}
});
return false;
});
<div id="popup1" class="popup">
<div class="popup-header">
<a href="#" class="close-btn"></a>
</div>
<div class="popup-content">
<div id="checkboxgroup">
<input name="mycheckbox1" type="checkbox" value="1" class="group" />
<input name="mycheckbox2" type="checkbox" value="2" class="group" />
<input name="mycheckbox3" type="checkbox" value="3" class="group" />
</div>
<div class="btn-block">
<div id="showme" style="display: none">
<a href="#" class="ok">
<span class="middle">Continue</span>
</a>
</div>
<a href="#" id="desc" class="cancel">
<span class="middle">Cancel</span>
</a>
</div>
</div>
</div>
Note to self
Book Japan hotel this week. Oh, and passport. Eeegads.
Fushimi Inari Taisha courtesy of ~imladris517
How to open a bottle of Armagnac
There are important things in life…and then there are important things in life. Like what’s the quick and not-so-dirty way to get through the wax seal of a closed bottle of Armagnac so you can imbibe already? I am sure there is a correct way (and je suis désolée if this is not it), but this is the way I do it sans mess. Take a BBQ lighter, melt the wax until it’s soft, take a pointed object like a corkscrew or a knife or whatever is easiest to handle, and voilà ! Make sure you cut away a little below the top of the bottle so that when you pour, your Armagnac does not runneth over the wax and adulterate the taste in any way.
No wonder
Beautiful day at the dog park, by Kelsey Wynns and his pooch:
Beautiful Day at the Dog Park from Kelsey Wynns on Vimeo.
*so the freeze frame is a little awkward, but hey…
Posted in Animals, Funny
Leave a comment
























