Overstock.com Groundhog Day Logo
Feb 2, 2010
If you missed the animation, click on the image above to see it again!This was a last minute decision by the Overstock.com Marketing executives to celebrate Groundhog Day. More of these are on the way this year...
posted by Tim Avery at
9:59 AM
-
1 Comments
©
jQuery jShare-it Plugin Preview
Jan 31, 2010

With a simple find and replace in the CSS the color scheme can be changed in a second:

The CSS is CSS3 but does degrade smoothly in IE6 and IE7 (mostly removing rounded corners). The actual script works in everything: IE6+, Firefox 3+, Chrome, 4+ and Safari 3+.
Using jQuery, when a user clicks on an icon for a social media outlet, the script attaches the post URL for the specific outlet, and then grabs the URL and title from the specific page the user is trying to share (using the encodeURIComponent variable).
var url = encodeURIComponent(self.location.href);
var title = encodeURIComponent($("title:first").html());Just like AddThis it populates title and URL fields in the posting section of the said outlets. It's quite simple but there really aren't any good jQuery based widgets out there. Everything is sign up and go. With this free standing widget you have the control to do what you want with the code.
In the near future I will be adding more outlets, probably the top 25 or 30 in all, and develop a more compact version with small icons and text as opposed to the larger version. The big thing would be URL shortening integrated with bit.ly. I don't think it's out of the question, just a matter of coming up with a JSON call to bit.ly that returns the URL variable back to the script. We'll see what I can do.

In any event, like I said at the start, I was planning on releasing tonight, but the script I integrated for a smooth dropdown, had some issues, namely it conflicted with jquery.cycle in testing, which is a problem. There is no reason that it should interfere with any scripts. This week I am going to rework the script to something more standard and highly tested. I guess the actual release will have to wait a week!
Labels: css, css3, jQuery, jShare-it, plugin
posted by Tim Avery at
9:13 PM
-
0 Comments
©
Ikea... Dropdown Menu oops!
Jan 25, 2010
Here is their source code:
<div id="flashcontent_used" class="firstFlashContent" style="">
<embed
width="900"
height="370"
flashvars="wmode=transparent" <- The Rogue code
quality="high"
bgcolor="#ffffff"
name="sultan_nlp"
id="sultan_nlp"
style=""
src="/ms/en_GB/flash/homepage/sultan_new_lower_price.swf"
type="application/x-shockwave-flash"
/>
</div>
Remove that line and add wmode="transparent" and everything would work kosher.
posted by Tim Avery at
4:18 PM
-
1 Comments
©
jQuery 1.4 Released Today
Jan 14, 2010
Today the jQuery team released the latest and greatest version of the most versatile javascript library on the planet. Cutting to the cahse, you can read about it here:http://jquery14.com/day-01/jquery-14
There were a number of changes and upgrades, including the inclusion of sizzle.js into the new version (I'll talk about sizzle in a later post). I heard someone today complaining about jQuery saying it was "lazy" to use a library and not write your own .js from scratch (a "flash" guy... I think he is afraid jQuery is more useful than Flash--well it is..). Yes good idea, let me sit down and write something as good as jQuery form scratch to use for my projects or any. Let's be honest, the gusy who created jQuery are some of if not the best. If you think you can do better than them than go for it. You will be at it for weeks, if not months and years, and by the time you think you have something, they will be continuing moving forward with their kick-ass library.
Using a library like jQuery has NOTHING to do with laziness, and everything to do with being efficient and productive. Somebody else has done the ground work, created a code base, and made it publicly available to use. This is a god-sent in this industry and I applaud and thank the guys at jQuery for the work they have done. So to the point here it is, the latest minified version
http://code.jquery.com/jquery-1.4.min.js
Additionally, Google has provided a copy of jQuery hosted on their servers. This copy of jQuery is automatically minified and gzipped – and served from Google’s fast edge cache servers.
http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js
Include the above URL directly into your site and you will get the full performance benefits of a quickly-loading jQuery.
That's it for today. Grab the latest copy of jQuery and make some amazing stuff happen on the web.
Labels: jQuery
posted by Tim Avery at
3:21 PM
-
0 Comments
©
Smashing Magazine Likes My Design.. Sort of
Jan 13, 2010
Smashing said,
There were some negative comments, however, I haven't been involved in the actual product pages or search and navigation pages in terms of design and layout, so I haven't been able to have any influence there. Oh well
Read the entire article by clicking here
Labels: design kudos, project
posted by Tim Avery at
11:36 AM
-
1 Comments
©
Combing YUI and CSS Tools reset.css
Jan 12, 2010
CSS Tools reset.css
http://meyerweb.com/eric/tools/css/reset/
Yahoo YUI reset.css
http://developer.yahoo.com/yui/build/reset/reset.css
Reset.css is a necessary evil in modern web design. With 6-8 common browsers all in use at one time there are inconsistencies in default settings between the browsers. IE6 is still remains the predator that causes the most issues, but each browser has its own quirks, and this CSS basically "resets" the default styles to something more manageable to work with from the start. Using either of the above, or the below CSS is a starting point for any project, the first bit of CSS your HTML should read to get started. From here you can build your site out to be whatever you want, and are able to avoid many cross-browser problems that would otherwise occur. With that said, here is my reset.css, a combination of the two above mentioned stylesheets.
/* Version 1.0 Aerial Perspective combined YUI and CSS Tools reset.css*/
/** 01/11/10**/
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
margin:0; padding:0; border:0; outline:0; font-size:100%; vertical-align:baseline; background:transparent; color:#000000; }
table { border-collapse:collapse; border-spacing:0; }
body { line-height:1; }
fieldset, img { border:0; }
address, caption, cite, code, dfn, em, strong, th, var, optgroup { font-style:inherit; font-weight:inherit; }
ins { text-decoration:none; }
del { text-decoration:line-through; }
ol, ul { list-style:none; }
li { list-style:none; }
caption, th { text-align:left; }
h1, h2, h3, h4, h5, h6 { font-size:100%; font-weight:normal; }
blockquote, q { quotes:none; }
blockquote:before, blockquote:after, q:before, q:after { content:''; content:none; }
abbr, acronym { border:0; font-variant:normal; }
sup { vertical-align:baseline; }
sub { vertical-align:baseline; }
/* remember to define focus styles! */
:focus { outline:0; }
/*because legend doesn't inherit in IE */
legend { color:#000; }
input, button, textarea, select, optgroup, option { font-family:inherit; font-size:inherit; font-style:inherit; font-weight:inherit; }
/*@purpose To enable resizing for IE @branch For IE6-Win, IE7-Win */
input, button, textarea, select { *font-size:100%; }
Download a copy without having to copy and paste by clicking below:
my combined version of reset.css
posted by Tim Avery at
12:14 AM
-
0 Comments
©
Edits, Edits, Edits...
Jan 11, 2010
Now in this case I don't feel all that bad to point out the flaw. I mean this is a pretty big mistake. I actually can't compare it to anything else, because I don't think I have seen anything this blatant. Nothing at least in recent memory. The point is, everyone should have an edits process, whether a one man operation, or a billion dollar a year company. Don't just create something and push it out the door. Create something and check it yourself, then have someone else check it, and if you are really concerned have a third person. It doesn't matter if its a copywriter, or your mother-in-law.
Labels: oops
posted by Tim Avery at
3:39 PM
-
2 Comments
©
About Aerial Perspective



