From cb76a1615e792897835aa02a164c43a7bd2a43d4 Mon Sep 17 00:00:00 2001 From: Dylan Lloyd Date: Tue, 11 Jan 2011 19:05:09 -0500 Subject: [PATCH] Swapped class names, cleaned CSS & HTML, tidy'd. Switched .exhibit to .tab and .tab to .exhibit. Changed project specific class name's to ID's and standardized the naming. Added comments to group the ID's in includes/style.css. Got rid of empty li elements and moved virtually all style to the stylesheet as it should be. For some reason I can't figure out, the #peepshow_entry_title-2 anchor element is not inheriting font-style:italics. --- includes/all.js | 11 ++-- includes/style.css | 103 +++++++++++++++---------------- includes/tabs.js | 11 ++-- index.php | 149 ++++++++++++++++----------------------------- 4 files changed, 109 insertions(+), 165 deletions(-) diff --git a/includes/all.js b/includes/all.js index 5760c4d..a910e5c 100644 --- a/includes/all.js +++ b/includes/all.js @@ -248,24 +248,21 @@ b.callback.apply(this,arguments);a.dequeue()}})})}})(jQuery); (function(c){c.effects.slide=function(d){return this.queue(function(){var a=c(this),h=["position","top","left"],f=c.effects.setMode(a,d.options.mode||"show"),b=d.options.direction||"left";c.effects.save(a,h);a.show();c.effects.createWrapper(a).css({overflow:"hidden"});var g=b=="up"||b=="down"?"top":"left";b=b=="up"||b=="left"?"pos":"neg";var e=d.options.distance||(g=="top"?a.outerHeight({margin:true}):a.outerWidth({margin:true}));if(f=="show")a.css(g,b=="pos"?isNaN(e)?"-"+e:-e:e);var i={};i[g]=(f== "show"?b=="pos"?"+=":"-=":b=="pos"?"-=":"+=")+e;a.animate(i,{queue:false,duration:d.duration,easing:d.options.easing,complete:function(){f=="hide"&&a.hide();c.effects.restore(a,h);c.effects.removeWrapper(a);d.callback&&d.callback.apply(this,arguments);a.dequeue()}})})}})(jQuery); ;$(document).ready(function() { - $(".tabs").hide(); + $(".exhibit").hide(); var divs = document.getElementsByTagName('div'); if(document.location.hash){ $(document.location.hash + '_').show(); } var i = 0; - $("ul.portfolio li.project a.exhibit").click(function() { + $("ul#portfolio li a.tab").click(function() { i++; - $(".tabs").hide(); - $("ul.portfolio li").removeClass("active"); - $(this).addClass("active_project"); - + $(".exhibit").hide(); var activeTab = $(this).attr("href") + '_'; if (i==1) $(activeTab).show("slide", 600); else $(activeTab).show("puff", 600); - $(activeTab).addClass("active_tab"); + $(activeTab).addClass("active_exhibit"); }); $('#showdivs').click(function() { for(i=0;i - dylanstestserver @@ -26,11 +24,10 @@
-
- 3D printing is a form of - additive manufacturing technology where a three - dimensional object is created by successive layers of - material. [1]: + 3D printing is a form of additive + manufacturing technology where a three dimensional object + is created by successive layers of material. [1]:http://en.wikipedia.org/wiki/3D_printing

@@ -44,13 +41,10 @@
-
- youtube_backup
- -
-
- backs up all the youtube +
+

youtube_backup

backs + up all the youtube videos in a users favorites list.

this is my fork of the python.
-
- i_like_pandora
- -
-
- searches youtube for - what you like on pandora.
+
+

i_like_pandora

searches + youtube for what you + like on pandora.

then it downloads the first video.

- it's not quite done yet.
+ it's not quite done yet.


the code is free (as in freedom),
-
-

foxy-addons/

- -

peepshow


+
+

foxy-addons/

-
-
- a peepshowa + firefox addon, to load linked images inline (like on reddit).

here's the repo - for the source code.
+ for the source code.
-
- drawcss
-
- writing markup for website wireframes always seemed - silly.
+
+

drawcss

writing markup for website wireframes + always seemed silly.

this is a tool to draw them (it's not done).

@@ -118,10 +104,10 @@ code.
-
- readoo - helps you find search keywords to target.
+
+

readoo

helps + you find search keywords to target.

it reads your IIS logs, and finds successful keywords worth focusing on.
@@ -129,95 +115,62 @@ it's not done yet! here's the source code.
-

+
-