Skip to content

Instantly share code, notes, and snippets.

View drGrove's full-sized avatar
😎

Danny Grove drGrove

😎
View GitHub Profile
@drGrove
drGrove / gist:9494831
Last active August 29, 2015 13:57
Keybase Proof
### Keybase proof
I hereby claim:
* I am drGrove on github.
* I am drgrove (https://keybase.io/drgrove) on keybase.
* I have a public key whose fingerprint is 6310 F7C2 70D4 E082 BCE1 AAE3 F666 BEF2 E618 4E29
To claim this, I am signing this object:
@drGrove
drGrove / gist:7414327
Last active December 28, 2015 00:29
jQuery read more
<div class="resort_class" data-resortId="<?= $resort->id; ?>">
fsjdffjkdlafjsda;ldfjsda;<span class="readMore">Read More</span>
<div class="moreToRead">afdjfaskjfd;ajfdkl;ajcjawkl;jeakl;fe</div>
</div>
<script type="text/javascript">
$(function(){
$(".readMore).on('click, function(){
$this = $(this);
'use strict'
$(function(){
var manipulateDom = function(options) {
$.each(options.DivIds, function(index, id){
$("#" + id).css('height', options.height);
});
}
});