This file contains hidden or 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
$(document).ready(function() | |
{ | |
$("ul.lfm-thumb li").hover(function() { | |
if ($(this).hasClass("lfm-lefborder")) { | |
marTop = '110px'; | |
marLeft = '110px'; | |
} else { | |
marTop = '-110px'; /* The next 4 lines will vertically align this image */ | |
marLeft = '-110px'; | |
} |
This file contains hidden or 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
jQuery(document).ready(function(){ | |
//prevent the DatePicker default event handler from causing a full page refresh | |
jQuery('#schedule').click(function(e){ | |
e.preventDefault(); | |
}); | |
jQuery('#schedule').datepicker({ | |
onSelect: function(dateText, inst) { // receiver params - selected date, instance of datepicker | |
var name = jQuery( "#name" ), |
This file contains hidden or 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
#-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= # | |
### Created by Brad Sims <[email protected]> 25/06/2004 | |
### I got tired of .screenrc's on the internet being so | |
### poorly commented... So being a good GNUbie I took matters | |
### into my own hands; and wrote this dotfile. | |
# =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= # |
This file contains hidden or 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
$(document).ready(function() | |
{ | |
$("ul.lfm-thumb li").hover(function() { | |
if ($(this).hasClass("lfm-lefborder")) { | |
marTop = '110px'; | |
marLeft = '110px'; | |
} else { | |
marTop = '-110px'; /* The next 4 lines will vertically align this image */ | |
marLeft = '-110px'; | |
} |
This file contains hidden or 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
<%@ Page Title="University Bound Scholarship Program" Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="Scholarship_Default" %> | |
<%@ Register Src="~/controls/scholarshipForm.ascx" TagPrefix="ub" TagName="ScholarshipForm" %> | |
<%@Register Src="~/controls/VideoScholarship.ascx" TagPrefix="ub" TagName="VidBox" %> | |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml" lang="en"> | |
<head runat="server"> | |
<meta charset="utf-8"/> | |
<!--[if IE]><![endif]--> |
This file contains hidden or 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
<?PHP | |
$lastfm = new LastFm(); | |
$albums = $lastfm->user_getRecentTracks("user=lazypower"); | |
//$shouts = $lastfm->user_getShouts("user=lazypower"); | |
$info = $lastfm->user_getInfo("user=lazypower"); | |
?> |
This file contains hidden or 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 PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml" lang="en"> | |
<head><meta charset="utf-8" /> |
This file contains hidden or 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() | |
{ | |
// Everything should start with 0 when count arrays. Just good practice | |
var count = 0; | |
// We know we're going to need to start with at least one unordered list, so we create it outside the loop. Why not? | |
obj = $('<ul>'); | |
// Now that the blank ul object is created we need to assign it with a unique id. Well we don't *need* to, but it's good | |
// for semantics to have IDs be unique. | |
//obj.attr('id', 'vid-playlist' + count); |
This file contains hidden or 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 EmbedVid(someID) | |
{ | |
html = $('#embed-template').clone(); | |
html.attr('flashvars','value="file=upload/' + someID + '.flv&image=images/vidThumbs/' + someID + '.jpg"'); | |
html.find('embed').attr('flashvars','file=upload/' + someID + '.flv&image=images/vidThumbs/' + someID + '.jpg"'); | |
// better clear the video holder | |
$('#video-holder').empty(); | |
$('#video-holder').append(html.children()); | |
} |
This file contains hidden or 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
// wrap this in the document.ready method, so it knows what to attach to | |
$(document).ready(function() | |
{ | |
$(function () { | |
//playlist builder | |
$(function() | |
{ | |
OlderNewer