1
// Javascript written by Tyler Mulligan
2
// http://www.detrition.net
5
Shadowbox.loadSkin('classic', 'js/skin'); // use the "classic" skin
7
$(document).ready(function() {
9
$('.info_content').hide();
10
$('.info_content p').hide();
11
$('.info_content code').hide();
12
$('.info_header h2 a').text("Click Here to Learn how to Install Games from PlayDeb");
13
$('.info_header a').click(function () {
14
$('.info_content').slideToggle('fast');
15
$('.info_content p').fadeIn(1200);
16
$('.info_content code').fadeIn(1800);
22
function(){ $('ul', this).fadeIn('fast'); },
26
$('#genre li').hoverClass ('sfHover');
33
handleUnsupported: 'remove',
37
Shadowbox.init(options);
40
$('.the_stars :radio.star').rating();
44
$('.add_new_tag').click(function () {
45
$(this).parent().children('.add_tag').fadeIn();
48
$('.add_tag_submit').click(function () {
49
//$(this).parent('.tags_container').children('.tags').fadeOut();
50
$(this).parent().parent('.tags_container').children('.tags').fadeOut();
51
$(this).parent().fadeOut();
52
// Database requery - then:
53
var newtag = $(this).parent().children('.add_tag_box').val()
54
if (newtag=="") { newtag="new tag!" }
55
$(this).parent().parent('.tags_container').children('.tags').append(", " + newtag );
56
$(this).parent().parent('.tags_container').children('.tags').fadeIn();
62
$.fn.hoverClass = function(c) {
63
return this.each(function(){
65
function() { $(this).addClass(c); },
66
function() { $(this).removeClass(c); }