<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Aleksandar Vacić &#187; Web dev</title>
	<atom:link href="http://aplus.rs/category/web-dev/feed/" rel="self" type="application/rss+xml" />
	<link>http://aplus.rs</link>
	<description>aplus.rs</description>
	<lastBuildDate>Mon, 21 May 2012 18:50:07 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>formula1.com — wow!</title>
		<link>http://aplus.rs/web-dev/formula1com-wow/</link>
		<comments>http://aplus.rs/web-dev/formula1com-wow/#comments</comments>
		<pubDate>Tue, 01 Apr 2008 10:12:46 +0000</pubDate>
		<dc:creator>Aleksandar</dc:creator>
				<category><![CDATA[Web dev]]></category>
		<category><![CDATA[F1]]></category>

		<guid isPermaLink="false">http://aplus.co.yu/f1/formula1com-wow/</guid>
		<description><![CDATA[The official F1 site has, over the years, seen more than a good share of changes. Year after year I was visiting it, hoping to be something usable and pleasant. ...]]></description>
			<content:encoded><![CDATA[<p>The <a href="http://formula1.com/">official F1 site</a> has, over the years, seen more than a good share of changes. Year after year I was visiting it, hoping to be something usable and pleasant. Alas, it wasn’t the case. From the Flash-all-over-the-place stages to the designed-for-640px – this site had all the signs of a site being designed by agencies going for bling-bling instead of usability and friendliness.<br />
It was so horrible, that I often went to <a href="http://f1-live.com/en/">f1-live.com</a>, because official site rarely offered anything interesting or up to the minute news. The only usable thing was a race countdown. The track and driver’s information were fine, but often so poorly executed that I had no inclination to read through.</p>
<p>Imagine my surprise when <a href="http://www.damir.se/">Damir</a> sent me an IM <q>how come you have not commented on the new F1 site</q>. <em>The current site is almost fantastic.</em> It finally uses a decent amount of screen real-estate. It has normal columns with just the right use of whitespace in between. Design is clean with the right amount of speed spiciness, navigation is understandable and well organized. Underlying code is XHTML Strict and the whole layout makes heavy use of CSS.</p>
<p>They have not stopped with technicalities and graphics – <em>the content is a-must-read</em>. I spent half a day reading through <a href="http://www.formula1.com/teams_and_drivers/hall_of_fame/">Hall of Fame</a> articles. Gerald Donaldson writes with so much passion and wit that I couldn’t stop grinning every second paragraph. It’s passages like this that drives you to explore the site and look for more:</p>
<blockquote><p>He affected an aura of bravado and cut a dashing figure to match. With his flowing moustache, untamed mane of long blond hair and swaggering walk he resembled a swashbuckling pirate who might plunder and pillage for pleasure. He used his car like a sword, swinging it about ferociously, cutting a swathe through the corners, kicking up dust, grass and tyre smoke and carving great chunks of time out of each circuit.</p></blockquote>
<p><small>(On Keke Rosberg, 1982 F1 champion)</small></p>
<p>This section alone is a prime example of copy-writing being the important part of the overall site quality, just like good design and technical fluency.</p>
<p>Web site is not perfect and there are some stuff that could be changed, but I don’t want to nit-pick – I’m gonna read the rest of the Hall of Fame articles instead.</p>
]]></content:encoded>
			<wfw:commentRss>http://aplus.rs/web-dev/formula1com-wow/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IE8 beta1 ships, standardista rejoys</title>
		<link>http://aplus.rs/web-dev/ie8-beta1-ships-standardista-rejoys/</link>
		<comments>http://aplus.rs/web-dev/ie8-beta1-ships-standardista-rejoys/#comments</comments>
		<pubDate>Thu, 06 Mar 2008 08:02:33 +0000</pubDate>
		<dc:creator>Aleksandar</dc:creator>
				<category><![CDATA[Web dev]]></category>
		<category><![CDATA[ie8]]></category>

		<guid isPermaLink="false">http://aplus.co.yu/internet-explorer/ie8-beta1-ships-standardista-rejoys/</guid>
		<description><![CDATA[What an exciting times… One theme I hope developers notice here is interoperability. The team understands how big an impact differences between browsers (and previous versions of IE in particular) ...]]></description>
			<content:encoded><![CDATA[<p>What an exciting times…</p>
<blockquote><p>One theme I hope developers notice here is interoperability. The team understands how big an impact differences between browsers (and previous versions of IE in particular) have had on developers in terms of wasted time, frustration, and (in some cases) limiting the experience that they deliver to users.  We want to deliver a big step forward in real-world interoperability for developers with IE8, and standards are at the core of our approach. This topic deserves a lot more than just this paragraph; expect more soon. </p></blockquote>
<p>To <a href="http://blogs.msdn.com/ie/archive/2008/03/05/internet-explorer-8-beta-1-for-developers-now-available.aspx">read something like this</a> on IE team blog page makes me warm in heart. With the <a href="http://blogs.msdn.com/ie/archive/2008/03/03/microsoft-s-interoperability-principles-and-ie8.aspx">previous announcement</a> that IE8 will push the standards as hard as it can (and Microsoft certainly can) this is genuinely warming. The amount of cursing I do regarding IE7 is several orders of magnitude <em>less</em> than what I do with IE6. I genuinely believe IE8 will be a pleasure to test and develop. Yes, I’m hoping on the hype bandwagon, full speed. <a href="http://msdn2.microsoft.com/en-us/ie/default.aspx">IE developer center</a> is an active place as it was back in IE4 days, when Microsoft was in its best days.</p>
<p>There are three main points that trouble me with IE7, listed by annoying factor.</p>
<p><em>z-index positioning contexts</em>: I will test and re-test my <a href="/lab/z-pos/">z-index tutorial</a> in IE8 and update it accordingly. This is the single most infuriating quibble I have left with IE and the main reason I still have to use IE7.css under conditional comments.</p>
<p>Another issue I’m looking forward to check is does IE8 support <em><code>:after</code> and <code>:before</code></em> in line with other browsers, so at least float clearing will not be an issue anymore. <code>min-height:0</code> does the job in IE7, abusing the content box expanding bug. Speaking of which…</p>
<p>Third issue is exactly that: if the content I have in particular box can’t fit in it, it should stick out and overlap the neighboring content; <em>it should not expand the whole box</em> thus destroying my lovely float-based layouts. </p>
<p>If these things are done properly…man, would I be a singing web developer then.</p>
]]></content:encoded>
			<wfw:commentRss>http://aplus.rs/web-dev/ie8-beta1-ships-standardista-rejoys/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DOCTYPE switch, part II</title>
		<link>http://aplus.rs/web-dev/doctype-switch-part-ii/</link>
		<comments>http://aplus.rs/web-dev/doctype-switch-part-ii/#comments</comments>
		<pubDate>Tue, 22 Jan 2008 10:24:22 +0000</pubDate>
		<dc:creator>Aleksandar</dc:creator>
				<category><![CDATA[Web dev]]></category>

		<guid isPermaLink="false">http://aplus.co.yu/internet-explorer/doctype-switch-part-ii/</guid>
		<description><![CDATA[This is going to be one of the most linked to ALA articles and the source of controversy and dicsussion in months (years) to come. http://alistapart.com/articles/beyonddoctype There must have been ...]]></description>
			<content:encoded><![CDATA[<p>This is going to be one of the most linked to ALA articles and the source of controversy and dicsussion in months (years) to come.</p>
<p><a href="http://alistapart.com/articles/beyonddoctype">http://alistapart.com/articles/beyonddoctype</a></p>
<p>There must have been thunderous complaints that Microsoft received from big enterprise clients. I do not see what else would drive them to look for a solution like this.<br />
I read it twice and still can’t decide is this good or bad. On one hand, it is a way to prevent urgent evening calls from clients that some customers are reporting site is not looking ok. In the past, I frequently stated this is not a problem for me, but I can understand that it is not something everyone would accept.</p>
<p>It saddens me a bit that cleaning up the web will not be a viable future at all. If IE8 has gone fully standard-oriented, I assumed that  in 8–10 years majority of web sites on the Internet would be standard-compliant. It might still be that way…</p>
<p>At least the basis (IE8, FF3, Safari 3) would be good.</p>
]]></content:encoded>
			<wfw:commentRss>http://aplus.rs/web-dev/doctype-switch-part-ii/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Dear PayPal, have you heard of Unicode?</title>
		<link>http://aplus.rs/web-dev/dear-paypal-have-you-heard-of-unicode/</link>
		<comments>http://aplus.rs/web-dev/dear-paypal-have-you-heard-of-unicode/#comments</comments>
		<pubDate>Wed, 26 Dec 2007 00:19:18 +0000</pubDate>
		<dc:creator>Aleksandar</dc:creator>
				<category><![CDATA[Web dev]]></category>

		<guid isPermaLink="false">http://aplus.co.yu/web-dev/dear-paypal-have-you-heard-of-unicode/</guid>
		<description><![CDATA[“ć” is letter. Maybe not in Latin1, but certainly is in Unicode. This is far from first time that I have issues like this. I recently bought the promo bundle ...]]></description>
			<content:encoded><![CDATA[<div class="screenshot"><img src="/images/web/paypal-letters.png" alt="PayPal understands only Latin1?" /></div>
<p>“ć” <em>is</em> letter. Maybe not in Latin1, but certainly is in Unicode. </p>
<p>This is far from first time that I have issues like this. I recently bought the promo bundle on <a href="http://www.macupdate.com//">macupdate.com</a> and entered the same letter in my last name, which gave me 12 serial numbers based on “Aleksandar Vaci<strong>&amp;#263;</strong>” because it converted the letter into HTML entity.<br />
To PayPal’s credit, at least they don’t allow this to happen so I don’t have to see a display as ugly as this:</p>
<div class="screenshot"><img src="/images/web/forklift-about.png" alt="With compliments from mupromo.com" /></div>
<p>This also happened when I bought TopStyle Pro few years ago, through eSellerate.</p>
<p>What is it with these web sites?<br />
Are they all based on decade old code snippets, before the wide spread use of Unicode and UTF-8? How can any current website allows itself the luxury of not using Unicode, in this era of globalization?</p>
<p>Amateurish, to put it mildly.</p>
]]></content:encoded>
			<wfw:commentRss>http://aplus.rs/web-dev/dear-paypal-have-you-heard-of-unicode/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>CardroomSupply.com — web design review</title>
		<link>http://aplus.rs/web-dev/cardroomsupplycom-web-design-review/</link>
		<comments>http://aplus.rs/web-dev/cardroomsupplycom-web-design-review/#comments</comments>
		<pubDate>Tue, 25 Sep 2007 11:06:47 +0000</pubDate>
		<dc:creator>Aleksandar</dc:creator>
				<category><![CDATA[Web dev]]></category>

		<guid isPermaLink="false">http://www.aplus.co.yu/web-dev/cardroomsupplycom-web-design-review/</guid>
		<description><![CDATA[I don’t think I ever played poker extensively. I remember playing Raub a lot few summers, a very simple and addictive hungarian game of cards. And that’s about it. Thus ...]]></description>
			<content:encoded><![CDATA[<p>I don’t think I ever played poker extensively. I remember playing Raub a lot few summers, a very simple and addictive hungarian game of cards. And that’s about it.<br />
Thus you can imagine that I never needed a professional poker furniture. Guys from <a href="http://www.imdb.com/title/tt0128442/">Rounders</a> would probably have a thing or two to say on it, but not me. </p>
<p><a href="http://www.CardroomSupply.com/"><img src="/images/reviewme/cardroom-logo.gif" alt="" class="rfloat"/></a><br />
Thus, I’m not a guy who would be a customer of <a href="http://www.CardroomSupply.com/">CardroomSupply.com</a> nor I can give you a review on the goods  and services they provide.<br />
What I can review is the web site through which all these beauties are sold. <em>Full disclosure</em>: this is payed review through ReviewMe.com service.</p>
<p><span id="more-299"></span></p>
<h3>Overall layout</h3>
<p>When I first opened the home page, my eyes were first drawn to…FHM logo on the right. Yep. It’s the biggest, most impressive visual on the top of the page. Somehow I doubt this is a desired behavior of the potential buyer. This would better be placed in the left sidebar, at the bottom, and with a bit subdued colors.</p>
<div class="photo"><img src="/images/reviewme/cardroom-top.png" alt="Top part of the home page" /></div>
<p>Second thing I saw is the “free shipping” and the phone number, which is good. Whenever I’m shopping, having contact/order number close-by is always a boon. If I see a product I’m interested in and I need more information, I don’t want to leave that page to be able to see the contact number. This is the best thing on the whole web site.</p>
<p>Link list in the top middle requires mental push to actually read it. It’s written in all caps (which is considered shouting in online communication) and all the links are very close to one another. Almost the same thing is repeated in the navigation in the left sidebar, and there is little difference between them. Why two?<br />
Recommendation: decide do you want a top or left-hand navigation, and use the other space for other purposes — like moving the “free shipping” + phone number part to the top.</p>
<p>Home page as a whole is a bit of a mess…Apart from mentioned FHM logo which really stands out, other graphics are all pretty much the same, all look visually equivalent. Thus my eyes simply glided from one feature offer to another, not really stopping at anything. Instead of having 3+3 boxes in the middle and 2 best offers on the right, I would recommend to have best offers to be as wide as both central and right column and a distinctive background and then to have the other offers below, grouped in two or three boxes with different visuals.</p>
<div class="photo"><img src="/images/reviewme/cardroom-product.png" alt="Product page" /></div>
<p>The actual product page is fine, apart from the fact that product name header is small with dull gray color. The shopping cart widget is good, with clearly shown price and nice big “add to cart” button.<br />
What is really needed here are much larger product images. I really hate the Amazon-induced stereotype that when you click on “larger image” you get something like 50–100% larger image. Amazon sells millions of stuff from 1000s of sellers. Here you sell your own products — why don’t offer a 2000x3000 (or vice-versa) versions, professionally shoot (the given larger images show compression artifacts), so I can really look into it. Give me detail close-ups too. If I’m willing to pay a $1000 for a poker table, I would certainly appreciate an ability to see it more closely and from different angles. And since I’m deliberately clicking on it, it does not really matter what size those images are — I will wait until they download and use that time to read more from the product page.</p>
<h3>Informations</h3>
<p>Contact us page is bland with huge “check order image” which looks rather childish. This order check feature is actually a really desired feature considering the fact that cited delivery times can be in weeks. As such, this feature should be prominently placed at the top of the all pages (especially home page), along with phone number.</p>
<p>About us page is again very bland. It should have more images, quotes from magazine reviews, possibly links to videos — either from TV reviews or videos shoot by CardroomSupply. In the YouTube internet of today, bandwidth is a non-issue. Info tab and About us should be merged.</p>
<p>I also found a strange link at the bottom — for poker tips. This is the only article of this sort that I have seen and somehow looks like thrown in. It does not fit.<br />
Such articles are great SEO tools — if you have a bunch of them you can draw links to your site from all kinds of places. This in return gives you better page rank and better findability on search engines.<br />
However, if you want to do that, do it properly — create a whole sections for it, give it a link in the top navigation and publish new stuff. The more the merrier. If the content is good, then people will start linking to it on their own.</p>
<h3>Technical impressions</h3>
<p>Being a firm supporter of semantic and valid markup and CSS-based designs, immediately upon opening the home page I noticed signs pointing to outdated code. Here is lower part of the sidebar in IE6 and Firefox:</p>
<div class="photo"><img src="/images/reviewme/cardroom-sidebar.png" alt="Sidebar is cut in Firefox (on the right) while fine in IE6" /></div>
<p>While this does not necessarily has anything to do with coding, it is almost a rule to see this kind of problems on pages using invalid markup. If things were properly coded, there is no way that central column and sidebars would overlap like that.</p>
<p><a href="http://validator.w3.org/check?verbose=1&#038;uri=http%3A%2F%2Fwww.cardroomsupply.com%2F">Validating the home page</a> yields 87 errors, but the number itself does not gives full scope of markup problems.</p>
<p>First, there is no charset defined, at all. It’s not a given fact to what will browsers fall back. This is just one line of code, either client or server side and there is really no excuse for not including it. DOCTYPE is incomplete HTML 4.01 Transitional — adding just the URL would be enough, although I would recommend striving for at least 4.01 Strict.</p>
<p>The real scope of the markup problem is revealed when looking in the source code. There is script block being placed inside the HTML element, but before the HEAD element. This is Yahoo shopping code and at first I thought maybe this is a fault of the Yahoo. It seems unlikely given Yahoo’s recent YUI stuff, but I went to Yahoo! Shopping home page anyway, randomly checked few stores and have not seen this repeated. <small>What I have seen that many stores have just as like-1996 markup, which is very sad.</small></p>
<p>The code is an old-school (sic!) tag soup, with over-bloated markup practically screaming for clean up. For example, this list of links at the top:</p>
<div class="photo"><img src="/images/reviewme/cardroom-toplinks.png" alt="Top links" /></div>
<p>is coded like this:</p>
<div class="igBar"><span id="lhtml-4"><a href="#" onclick="javascript:showPlainTxt('html-4'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">HTML:</span>
<div id="html-4">
<pre class="html">
<ol>
<li style="color:#333;">
<div style=""><span style="color: #009900;"><a href="http://december.com/html/4/element/table.html"><span style="color: #000000; font-weight: bold;">&lt;table</span></a> <span style="color: #000066;">border</span>=<span style="color: #ff0000;">"0"</span> <span style="color: #000066;">cellspacing</span>=<span style="color: #ff0000;">"0"</span> <span style="color: #000066;">cellpadding</span>=<span style="color: #ff0000;">"0"</span><span style="color: #000000; font-weight: bold;">&gt;</span></a></span></div>
</li>
<li style="color:#26536A;">
<div style=""><span style="color: #009900;"><a href="http://december.com/html/4/element/tr.html"><span style="color: #000000; font-weight: bold;">&lt;tr&gt;</span></a></span></div>
</li>
<li style="color:#333;">
<div style=""><span style="color: #009900;"><a href="http://december.com/html/4/element/td.html"><span style="color: #000000; font-weight: bold;">&lt;td</span></a> <span style="color: #000066;">align</span>=<span style="color: #ff0000;">"right"</span> <span style="color: #000066;">valign</span>=<span style="color: #ff0000;">"top"</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">"introlinks-cell"</span><span style="color: #000000; font-weight: bold;">&gt;</span></a></span><span style="color: #009900;"><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">&lt;a</span></a> <span style="color: #000066;">href</span>=<span style="color: #ff0000;">"http://www.cardroomsupply.com/pokertables.html"</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">"introlink"</span><span style="color: #000000; font-weight: bold;">&gt;</span></a></span>POKER</div>
</li>
<li style="color:#26536A;">
<div style="">TABLES!<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/a&gt;</span></span> <span style="color: #009900;"><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">&lt;a</span></a> <span style="color: #000066;">href</span>=<span style="color: #ff0000;">"http://www.cardroomsupply.com/cardtables.html"</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">"introlink"</span><span style="color: #000000; font-weight: bold;">&gt;</span></a></span>CARD TABLES!<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/a&gt;</span></span> <span style="color: #009900;"><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">&lt;a</span></a> <span style="color: #000066;">href</span>=<span style="color: #ff0000;">"http://www.cardroomsupply.com/playingcards.html"</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">"introlink"</span><span style="color: #000000; font-weight: bold;">&gt;</span></a></span>PLAYING</div>
</li>
<li style="color:#333;">
<div style="">CARDS!<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/a&gt;</span></span> <span style="color: #009900;"><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">&lt;a</span></a> <span style="color: #000066;">href</span>=<span style="color: #ff0000;">"http://www.cardroomsupply.com/pokerchips.html"</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">"introlink"</span><span style="color: #000000; font-weight: bold;">&gt;</span></a></span>POKER CHIPS!<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/a&gt;</span></span><span style="color: #009900;"><a href="http://december.com/html/4/element/br.html"><span style="color: #000000; font-weight: bold;">&lt;br&gt;</span></a></span></div>
</li>
<li style="color:#26536A;">
<div style=""><span style="color: #009900;"><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">&lt;a</span></a> <span style="color: #000066;">href</span>=<span style="color: #ff0000;">"http://www.cardroomsupply.com/tehota.html"</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">"introlink"</span><span style="color: #000000; font-weight: bold;">&gt;</span></a></span>TEXAS HOLDEM TABLES!<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/a&gt;</span></span> <span style="color: #009900;"><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">&lt;a</span></a> <span style="color: #000066;">href</span>=<span style="color: #ff0000;">"http://www.cardroomsupply.com/dipota.html"</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">"introlink"</span><span style="color: #000000; font-weight: bold;">&gt;</span></a></span>3 in 1 TABLES!<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/a&gt;</span></span> <span style="color: #009900;"><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">&lt;a</span></a> <span style="color: #000066;">href</span>=<span style="color: #ff0000;">"http://www.cardroomsupply.com/tabletops.html"</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">"introlink"</span><span style="color: #000000; font-weight: bold;">&gt;</span></a></span>POKER TABLE TOPS!<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/a&gt;</span></span><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/td&gt;</span></span></div>
</li>
<li style="color:#333;">
<div style=""><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/tr&gt;</span></span></div>
</li>
<li style="color:#26536A;">
<div style=""><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/table&gt;</span></span> </div>
</li>
</ol>
</pre>
</div>
</div>
<p></p>
<p>Just look at it — it’s the simplest possible link list. There is absolutely no need to use anything but A elements for it:</p>
<div class="igBar"><span id="lhtml-5"><a href="#" onclick="javascript:showPlainTxt('html-5'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">HTML:</span>
<div id="html-5">
<pre class="html">
<ol>
<li style="color:#333;">
<div style=""><span style="color: #009900;"><a href="http://december.com/html/4/element/p.html"><span style="color: #000000; font-weight: bold;">&lt;p</span></a> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">"introlink"</span><span style="color: #000000; font-weight: bold;">&gt;</span></a></span></div>
</li>
<li style="color:#26536A;">
<div style=""><span style="color: #009900;"><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">&lt;a</span></a> <span style="color: #000066;">href</span>=<span style="color: #ff0000;">"http://www.cardroomsupply.com/pokertables.html"</span><span style="color: #000000; font-weight: bold;">&gt;</span></a></span>POKER TABLES!<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/a&gt;</span></span></div>
</li>
<li style="color:#333;">
<div style=""><span style="color: #009900;"><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">&lt;a</span></a> <span style="color: #000066;">href</span>=<span style="color: #ff0000;">"http://www.cardroomsupply.com/cardtables.html"</span><span style="color: #000000; font-weight: bold;">&gt;</span></a></span>CARD TABLES!<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/a&gt;</span></span></div>
</li>
<li style="color:#26536A;">
<div style=""><span style="color: #009900;"><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">&lt;a</span></a> <span style="color: #000066;">href</span>=<span style="color: #ff0000;">"http://www.cardroomsupply.com/playingcards.html"</span><span style="color: #000000; font-weight: bold;">&gt;</span></a></span>PLAYING CARDS!<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/a&gt;</span></span></div>
</li>
<li style="color:#333;">
<div style=""><span style="color: #009900;"><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">&lt;a</span></a> <span style="color: #000066;">href</span>=<span style="color: #ff0000;">"http://www.cardroomsupply.com/pokerchips.html"</span><span style="color: #000000; font-weight: bold;">&gt;</span></a></span>POKER CHIPS!<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/a&gt;</span></span></div>
</li>
<li style="color:#26536A;">
<div style=""><span style="color: #009900;"><a href="http://december.com/html/4/element/br.html"><span style="color: #000000; font-weight: bold;">&lt;br&gt;</span></a></span></div>
</li>
<li style="color:#333;">
<div style=""><span style="color: #009900;"><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">&lt;a</span></a> <span style="color: #000066;">href</span>=<span style="color: #ff0000;">"http://www.cardroomsupply.com/tehota.html"</span><span style="color: #000000; font-weight: bold;">&gt;</span></a></span>TEXAS HOLDEM TABLES!<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/a&gt;</span></span></div>
</li>
<li style="color:#26536A;">
<div style=""><span style="color: #009900;"><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">&lt;a</span></a> <span style="color: #000066;">href</span>=<span style="color: #ff0000;">"http://www.cardroomsupply.com/dipota.html"</span><span style="color: #000000; font-weight: bold;">&gt;</span></a></span>3 in 1 TABLES!<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/a&gt;</span></span></div>
</li>
<li style="color:#333;">
<div style=""><span style="color: #009900;"><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">&lt;a</span></a> <span style="color: #000066;">href</span>=<span style="color: #ff0000;">"http://www.cardroomsupply.com/tabletops.html"</span><span style="color: #000000; font-weight: bold;">&gt;</span></a></span>POKER TABLE TOPS!<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/a&gt;</span></span></div>
</li>
<li style="color:#26536A;">
<div style=""><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/p&gt;</span></span> </div>
</li>
</ol>
</pre>
</div>
</div>
<p></p>
<p>You can see that <code>class="introlink"</code> which is placed on each link is now put on the parent element, thus instead of <code>a.introlink {}</code> one can use <code>.introlink a {}</code> and achieve the same thing with less code.</p>
<p>Further, to save precious download bytes, there is no need to repeatedly use site name in the links — just use absolute paths:</p>
<div class="igBar"><span id="lhtml-6"><a href="#" onclick="javascript:showPlainTxt('html-6'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">HTML:</span>
<div id="html-6">
<pre class="html">
<ol>
<li style="color:#333;">
<div style=""><span style="color: #009900;"><a href="http://december.com/html/4/element/p.html"><span style="color: #000000; font-weight: bold;">&lt;p</span></a> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">"introlink"</span><span style="color: #000000; font-weight: bold;">&gt;</span></a></span></div>
</li>
<li style="color:#26536A;">
<div style=""><span style="color: #009900;"><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">&lt;a</span></a> <span style="color: #000066;">href</span>=<span style="color: #ff0000;">"/pokertables.html"</span><span style="color: #000000; font-weight: bold;">&gt;</span></a></span>POKER TABLES!<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/a&gt;</span></span></div>
</li>
<li style="color:#333;">
<div style=""><span style="color: #009900;"><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">&lt;a</span></a> <span style="color: #000066;">href</span>=<span style="color: #ff0000;">"/cardtables.html"</span><span style="color: #000000; font-weight: bold;">&gt;</span></a></span>CARD TABLES!<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/a&gt;</span></span></div>
</li>
<li style="color:#26536A;">
<div style=""><span style="color: #009900;"><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">&lt;a</span></a> <span style="color: #000066;">href</span>=<span style="color: #ff0000;">"/playingcards.html"</span><span style="color: #000000; font-weight: bold;">&gt;</span></a></span>PLAYING CARDS!<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/a&gt;</span></span></div>
</li>
<li style="color:#333;">
<div style=""><span style="color: #009900;"><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">&lt;a</span></a> <span style="color: #000066;">href</span>=<span style="color: #ff0000;">"/pokerchips.html"</span><span style="color: #000000; font-weight: bold;">&gt;</span></a></span>POKER CHIPS!<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/a&gt;</span></span></div>
</li>
<li style="color:#26536A;">
<div style=""><span style="color: #009900;"><a href="http://december.com/html/4/element/br.html"><span style="color: #000000; font-weight: bold;">&lt;br&gt;</span></a></span></div>
</li>
<li style="color:#333;">
<div style=""><span style="color: #009900;"><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">&lt;a</span></a> <span style="color: #000066;">href</span>=<span style="color: #ff0000;">"/tehota.html"</span><span style="color: #000000; font-weight: bold;">&gt;</span></a></span>TEXAS HOLDEM TABLES!<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/a&gt;</span></span></div>
</li>
<li style="color:#26536A;">
<div style=""><span style="color: #009900;"><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">&lt;a</span></a> <span style="color: #000066;">href</span>=<span style="color: #ff0000;">"/dipota.html"</span><span style="color: #000000; font-weight: bold;">&gt;</span></a></span>3 in 1 TABLES!<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/a&gt;</span></span></div>
</li>
<li style="color:#333;">
<div style=""><span style="color: #009900;"><a href="http://december.com/html/4/element/a.html"><span style="color: #000000; font-weight: bold;">&lt;a</span></a> <span style="color: #000066;">href</span>=<span style="color: #ff0000;">"/tabletops.html"</span><span style="color: #000000; font-weight: bold;">&gt;</span></a></span>POKER TABLE TOPS!<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/a&gt;</span></span></div>
</li>
<li style="color:#26536A;">
<div style=""><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/p&gt;</span></span> </div>
</li>
</ol>
</pre>
</div>
</div>
<p></p>
<p>And there you go — in few simple steps we have much cleaner code for maintenance. </p>
<p>Almost every bit of the code can be put through the same analysis and clean up and it will come up better, and smaller. I could go on and on (like: none of the images has required <code>alt</code> attribute) but I think this is enough.</p>
<h3>Closing words</h3>
<p>My warm recommendation would be for this to be given to a professional HTML/CSS coder for a complete overhaul and to a interface designer for adjustments.</p>
<p>I have browsed a lot through the pages and from what I could see these poker tables look really sturdy and beautiful. They <em>deserve</em> a <em>much better</em> presentation.</p>
]]></content:encoded>
			<wfw:commentRss>http://aplus.rs/web-dev/cardroomsupplycom-web-design-review/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Off to @media London</title>
		<link>http://aplus.rs/around-the-world/off-to-media-london/</link>
		<comments>http://aplus.rs/around-the-world/off-to-media-london/#comments</comments>
		<pubDate>Sun, 03 Jun 2007 11:18:25 +0000</pubDate>
		<dc:creator>Aleksandar</dc:creator>
				<category><![CDATA[Around the world]]></category>
		<category><![CDATA[Events]]></category>
		<category><![CDATA[Web dev]]></category>
		<category><![CDATA[@media]]></category>

		<guid isPermaLink="false">http://www.aplus.co.yu/around-the-world/off-to-media-london/</guid>
		<description><![CDATA[I’m already in London, strollling a bit while awaiting @media 2007 to start on Thursday. I’m at the Thistle city Barbican hotel, thus if you are attending the conference and ...]]></description>
			<content:encoded><![CDATA[<p>I’m already in London, strollling a bit while awaiting <a href="http://www.vivabit.com/atmedia2007/europe/">@media 2007</a> to start on Thursday. </p>
<p>I’m at the <a href="http://www.thistlehotels.com/thistle/hotels/hotelFinder/viewHotel.do?_DARGS=/thistle/WEB-INF/portlets/thistleLeisureFacilities/index.jsp.5_A&#038;_DAV=th-city-barbican">Thistle city Barbican</a> hotel, thus if you are attending the conference and staying there, let me know so we can have a few drinks.</p>
<p>My brother <a href="http://www.compito.se/">Damir</a> is coming from Sweden and I’m certain the conference would be a great experience. I’m really looking forward to meet more people.</p>
]]></content:encoded>
			<wfw:commentRss>http://aplus.rs/around-the-world/off-to-media-london/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>innerHTML kills event handlers</title>
		<link>http://aplus.rs/web-dev/innerhtml-kills-event-handlers/</link>
		<comments>http://aplus.rs/web-dev/innerhtml-kills-event-handlers/#comments</comments>
		<pubDate>Fri, 30 Mar 2007 11:04:02 +0000</pubDate>
		<dc:creator>Aleksandar</dc:creator>
				<category><![CDATA[Web dev]]></category>
		<category><![CDATA[Events]]></category>
		<category><![CDATA[innerHTML]]></category>
		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://www.aplus.co.yu/scripts/innerhtml-kills-event-handlers/</guid>
		<description><![CDATA[This is probably old news to regular Javascript coders, but for me it was an ugly bite. I have renewed my interest in JS with the abundance of libraries springing ...]]></description>
			<content:encoded><![CDATA[<p>This is probably old news to regular Javascript coders, but for me it was an ugly bite. I have renewed my interest in JS with the abundance of libraries springing up and started coding few solid client side interfaces in the office.</p>
<p>A certain interface was previously built in a hurry and HTML code was littered with plenty <code>onclick="somefunction()"</code> code. I re-factored all of that so that handlers were added on DOM.load; however, there was one nasty feature left in the code.</p>
<p>I had a table of 6 rows and button which that says “Add line”. Adding lines is easy: create the whole table row HTML on server, fetch that with XHR call and do <code>tbody.innerHTML += sRow</code>. Actually, this was the code I used for IE and as soon as this is done, <em>all the previously set event handlers went missing</em>. Like they never existed. </p>
<p>Bottom line: changing <code>innerHTML</code> property removes all late-bound event handlers and script on that piece of the page.</p>
<p>Solution was to get off my lazy fingers and type in proper DOM calls: <code>insertRow</code> and <code>insertCell</code>. Clean code and no browser branching. :)</p>
]]></content:encoded>
			<wfw:commentRss>http://aplus.rs/web-dev/innerhtml-kills-event-handlers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ma.fasteria</title>
		<link>http://aplus.rs/web-dev/mafasteria/</link>
		<comments>http://aplus.rs/web-dev/mafasteria/#comments</comments>
		<pubDate>Mon, 12 Mar 2007 09:08:27 +0000</pubDate>
		<dc:creator>Aleksandar</dc:creator>
				<category><![CDATA[Web dev]]></category>

		<guid isPermaLink="false">http://www.aplus.co.yu/general/mafasteria/</guid>
		<description><![CDATA[After my last rant, Larry from Ma.gnolia chimed in, saying that improvements are on the way and indeed they were. 3x less bytes to download, but I believe more importantly ...]]></description>
			<content:encoded><![CDATA[<p>After my last rant, Larry from Ma.gnolia chimed in, saying that improvements are on the way and indeed they were. </p>
<div class="screenshot"><img src="/images/magnolia/faster.png" alt="Much better than before" /></div>
<p>3x less bytes to download, but I believe more importantly — 10 HTTP requests now, 2x less than before. 6kB HTML, only 1 .js file and only 1 .css file. And none of the old functionality is lost. <small>If there is anything lost, I did not use it then.</small></p>
<p>One could call this perfect. Great work.</p>
]]></content:encoded>
			<wfw:commentRss>http://aplus.rs/web-dev/mafasteria/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ma.Slowlia</title>
		<link>http://aplus.rs/web-dev/maslowlia/</link>
		<comments>http://aplus.rs/web-dev/maslowlia/#comments</comments>
		<pubDate>Thu, 22 Feb 2007 20:48:00 +0000</pubDate>
		<dc:creator>Aleksandar</dc:creator>
				<category><![CDATA[Web dev]]></category>

		<guid isPermaLink="false">http://www.aplus.co.yu/web-dev/maslowlia/</guid>
		<description><![CDATA[I started using ma.gnolia.com several months ago, as I realized that my Firefox bookmarks.html creeps close to 2MB, out of which I regularly use about 50. Rest is just nice ...]]></description>
			<content:encoded><![CDATA[<p>I started <a href="http://ma.gnolia.com/people/aleck/bookmarks">using ma.gnolia.com</a> several months ago, as I realized that my Firefox bookmarks.html creeps close to 2MB, out of which I regularly use about 50. Rest is just nice to save. I went through several online bookmark managers and chose the flowery site because it has a nice interface and it works just fine. The Mini Ma.rker that you use to add new bookmarks is nicely done.</p>
<p>Apart from the fact that I much too often see this:</p>
<div class="screenshot"><img src="/images/magnolia/ma.slow.lia.png" alt="Where's my interface dude?" /></div>
<p>If you can point me to the save button, you’re my hero.<span id="more-275"></span> <small>Clicking on input box and hitting Enter key does the job, but that’s not the point.</small> And this happens after quite a while:</p>
<div class="screenshot"><img src="/images/magnolia/ma.slow.lia-why.png" alt="Oh, there it is..." /></div>
<p><strong>1.42min</strong> to get that shit of the screen? <strong>231kB</strong> for a popup that should open instantly and allow <em>quick</em> bookmark save? <small>Note, I have 512kbps ADSL connection</small></p>
<p>I really dig the interface. Really. But it wears off after a while and I just want to use the app. If you can’t rewrite it to be smaller, remove it completely. It does not matter that it looks like a glitch in the cache system — it would not even be a possibility of the glitch if it was simpler.</p>
<p>prototype.js, script.aculo.us &amp; co. — nice and dandy and all, but please <em>ditch it</em>. It’s over-bloated <i>I-want-to-be-everything-for-everyone</i> library that long ago went past the point of being usable for a public website. </p>
]]></content:encoded>
			<wfw:commentRss>http://aplus.rs/web-dev/maslowlia/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced (User agent is rejected)

Served from: aplus.rs @ 2012-05-21 22:29:57 -->
