<?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>StylizedWeb.com &#187; Javascript</title>
	<atom:link href="http://stylizedweb.com/category/javascript/feed/" rel="self" type="application/rss+xml" />
	<link>http://stylizedweb.com</link>
	<description>Web Design + Wordpress Tutorials &#38; Resources</description>
	<lastBuildDate>Tue, 27 Mar 2012 09:00:07 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>How Many People is Your Website Alienating?</title>
		<link>http://stylizedweb.com/2009/10/16/how-many-people-is-your-website-alienating/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=rss</link>
		<comments>http://stylizedweb.com/2009/10/16/how-many-people-is-your-website-alienating/#comments</comments>
		<pubDate>Fri, 16 Oct 2009 16:08:51 +0000</pubDate>
		<dc:creator>3pointross</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[accessibility]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[web design]]></category>

		<guid isPermaLink="false">http://stylizedweb.com/?p=188</guid>
		<description><![CDATA[With the target lawsuit over and the WCAG II guidelines released the discussion of web accessibility is not what it once was. Beyond the thoughts and concerns of HTML5, people seem to have forgotten how important web accessibility is. With the web become more rich, interactive and feature filled every day we really should be [...]]]></description>
			<content:encoded><![CDATA[<p>With the target lawsuit over and the WCAG II guidelines released the discussion of web accessibility is not what it once was. Beyond the thoughts and concerns of HTML5, people seem to have forgotten how important web accessibility is. With the web become more rich, interactive and feature filled every day we really should be thinking about accessibility more rather than less. Tools like javascript libraries put in the hands of those who don't know better have the potential of creating horribly inaccessible websites. Furthermore there are plenty of websites that are content focused that simply haven't had the care taken to make them accessible through the basics (alt text, semantic markup, hijack javascript techniques, etc..)</p>
<p>If we are to look at the percentage of people who potentially have one accessibility need or more, you can get a pretty clear picture that not only is it a good idea for the betterment of the web -- but also it makes good business sense.</p>
<h2>The Rundown:</h2>
<p>The following is the percentage of web users I have found with a specific accessibility need (please note that these statistics are gathered from reports specifically in America - however I would expect similar results in other major areas of the world).</p>
<ul>
<li>Users with visual, motor, cognitive or hearing disabilities - 10%</li>
<li>Users with an outdated browser (pre IE6) - 1%</li>
<li>Users who have javascript disabled - 5%</li>
<li>Users running on a low resolution (800 x 600 or lower) - 4%</li>
<li>Users on dial-up or a slow internet connection - 10%</li>
</ul>
<p>This means that up to 30% of users surfing the web can be effected by accessibility issues on a website (there could be overlap in some of the different categories, so I say up to). This is a strikingly high number of users that could be effected and should be reason to wake up and smell the coffee. You wouldn't turn 3 out of every 10 people away from your store front, why are you turning them away from your website?</p>
<h2>How to Test</h2>
<p>Testing your site for accessibility usually requires a handful of methods and techniques. The best method of course is doing actual testing with users who have accessibility needs. However if you are not able to do so there are plenty of ways to test your site by yourself.</p>
<h3>Turn Elements Off</h3>
<p>One of the easiest and best ways to start testing your site for accessibility is simply to start browsing under different situations.</p>
<ul>
<li>Browse in all text</li>
<li>Turn off images</li>
<li>Turn off javascript</li>
<li>Shrink your web browser</li>
</ul>
<p>This can easily be done with tools such as the <a href="https://addons.mozilla.org/en-US/firefox/addon/60">web developers toolbar</a>.</p>
<h3>Try Using a Screen Reader</h3>
<p>There are a handful of ways to test your site using a screen reader with out spending large sums of cash.</p>
<ul>
<li><a href="http://www.freedomscientific.com/products/fs/jaws-product-page.asp">JAWS free trial</a></li>
<li><a href="http://firevox.clcworld.net/" target="_blank">FireVox Firefox screen reader plugin</a></li>
</ul>
<h3>Test Internet Speeds</h3>
<p>Using a tool like <a href="http://www.ghacks.net/2007/06/12/internet-speed-simulator/" target="_blank">Internet Speed Simulator</a> you can actually limit your bandwidth to see how your site will perform under dial up or slow speed connection situations.</p>
<h2>Accessibility Effects More People Than You Think</h2>
<p>Ultimately you need to remember that accessibility effects a lot more people than you may think. It is way to easy to dismiss accessibility because you don't see your users having accessibility needs, however that simply is not the case. There are plenty of more common accessibility concerns that you may not have in mind that could be keeping users from accessing your site.</p>
]]></content:encoded>
			<wfw:commentRss>http://stylizedweb.com/2009/10/16/how-many-people-is-your-website-alienating/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>Five commonly neglected parts of a website that deserve detail</title>
		<link>http://stylizedweb.com/2009/06/06/five-commonly-neglected-parts-of-a-website-that-deserve-detail/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=rss</link>
		<comments>http://stylizedweb.com/2009/06/06/five-commonly-neglected-parts-of-a-website-that-deserve-detail/#comments</comments>
		<pubDate>Sat, 06 Jun 2009 17:59:09 +0000</pubDate>
		<dc:creator>3pointross</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Themes]]></category>

		<guid isPermaLink="false">http://stylizedweb.com/?p=133</guid>
		<description><![CDATA[There are some great websites out there. They are well planned, well executed, well designed and simply effective. For every great website there are three that are could be great, but fall short due to a few small areas of neglect.]]></description>
			<content:encoded><![CDATA[<p>There are some great websites out there. They are well planned, well executed, well designed and simply effective. For every great website there are three that are could be great, but fall short due to a few small areas of neglect.</p>
<p>We as a community and as an industry have become very good at most aspects of building websites. Just looking through a few CSS Galleries clearly shows the quality of design that is being produced and how much it has improved in just a few years. If you look a layer deeper and view the source of these websites you will see beautiful and semantic XHTML/CSS. It seems the days of table based layouts is finally gone.</p>
<p>The amount of functionality and rich experience that sites have now day are creative, impressive and engaging. Powerful javascript libraries such as jQuery, MooTools and prototype make it easy to produce these experiences rapidly and effortlessly.</p>
<p>But a website is more than the design, code and effects/functionality. Sometimes we have to rethink our approach and find out what is really important. What are the sites objectives and what are our users objectives? More often than not you will find that you could improve the following areas of your websites:</p>
<h2>1. Web forms</h2>
<p><img class="alignright" src="http://www.stylizedweb.com/neglect/forms.gif" alt="" width="194" height="250" />While they are far from the sexiest part of web design, web forms are arguably one of the most important. In almost all cases a web form also functions as a conversion point (a point where a user performs an action that accomplishes a site objective).</p>
<p>Here a user is going to enter in some of their personal information so that they can get something in return. This establishes interest and provides the site owner with some valuable information.</p>
<p><strong>Web forms are often neglected in two ways:</strong></p>
<ol>
<li>There is not enough attention in making them usable. This could be poor validation, improper labeling of required fields, making them too long or poor form layout.</li>
<li>There is not enough attention to what information is asked from the user.</li>
</ol>
<p>You have a real opportunity to learn more about the people who use your website. That information can not only help you build a better website but also a better business. This marketing information could easily lead to R&amp;D improvements and better products.</p>
<p>Do some research and learn how you can make more effective forms. Your clients, bosses and website owners will thank you many times over.</p>
<h3>Resources</h3>
<ul>
<li><a href="http://www.amazon.com/gp/product/1933820241?ie=UTF8&amp;tag=httpwww3poinc-20&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN=1933820241">Web Form Design: Filling in the Blanks</a><img style="border:none !important; margin:0px !important;" src="http://www.assoc-amazon.com/e/ir?t=httpwww3poinc-20&amp;l=as2&amp;o=1&amp;a=1933820241" border="0" alt="" width="1" height="1" /></li>
<li><a href="http://www.cxpartners.co.uk/thoughts/web_forms_design_guidelines_an_eyetracking_study.htm">Web form eye tracking studies</a></li>
</ul>
<h2>2. The Content</h2>
<p><img class="alignright" src="http://www.stylizedweb.com/neglect/web-content.jpg" alt="" width="250" height="250" />Content is king. In a recent study 25% of users noted that the number one reason they were to leave a website was due to "weak web copy." The only reason anyone ever goes to any website is because of the content, yet so many website owners neglect the content. Despite it's importance content becomes an afterthought. Appearance, search rankings and conversions tend to be the focal point of most web design projects. What we may forget is that with out great content you still have a poor appearance, you won't rank high and no one will convert.</p>
<p>Rather than trying to write all of the content yourself, hire someone. It will be worth it, I promise you. If nothing else write the bulk of the copy and hire someone to make it consistent with the proper voice and tone.</p>
<h3>Resources</h3>
<ul>
<li><a href="http://www.amazon.com/gp/product/0273656058?ie=UTF8&amp;tag=httpwww3poinc-20&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN=0273656058">The Web Content Style Guide: The Essential Reference for Online Writers, Editors and Managers</a><img style="border:none !important; margin:0px !important;" src="http://www.assoc-amazon.com/e/ir?t=httpwww3poinc-20&amp;l=as2&amp;o=1&amp;a=0273656058" border="0" alt="" width="1" height="1" /></li>
<li><a href="http://www.webpagecontent.com/">Quality Web Content</a></li>
</ul>
<h2>3. The Footer</h2>
<p><img class="alignright" src="http://www.stylizedweb.com/neglect/footers.jpg" alt="" width="250" height="250" />With a little thought it becomes painfully obvious, most website footers are absolutely useless. A user takes the time and effort to read (or scan) through an entire page, and when they reach the bottom they are rewarded with links that don't fit anywhere else, a copyright notice and maybe an address and phone number.</p>
<p>The point where page content ends is a very high action zone. That means that users who get to that point have a high probability of clicking on any link that comes below it. Rather than some meaningless legal links and an address create a footer that gives the user a place to find additional content that may interest them.</p>
<p><strong>This could be:</strong></p>
<ul>
<li>Related pages / articles / posts</li>
<li>Links to rich media</li>
<li>Latest news / updates</li>
<li>Previously viewed pages</li>
<li>A contact form</li>
<li>Ways to save / share the page</li>
<li>Newsletter sign up</li>
</ul>
<h3>Resources</h3>
<ul>
<li><a href="http://www.smashingmagazine.com/2008/04/08/footers-in-modern-web-design-creative-examples-and-ideas/">Footers in modern web design</a></li>
<li><a href="http://popupon.blogspot.com/2007/01/geek-trends-15-footers-with-great.html">Footers with great usability</a></li>
</ul>
<h2>4. The Print Version</h2>
<p><img class="alignright" src="http://www.stylizedweb.com/neglect/printing-mailbox.jpg" alt="" width="250" height="269" />Many designers fail to realize how many people still prefer to print off websites rather than try and read them on screen. There are two significant benefits to paying attention to the print version.</p>
<p>The most obvious benefit is that it can improve the user experience of the site. Users who visit your site and print it out will actually read the content and are more likely to revisit the site and make an action (or conversion). If the printed version is difficult to read and work with they are highly likely to simply recycle the paper and forget they ever visited your site in the first place.</p>
<p>The second benefit is it could be a real competitive advantage. If a user prints off two web sites, and yours clearly has more attention to detail in the print version, they are much more likely to use your product/services over the competitors.</p>
<p><strong>You can improve the print version simply by:</strong></p>
<ul>
<li>Turning off unnecessary items such as the header, footer, navigation, search box etc...</li>
<li>Changing the font to serif, increase the font size and space out the line height to make the print version more legible</li>
<li>Adjust the columns or remove sidebars so that only the primary content prints out</li>
</ul>
<h3><strong>Resources</strong></h3>
<ul>
<li><a href="http://www.webcredible.co.uk/user-friendly-resources/css/print-stylesheet.shtml">Print style sheets, a definitive guide</a></li>
<li><a href="http://www.amazon.com/gp/product/B001DA0FII?ie=UTF8&amp;tag=httpwww3poinc-20&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN=B001DA0FII">Pro CSS Techniques</a><img style="border:none !important; margin:0px !important;" src="http://www.assoc-amazon.com/e/ir?t=httpwww3poinc-20&amp;l=as2&amp;o=1&amp;a=B001DA0FII" border="0" alt="" width="1" height="1" /></li>
</ul>
<h2>5. Analytics</h2>
<p><img class="alignright" src="http://www.stylizedweb.com/neglect/analytics.jpg" alt="" width="250" height="250" />How users behave and use a website is one of the most important factors you could possibly focus on. Despite this fact it is so commonly neglected by both website owners and website designers. Businesses need to spend more money on the analysis of user behavior and web design companies need to promote the service more heavily.</p>
<p>Even a website that is built using an effective strategy, user testing and best practices is a best guess at what will be most effective.</p>
<p>If you actually pay attention to how users behave and analyize that behavior you can discover countless ways to continually improve your website.</p>
<ul>
<li>Are users leaving a specific page more than others? Maybe they are not finding what they are looking for and that page can bet altered</li>
<li>Do you have a page where a lot of people are entering the site other than the homepage? You need to start thinking of those pages as landing pages</li>
<li>Are there important pages that don't get a lot of traffic? Figure out how you can make those pages more prominent</li>
</ul>
<h3><strong>Resources</strong></h3>
<ul>
<li><a href="http://www.amazon.com/gp/product/0470130652?ie=UTF8&amp;tag=httpwww3poinc-20&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN=0470130652">Web Analytics: An Hour a Day</a><img style="border:none !important; margin:0px !important;" src="http://www.assoc-amazon.com/e/ir?t=httpwww3poinc-20&amp;l=as2&amp;o=1&amp;a=0470130652" border="0" alt="" width="1" height="1" /></li>
<li><a href="http://www.kaushik.net/avinash/">Occam's Razor - web analytics blog</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://stylizedweb.com/2009/06/06/five-commonly-neglected-parts-of-a-website-that-deserve-detail/feed/</wfw:commentRss>
		<slash:comments>36</slash:comments>
		</item>
		<item>
		<title>Don&#8217;t forget about :active</title>
		<link>http://stylizedweb.com/2009/05/11/dont-forget-about-active/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=rss</link>
		<comments>http://stylizedweb.com/2009/05/11/dont-forget-about-active/#comments</comments>
		<pubDate>Mon, 11 May 2009 00:35:20 +0000</pubDate>
		<dc:creator>3pointross</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Hacks]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Themes]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[links]]></category>
		<category><![CDATA[usability]]></category>
		<category><![CDATA[user experience]]></category>
		<category><![CDATA[ux]]></category>

		<guid isPermaLink="false">http://stylizedweb.com/?p=114</guid>
		<description><![CDATA[I was recently reading through "The Elements of User Experience," which opens with a compelling story describing why things going wrong in your day could be the fault of poor design in regards to usability. Interestingly enough one of the points covered in this section is the use of feedback as a way to notify a user that something has occurred.]]></description>
			<content:encoded><![CDATA[<p>Every once in a while I remember some functionality of CSS that we have had access too for ages yet is rarely taken advantage of in creative ways. The last time I really wrote about this is when I had discovered a way to make other menu items change when you hovered on just one of them, as you can see here in the <a href="http://www.3point7designs.com/blog/2007/12/22/advanced-css-menu-trick/">Advanced CSS Menu Trick</a> article.</p>
<p>Sometimes rediscovering these capabilities are valuable for creating new ways to add creative touches, such as the <a href="http://thinkvitamin.com/features/how-to-recreate-silverbacks-parallax-effect/">parallax scrolling effect</a>. Other times they can greatly improve the usability and user experience of our sites. <strong>In some cases they do both.</strong></p>
<p>I was recently reading through "<a href="http://www.amazon.com/gp/product/0735712026?ie=UTF8&amp;tag=httpwww3poinc-20&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN=0735712026">The Elements of User Experience</a><img style="border:none !important; margin:0px !important;" src="http://www.assoc-amazon.com/e/ir?t=httpwww3poinc-20&amp;l=as2&amp;o=1&amp;a=0735712026" border="0" alt="" width="1" height="1" /><br />
," which opens with a compelling story describing why things going wrong in your day could be the fault of poor design in regards to usability. Interestingly enough one of the points covered in this section is the use of feedback as a way to notify a user that something has occurred.</p>
<p><a href="http://www.stylizedweb.com/demos/active">View the demo here</a></p>
<h2>Most Web Designers Fail to Take Advantage of :active</h2>
<p>In the case in the book they mention a coffee pot beeping so you know that it was switched on. This same principal of offering a user basic feedback applies to the web, yet we rarely see it used in all instances it can.</p>
<p>We have had the ability to style a links :active pseudo selector since CSS1, yet when was the last time you actually used it? I will admit that I am a grand offender as well, as I couldn't tell you. However the value of such a subtle detail can have large benefits  to a users experience of the site. Not to mention it does give another avenue to enrich the interactivity of our interfaces.</p>
<h2>An Common Example</h2>
<p>If you have ever done any usability studies you will have probably run into a situation where things that seem incredibly simple end up taking significant amount of time. One of the most basic of these situations is that of clicking on a simple link. I have many times in my "behavior observing" career seen a user who thinks they have click on a link, despite having missed it slightly.</p>
<p>What follows is a long pause while they wait for the page to change, before getting frustrated and either blaming the internet, the site, or swirling the mouse to ensure the computer hasn't locked up.</p>
<p>This could all be solved by simply giving the user feedback when a button is clicked. Interestingly enough flash based websites have done a better job through out history of accomplishing this than most HTML sites, done so by adding a subtle "clicking" noise as a link is clicked.</p>
<p>Of course I am not advocating the use of sound (as it fails on several accessibility levels among other issues), however it wouldn't be hard to give the user some feedback to let them know the link was successfully clicked on.</p>
<h2>What We Can Do</h2>
<p>By using the :active selector in CSS we can give the user some feedback that a link has in fact been clicked. This way if there is any sort of delay the user knows that it is successful loading and they don't have to reclick the link. This will make the site more usable and as more developers and designers begin to adopt this process the web itself will become more usable.</p>
<p>Additionally it opens up a new area for us designers to work our creativity. We can now think about what subtle design elements we can give links and buttons to indicate to the user that they have been clicked. In my example, a beveled button appears to be pushed inward.</p>
<h2>It Isn't Perfect</h2>
<p>Despite the fact that it is a dramatic improvement over not having any feedback and it does give us more room to express our creativity, the functionality isn't perfect. You may notice in the demo that if you click on a button quickly it changes so fast you might not even notice. You may not realize that there is even an effect giving you feedback.</p>
<p>Regardless, using :active will still enhance the user experience. Even if only 10% of your users notice it is worth the time and effort put into it. Additionally users who are less familiar with computers and the internet will be more likely to hold the mouse button down longer and thus notice the effect.</p>
<h2>Consider Adopting it as a Regular Practice</h2>
<p>I really advocate the adoption of it as normal standards based markup. If it becomes a convention than users will expect some sort of notification that a link was clicked and even it happens to fast on the pages that load right away, they know to look for it.</p>
<p><a href="http://www.stylizedweb.com/demos/active">View the demo here</a></p>
]]></content:encoded>
			<wfw:commentRss>http://stylizedweb.com/2009/05/11/dont-forget-about-active/feed/</wfw:commentRss>
		<slash:comments>23</slash:comments>
		</item>
		<item>
		<title>MoreCSS Library Review</title>
		<link>http://stylizedweb.com/2008/09/15/morecss-design-oriented-javascript-library-review/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=rss</link>
		<comments>http://stylizedweb.com/2008/09/15/morecss-design-oriented-javascript-library-review/#comments</comments>
		<pubDate>Mon, 15 Sep 2008 12:28:15 +0000</pubDate>
		<dc:creator>Dejan Cancarevic</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Javascript]]></category>

		<guid isPermaLink="false">http://stylizedweb.com/?p=73</guid>
		<description><![CDATA[<a href="http://yellowgreen.de/morecss">MoreCSS</a> is a fantastic Design oriented JavaScript library made by <a href="http://yellowgreen.de">YellowGreen</a> which offers a CSS coder lots of new possibilities inside the CSS file itself like creating popups, various effects and better properties control. And also, when you get used it ti, a real time saver!

There's no new syntax to learn and no programming skills needed, file is really small - 6 KB core script (GZIP compressed, 12 KB uncompressed), cross-browser compatible for Internet Explorer 6+, Firefox 2+, Opera 9+, Safari 2+, valid W3C CSS...]]></description>
			<content:encoded><![CDATA[<p><a href="http://yellowgreen.de/morecss">MoreCSS</a> is a fantastic Design oriented JavaScript library made by <a href="http://yellowgreen.de">YellowGreen</a> which offers a CSS coder lots of new possibilities inside the CSS file itself like creating popups, various effects and better properties control. And also, when you get used it ti, a real time saver!</p>
<p>There's no new syntax to learn and no programming skills needed, file is really small - 6 KB core script (GZIP compressed, 12 KB uncompressed), cross-browser compatible for Internet Explorer 6+, Firefox 2+, Opera 9+, Safari 2+, valid W3C CSS...</p>
<p><a href="http://yellowgreen.de/morecss"><img class="mainslika" alt="MoreCSS" src="http://i288.photobucket.com/albums/ll167/dejanc/morecss.jpg"/></a></p>
<p>You can download latest version directly <a href="http://yellowgreen.de/files/projects/morecss/layout/morecss-logo.gif">here</a> or you can go to the <a href="http://morecss.yellowgreen.de/documentation/information/downloads/">download page</a> for changelog and more resources. MoreCSS is very well <a href="http://morecss.yellowgreen.de/documentation/information/start/">documented</a> with good descriptions and working examples. </p>
<h5>How to install</h5>
<p>MoreCSS runs automatically on page load and applies the properties written in external stylesheets to the specified elements. You do not need to configure the code or anything. Just include MoreCSS.js and the external stylesheet(s) in your page header. Be sure that you include the stylesheet(s) at first, then MoreCSS.js and at least all plugin scripts.</p>
<h5>What can you do with it?</h5>
<ul class="seozvezdica">
<li><strong><a href="http://morecss.yellowgreen.de/documentation/properties/add-class/">add-class</a></strong> - Add the specified CSS class to an element, very good example is zebra-style table, it can be used for script generated lists for example in WordPress (list of archives, posts...)</li>
<li><strong><a href="http://morecss.yellowgreen.de/documentation/properties/content/">content</a></strong> - Adds dynamic content before / after static content. Enhanced cross-browser solution for CSS property.</li>
<li><strong><a href="http://morecss.yellowgreen.de/documentation/properties/default-value/">default-value</a></strong> - Adds a default value with typical on focus behaviour to the specified input field.</li>
<li><strong><a href="http://morecss.yellowgreen.de/documentation/properties/include-content/">include-content</a></strong> - Includes the content of a file (via AJAX).</li>
<li><strong><a href="http://morecss.yellowgreen.de/documentation/properties/target/">target</a></strong> - Opens the link target in a new window, popup or layer.</li>
<li><strong><a href="http://morecss.yellowgreen.de/documentation/properties/tooltip/">tooltip</a></strong> - Adds a styleable tooltip to the cursor position.</li>
<li><strong><a href="http://morecss.yellowgreen.de/documentation/plugins/effects/fade/">fade</a></strong> - Opacity fade effect.</li>
<li><strong>and much more ...</strong></li>
</ul>
<h5>How to use</h5>
<p><strong>Syntax Elements</strong><br />
The syntax in MoreCSS is very similar to real CSS, but with some limitations because of performance reasons. But MoreCSS has also some special syntax elements for advanced functions.</p>
<p><strong>Properties</strong><br />
Once you have installed MoreCSS you can use the properties in the same way as regular CSS properties. In the left menu you will find all currently built in properties and working code examples for each property. With plugins you can include special properties for visual effects and more.</p>
<p><strong>Write your own plugins</strong><br />
MoreCSS allows you to write your own plugins using the Library Functions and using the Core Properties</p>
<h5 styke="margin-top30px;">Example code</h5>
<pre class="css">&nbsp;
&nbsp;
<span style="color: #808080; font-style: italic;">/* HTML */</span>
&lt;table id=<span style="color: #ff0000;">&quot;example_1&quot;</span>&gt;
&lt;tr&gt;
&lt;td&gt;Lorem ipsum dolor&lt;/td&gt;
&lt;td&gt;Lorem ipsum dolor&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;
&nbsp;
<span style="color: #808080; font-style: italic;">/* CSS */</span>
&nbsp;
tr<span style="color: #6666ff;">.blue</span> td <span style="color: #66cc66;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">background-color</span>:<span style="color: #cc00cc;">#D0E3FF</span>;
	<span style="color: #000000; font-weight: bold;">color</span>:<span style="color: #cc00cc;">#FFFFFF</span>;
<span style="color: #66cc66;">&#125;</span>
&nbsp;
<span style="color: #808080; font-style: italic;">/* MoreCSS */</span>
<span style="color: #cc00cc;">#example_1</span> tr<span style="color: #3333ff;">:every-second-child</span> <span style="color: #66cc66;">&#123;</span>
	add-class: <span style="color: #000000; font-weight: bold;">blue</span>;
<span style="color: #66cc66;">&#125;</span>
&nbsp;</pre>
]]></content:encoded>
			<wfw:commentRss>http://stylizedweb.com/2008/09/15/morecss-design-oriented-javascript-library-review/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>A brand new PNG fix for IE6</title>
		<link>http://stylizedweb.com/2008/07/27/a-brand-new-png-fix-for-ie6/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=rss</link>
		<comments>http://stylizedweb.com/2008/07/27/a-brand-new-png-fix-for-ie6/#comments</comments>
		<pubDate>Sun, 27 Jul 2008 15:12:27 +0000</pubDate>
		<dc:creator>Dejan Cancarevic</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Hacks]]></category>
		<category><![CDATA[Javascript]]></category>

		<guid isPermaLink="false">http://stylizedweb.com/?p=65</guid>
		<description><![CDATA[It's been a while since last <a href="http://stylizedweb.com/2007/12/30/png-transparency-issues/">PNG fix for IE6</a> got out and as I've written back then it's not quite perfect and a bit buggy with the rest of JavaScript but now here's another one from <a href="http://labs.unitinteractive.com/index.php">Unit Interactive Labs</a>, very fresh and promising, one of the first products of this company.  

Also the second product so far from <a href="http://labs.unitinteractive.com/index.php">Unit Interactive Labs</a> is a simple and useful tool tip rollover (named as <a href="http://labs.unitinteractive.com/unitip.php">UniTip</a>) which also uses their <a href="http://labs.unitinteractive.com/unitpngfix.php">PNG fix</a> and it is very popular and used a lot these days over the web. Nice work Unit Interactive! ]]></description>
			<content:encoded><![CDATA[<p>It's been a while since last <a href="http://stylizedweb.com/2007/12/30/png-transparency-issues/">PNG fix for IE6</a> got out and as I've written back then it's not quite perfect and a bit buggy with the rest of JavaScript but now here's another one from <a href="http://labs.unitinteractive.com/index.php">Unit Interactive Labs</a>, very fresh and promising, one of the first products of this company.  </p>
<p>Also the second product so far from <a href="http://labs.unitinteractive.com/index.php">Unit Interactive Labs</a> is a simple and useful tool tip rollover (named as <a href="http://labs.unitinteractive.com/unitip.php">UniTip</a>) which also uses their <a href="http://labs.unitinteractive.com/unitpngfix.php">PNG fix</a> and it is very popular and used a lot these days over the web. Nice work Unit Interactive! </p>
<h5>Unit PNG Fix</h5>
<p><a href="http://labs.unitinteractive.com/unitpngfix.php" target="_blank"><img class="mainslika" alt="PNG fix" src="http://i288.photobucket.com/albums/ll167/dejanc/pngnew.jpg"/></a></p>
<p>In their words this new png fix is inspired by work of <a href="http://24ways.org/2007/supersleight-transparent-png-in-ie6">24ways.org</a>, and here are some key features why you would use it. As far as I've tested it so far it's working fine.</p>
<ul class="seozvezdica">
<li>Very compact javascript: Under 1kb!</li>
<li>Fixes some interactivity problems caused by IE’s filter attribute.</li>
<li>Works on img objects and background-image attributes.</li>
<li>Runs automatically. You don’t have to define classes or call functions.</li>
<li>Allows for auto width and auto height elements.</li>
<li>Super simple to deploy.</li>
</ul>
<p>So as you see progress has been made, talking about background-image and auto height elements. To include it use standard procedure, download JavaScript (you can do it directly <a href="http://labs.unitinteractive.com/downloads/unitpngfix.zip">here</a>) and put it between <strong>&lt;!--[if lt IE 7]&gt;</strong> and <strong>&lt;![endif]--&gt;</strong>  in head tag. And there's a new thing, a small image "clear.gif" which in their words "keep certain elements structurally sound when using the filter property" so you'll need to change path in the JS afterwords .</p>
<h5>UniTip</h5>
<p><a href="http://labs.unitinteractive.com/unitip.php" target="_blank"><img class="mainslika" alt="Tool tip" src="http://i288.photobucket.com/albums/ll167/dejanc/tooltip.jpg"/></a></p>
<p>Another project worth a mentiong and also using their PNG fix is UniTip. This is now based on <a href="http://qrayg.com/learn/code/qtip/">Craig Erskine’s qTip</a>, It supports all browsers, is easy to deploy, and is surprisingly light-weight. Best of all: it offers you the opportunity to customize it to work well with any of your projects.</p>
<ul class="seozvezdica">
<li>Vertically expands to content.</li>
<li>Can accept HTML.</li>
<li>You can apply UniTip to specific classes or tags.</li>
<li>Adjusts to sides and bottom of page.</li>
<li>Unit PNG Fix included in the zip to automatically fix pngs for IE6.</li>
<li>Easy to customize and deploy! Friendly with other scripts!</li>
</ul>
<p>Installation is also simple, after a <a href="http://labs.unitinteractive.com/downloads/unitip.zip">download</a> include JavaScript and style in your head tag. For more information visit <a href="http://labs.unitinteractive.com/unitip.php">UniTip page.</a></p>
]]></content:encoded>
			<wfw:commentRss>http://stylizedweb.com/2008/07/27/a-brand-new-png-fix-for-ie6/feed/</wfw:commentRss>
		<slash:comments>49</slash:comments>
		</item>
		<item>
		<title>Syntax Highlighter</title>
		<link>http://stylizedweb.com/2008/03/01/syntax-highlighter/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=rss</link>
		<comments>http://stylizedweb.com/2008/03/01/syntax-highlighter/#comments</comments>
		<pubDate>Sat, 01 Mar 2008 20:19:42 +0000</pubDate>
		<dc:creator>Dejan Cancarevic</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://stylizedweb.com/2008/03/01/syntax-highlighter/</guid>
		<description><![CDATA[If you are displaying some code on your site CSS, PHP, C++, whatever and if you don’t like it plain, one color and you would like to have it highlighted in colors for specific elements but you really don’t like hand coding all elements with span color and padding then Syntax Highlighter is the right thing for you.

This feature eases writing in a structured language such as a programming language or a markup language as both structures and syntax errors are visually distinct. Here are some free examples for it, compatible with WordPress to.]]></description>
			<content:encoded><![CDATA[<p>If you are displaying some code on your site CSS, PHP, C++, whatever and if you don’t like it plain, one color and you would like to have it highlighted in colors for specific elements but you really don’t like hand coding all elements with span color and padding then Syntax Highlighter is the right thing for you.</p>
<p><img class="mainslika" alt="Vector people" src="http://stylizedweb.com/wp-content/themes/dejanc/images/syntax.jpg"/></p>
<p>This feature eases writing in a structured language such as a programming language or a markup language as both structures and syntax errors are visually distinct. Here are some free examples for it, compatible with WordPress to.</p>
<h5>Google Syntax Highlighter for WordPress</h5>
<p>This one I think is the best of them, written by <a href="http://www.dreamprojections.com/">Alex Gorbatchev</a>, and it’s written in Javascript. To use it just include it this way <strong>[ source:str language] str source [/source]</strong> where str language tells the parser how it should highlight the following source. Currently, the following strings are understood:</p>
<ul class="seozvezdica">
<li>css</li>
<li>c#, c-sharp, csharp</li>
<li>c, cpp, c++</li>
<li>vb, vb.net</li>
<li>delphi, pascal</li>
<li>js, jscript, javascript</li>
<li>php</li>
<li>py, python</li>
<li>ruby</li>
<li>sql</li>
<li>xml, xhtml, xslt, html, xhtml</li>
</ul>
<p>Don’t forget to activate support for the language(s) you want to display. Do this by going to the WordPress-Administration Options-Menu and click it active.</p>
<p><strong>Download </strong><br />
<a href="http://wordpress.org/extend/plugins/google-syntax-highlighter/">http://wordpress.org/extend/plugins/google-syntax-highlighter/</a></p>
<p><strong>Instalation </strong><br />
Extract all files and directories from the .zip-archive to your WordPress plugin-folder. Then browse to your administration menu named “Plugins” and activate the plugin named “SyntaxHighlighter”</p>
<p><strong>Non WordPress code</strong><br />
You can find it here <a href="http://code.google.com/p/syntaxhighlighter/">http://code.google.com/p/syntaxhighlighter/ </a></p>
<h5>Dean’s Code Highlighter for WordPress</h5>
<p>This WordPress plugin using <a href="http://qbnz.com/highlighter/">Geshi</a> to highlight source code in a wide range of popular languages.it aims to be a simple but powerful code highlighting plugin, with the following goals:</p>
<ul class="seozvezdica">
<li>Easy to use.</li>
<li>Support for a wide range of popular languages.</li>
<li>Customizable output formats.</li>
</ul>
<p><strong>Installation</strong><br />
1.	Download <a href="http://www.deanlee.cn/downloads/deans_code_highlighter_v1.2.zip">Dean’s Code Highlighter v1.2  </a>and unzip it.<br />
2.	Upload the plugin to your plugin directory (wp-content/plugins).<br />
3.	Activate the plugin through the ‘Plugins’ menu in WordPress.<br />
4.	Modify the stylesheet file geshi.css to get the coloring you prefer.</p>
<p><strong>Usage</strong><br />
Use the "pre" tag and add the programming language you want to use as a parameter. Example:. &lt; pre lang="php" &gt; your code here … &lt; /pre &gt;. for example: &lt;pre lang="php"&gt; function hello_world(){ echo "hello world" }&lt;/pre&gt;</p>
<p><strong>Demo</strong><br />
You can see a <a href="http://www.deanlee.cn/2006/09/24/convert-unicode-to-utf8/">Living demo at here</a>. </p>
<h5>Ajax Perl syntax highlighting</h5>
<p>And If you don’t want it as plugin for wordpress here is another solution (besides <a href="http://code.google.com/p/syntaxhighlighter/">http://code.google.com/p/syntaxhighlighter/</a>) by Jon Allen</p>
<p><a href="http://perl.jonallen.info/projects/syntaxhighlighting ">http://perl.jonallen.info/projects/syntaxhighlighting</a> </p>
]]></content:encoded>
			<wfw:commentRss>http://stylizedweb.com/2008/03/01/syntax-highlighter/feed/</wfw:commentRss>
		<slash:comments>32</slash:comments>
		</item>
		<item>
		<title>CSS Browser Selector</title>
		<link>http://stylizedweb.com/2008/02/26/css-browser-selector/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=rss</link>
		<comments>http://stylizedweb.com/2008/02/26/css-browser-selector/#comments</comments>
		<pubDate>Tue, 26 Feb 2008 10:57:15 +0000</pubDate>
		<dc:creator>Dejan Cancarevic</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Hacks]]></category>
		<category><![CDATA[Javascript]]></category>

		<guid isPermaLink="false">http://stylizedweb.com/2008/02/26/css-browser-selector/</guid>
		<description><![CDATA[The basic idea for this comes from this question "What if you won't have to code those ugly CSS hacks for those browsers that just won't show you what you want them to?". Again writing about cross browser problems and solutions like on "<a href="http://stylizedweb.com/2008/01/11/ie7-javascript-library-review/" rel="bookmark" class="bezboje3" title="IE7 JS library review">IE7 JS library review</a>".

I've ran into two solutions for this. I personally haven't tried this but, on the demos it seems to be working and i think it's very good idea.]]></description>
			<content:encoded><![CDATA[<p>The basic idea for this comes from this question "What if you won't have to code those ugly CSS hacks for those browsers that just won't show you what you want them to?". Again writing about cross browser problems and solutions like on "<a href="http://stylizedweb.com/2008/01/11/ie7-javascript-library-review/" title="IE7 JS library review">IE7 JS library review</a>".</p>
<p>I've ran into two solutions for this. I personally haven't tried this but, on the demos it seems to be working and i think it's very good idea.</p>
<p><img class="mainslika" alt="example" src="http://stylizedweb.com/wp-content/themes/dejanc/images/cssbrowser.jpg"/></p>
<h5>Using jQuery</h5>
<p>First one is using <a href="http://jquery.com/" tagret="_blank">jQuery</a> library, and will present how to do these browser selectors so easily with jQuery. First thing you need to do, is to get the jQuery library, <a href="http://jquery.com/src/jquery-1.0a.js" tagret="_blank">version 1.0a</a>, if you don't have it yet.<br />
Now all you have to do is include the jQuery file, and the following piece of code</p>
<pre class="php">&nbsp;
$<span style="color: #66cc66;">&#40;</span>document<span style="color: #66cc66;">&#41;</span>.ready<span style="color: #66cc66;">&#40;</span><span style="color: #000000; font-weight: bold;">function</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span>
$<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">'html'</span><span style="color: #66cc66;">&#41;</span>.addClass<span style="color: #66cc66;">&#40;</span>$.browser<span style="color: #66cc66;">&#41;</span>;
<span style="color: #66cc66;">&#125;</span><span style="color: #66cc66;">&#41;</span>;
&nbsp;</pre>
<p>Now you can preprend your styles with <code>.msie</code>, <code>.mozilla</code>, <code>.opera</code>, <code>.safari</code> or <code>.other</code> depending on the targeted browser. Written by <a href="http://agachi.name" tagret="_blank">Valentin Agachi</a></p>
<h3>Demo</h3>
<p><a href="http://agachi.name/tests/jquery/css-selectors/" tagret="_blank">View demo page</a></p>
<h5>Pure Javascript</h5>
<p>In this case all you have to do is to add small Javascript in your <code><head></code> tag <code><script src="css_browser_selector.js" type="text/javascript"></script></code> which you can download directly <a href="http://rafael.adm.br/css_browser_selector/css_browser_selector.js.txt"  tagret="_blank">here </a>. Written by <a href="http://rafael.adm.br/" tagret="_blank">Rafael Lima</a></p>
<pre class="css">&nbsp;
html<span style="color: #6666ff;">.gecko</span> div<span style="color: #cc00cc;">#header</span> <span style="color: #66cc66;">&#123;</span> <span style="color: #000000; font-weight: bold;">margin</span>: <span style="color: #933;">1em</span>; <span style="color: #66cc66;">&#125;</span>
<span style="color: #6666ff;">.opera</span> <span style="color: #cc00cc;">#header</span> <span style="color: #66cc66;">&#123;</span> <span style="color: #000000; font-weight: bold;">margin</span>: <span style="color: #933;">1</span><span style="color: #6666ff;"><span style="color: #933;">.2em</span></span>; <span style="color: #66cc66;">&#125;</span>
<span style="color: #6666ff;">.ie</span> <span style="color: #6666ff;">.mylink</span> <span style="color: #66cc66;">&#123;</span> <span style="color: #000000; font-weight: bold;">font-weight</span>: <span style="color: #993333;">bold</span>; <span style="color: #66cc66;">&#125;</span>
<span style="color: #6666ff;">.mac</span><span style="color: #6666ff;">.ie</span> <span style="color: #6666ff;">.mylink</span> <span style="color: #66cc66;">&#123;</span> <span style="color: #000000; font-weight: bold;">font-weight</span>: <span style="color: #993333;">bold</span>; <span style="color: #66cc66;">&#125;</span>
&nbsp;
.<span style="color: #66cc66;">&#91;</span>os<span style="color: #66cc66;">&#93;</span>.<span style="color: #66cc66;">&#91;</span>browser<span style="color: #66cc66;">&#93;</span> <span style="color: #6666ff;">.mylink</span> <span style="color: #66cc66;">&#123;</span> <span style="color: #000000; font-weight: bold;">font-weight</span>: <span style="color: #993333;">bold</span>; <span style="color: #66cc66;">&#125;</span> -&gt; without space between .<span style="color: #66cc66;">&#91;</span>os<span style="color: #66cc66;">&#93;</span> and .<span style="color: #66cc66;">&#91;</span>browser<span style="color: #66cc66;">&#93;</span>
&nbsp;</pre>
<h3>Available OS Codes [os]:</h3>
<ul class="seozvezdica">
<li>win - Microsoft Windows</li>
<li>linux - Linux (x11 and linux)</li>
<li>mac - Mac OS</li>
</ul>
<h3>Browser Codes [browser]:</h3>
<ul class="seozvezdica">
<li>ie - Internet Explorer (All versions)</li>
<li>ie6 - Internet Explorer 6.x</li>
<li>ie5 - Internet Explorer 5.x</li>
<li>gecko - Mozilla, Firefox, Camino</li>
<li>opera - Opera (All versions)</li>
<li>opera8 - Opera 8.x</li>
<li>opera9 - Opera 9.x</li>
<li>konqueror - Konqueror</li>
<li>webkit or safari - Safari, NetNewsWire, OmniWeb, Shiira</li>
</ul>
<h3>Demo</h3>
<p><a href="http://rafael.adm.br/css_browser_selector/" tagret="_blank">View demo page</a></p>
]]></content:encoded>
			<wfw:commentRss>http://stylizedweb.com/2008/02/26/css-browser-selector/feed/</wfw:commentRss>
		<slash:comments>26</slash:comments>
		</item>
		<item>
		<title>Outline text with JS</title>
		<link>http://stylizedweb.com/2008/01/13/outline-text-with-js/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=rss</link>
		<comments>http://stylizedweb.com/2008/01/13/outline-text-with-js/#comments</comments>
		<pubDate>Sun, 13 Jan 2008 11:38:07 +0000</pubDate>
		<dc:creator>Dejan Cancarevic</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Javascript]]></category>

		<guid isPermaLink="false">http://stylizedweb.com/2008/01/13/outline-text-with-js/</guid>
		<description><![CDATA[During my work as frontend coder I had a task to place some white text on dynamic background image and the problems would accrue if background image was white so text wouldn’t be readable. This isn’t really every day requirement but it can be very useful. The solution I’m using is outline text JS, originally written by Anthony Ryan Delorie.

You can use this JavaScript in two ways, to outline text and to add shadow to text. It works in all major browsers. Click <a href="http://stylizedweb.com/examples/outline.html" target="_blank">here</a> for demo.]]></description>
			<content:encoded><![CDATA[<p>During my work as frontend coder I had a task to place some white text on dynamic background image and the problems would accrue if background image was white so text wouldn’t be readable. This isn’t really every day requirement but it can be very useful. The solution I’m using is outline text JS, originally written by Anthony Ryan Delorie.</p>
<p>You can use this JavaScript in two ways, to outline text and to add shadow to text. It works in all major browsers. Click <a href="http://stylizedweb.com/examples/outline.html" target="_blank">here</a> for demo.</p>
<p><img src="http://stylizedweb.com/wp-content/themes/dejanc/images/outline.gif" alt="Outline" class="mainslika"/></p>
<h5>Outline</h5>
<pre class="javascript">&nbsp;
&lt;script&gt;
&lt;!--
&nbsp;
<span style="color: #003366; font-weight: bold;">var</span> message=<span style="color: #3366CC;">&quot;outline&quot;</span>;
<span style="color: #003366; font-weight: bold;">var</span> thickness=<span style="color: #CC0000;">1</span>;
<span style="color: #003366; font-weight: bold;">var</span> color2=<span style="color: #3366CC;">&quot;black&quot;</span>;
<span style="color: #003366; font-weight: bold;">var</span> color1=<span style="color: #3366CC;">&quot;white&quot;</span>;
<span style="color: #003366; font-weight: bold;">var</span> extra=<span style="color: #3366CC;">&quot;font-size:40px;&quot;</span>;
<span style="color: #003366; font-weight: bold;">var</span> x = -thickness;
<span style="color: #003366; font-weight: bold;">var</span> y = -thickness;
&nbsp;
<span style="color: #000066; font-weight: bold;">while</span> <span style="color: #66cc66;">&#40;</span>y&lt;=thickness<span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>
<span style="color: #000066; font-weight: bold;">while</span> <span style="color: #66cc66;">&#40;</span>x&lt;=thickness<span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>
&nbsp;
document.<span style="color: #000066; font-weight: bold;">write</span> <span style="color: #66cc66;">&#40;</span><span style="color: #3366CC;">&quot;&lt;span style='&quot;</span>+extra+<span style="color: #3366CC;">&quot; color:&quot;</span>+color2+<span style="color: #3366CC;">&quot;; position:absolute; left:&quot;</span>+x+<span style="color: #3366CC;">&quot;; top:&quot;</span>+<span style="color: #66cc66;">&#40;</span>-y<span style="color: #66cc66;">&#41;</span>+<span style="color: #3366CC;">&quot;;'&gt;&quot;</span>+message+<span style="color: #3366CC;">&quot;&lt;/span&gt;&quot;</span><span style="color: #66cc66;">&#41;</span>;
document.<span style="color: #000066; font-weight: bold;">write</span> <span style="color: #66cc66;">&#40;</span><span style="color: #3366CC;">&quot;&lt;span style='&quot;</span>+extra+<span style="color: #3366CC;">&quot; color:&quot;</span>+color2+<span style="color: #3366CC;">&quot;; position:absolute; left:&quot;</span>+x+<span style="color: #3366CC;">&quot;; top:0;'&gt;&quot;</span>+message+<span style="color: #3366CC;">&quot;&lt;/span&gt;&quot;</span><span style="color: #66cc66;">&#41;</span>;
document.<span style="color: #000066; font-weight: bold;">write</span> <span style="color: #66cc66;">&#40;</span><span style="color: #3366CC;">&quot;&lt;span style='&quot;</span>+extra+<span style="color: #3366CC;">&quot; color:&quot;</span>+color2+<span style="color: #3366CC;">&quot;; position:absolute; left:&quot;</span>+x+<span style="color: #3366CC;">&quot;; top:&quot;</span>+y+<span style="color: #3366CC;">&quot;;'&gt;&quot;</span>+message+<span style="color: #3366CC;">&quot;&lt;/span&gt;&quot;</span><span style="color: #66cc66;">&#41;</span>;
&nbsp;
x=x<span style="color: #CC0000;">+1</span>;
<span style="color: #66cc66;">&#125;</span>
y=y<span style="color: #CC0000;">+1</span>;
<span style="color: #66cc66;">&#125;</span>
&nbsp;
document.<span style="color: #000066; font-weight: bold;">write</span> <span style="color: #66cc66;">&#40;</span><span style="color: #3366CC;">&quot;&lt;span style='&quot;</span>+extra+<span style="color: #3366CC;">&quot; color:&quot;</span>+color1+<span style="color: #3366CC;">&quot;; position:absolute; left:0; top:0;'&gt;&quot;</span>+message+<span style="color: #3366CC;">&quot;&lt;/span&gt;&quot;</span><span style="color: #66cc66;">&#41;</span>;
&nbsp;
<span style="color: #009900; font-style: italic;">//--&gt;</span>
&lt;/script&gt;
&nbsp;</pre>
<h5>Shadow</h5>
<pre class="javascript">&nbsp;
&lt;script&gt;
&lt;!--
&nbsp;
<span style="color: #003366; font-weight: bold;">var</span> message=<span style="color: #3366CC;">&quot;Shadow&quot;</span>;
<span style="color: #003366; font-weight: bold;">var</span> range=<span style="color: #CC0000;">2</span>;
<span style="color: #003366; font-weight: bold;">var</span> extra=<span style="color: #3366CC;">&quot;font-size:40px;&quot;</span>;
<span style="color: #003366; font-weight: bold;">var</span> color1=<span style="color: #3366CC;">&quot;gray&quot;</span>;
<span style="color: #003366; font-weight: bold;">var</span> color2=<span style="color: #3366CC;">&quot;black&quot;</span>;
<span style="color: #003366; font-weight: bold;">var</span> x = range;
<span style="color: #003366; font-weight: bold;">var</span> y = range;
&nbsp;
document.<span style="color: #000066; font-weight: bold;">write</span> <span style="color: #66cc66;">&#40;</span><span style="color: #3366CC;">&quot;&lt;span style='&quot;</span>+extra+<span style="color: #3366CC;">&quot; color:&quot;</span>+color2+<span style="color: #3366CC;">&quot;; position:absolute<span style="color: #000099; font-weight: bold;">\;</span> left:&quot;</span>+x+<span style="color: #3366CC;">&quot;; top:&quot;</span>+y+<span style="color: #3366CC;">&quot;;'&gt;&quot;</span>+message+<span style="color: #3366CC;">&quot;&lt;/span&gt;&quot;</span><span style="color: #66cc66;">&#41;</span>;
document.<span style="color: #000066; font-weight: bold;">write</span> <span style="color: #66cc66;">&#40;</span><span style="color: #3366CC;">&quot;&lt;span style='&quot;</span>+extra+<span style="color: #3366CC;">&quot; color:&quot;</span>+color1+<span style="color: #3366CC;">&quot;; position:absolute; left:0; top:0;'&gt;&quot;</span>+message+<span style="color: #3366CC;">&quot;&lt;/span&gt;&quot;</span><span style="color: #66cc66;">&#41;</span>;
&nbsp;
<span style="color: #009900; font-style: italic;">//--&gt;</span>
&lt;/script&gt;
&nbsp;</pre>
<h5>Both</h5>
<pre class="javascript">&nbsp;
&lt;script&gt;
&lt;!--
&nbsp;
<span style="color: #003366; font-weight: bold;">var</span> message=<span style="color: #3366CC;">&quot;Both&quot;</span>;
<span style="color: #003366; font-weight: bold;">var</span> thickness=<span style="color: #CC0000;">1</span>;
<span style="color: #003366; font-weight: bold;">var</span> color2=<span style="color: #3366CC;">&quot;black&quot;</span>;
<span style="color: #003366; font-weight: bold;">var</span> color1=<span style="color: #3366CC;">&quot;white&quot;</span>;
<span style="color: #003366; font-weight: bold;">var</span> color3=<span style="color: #3366CC;">&quot;gray&quot;</span>;
<span style="color: #003366; font-weight: bold;">var</span> extra=<span style="color: #3366CC;">&quot;font-size:40px;&quot;</span>;
<span style="color: #003366; font-weight: bold;">var</span> range=<span style="color: #CC0000;">5</span>;
<span style="color: #003366; font-weight: bold;">var</span> z = range;
<span style="color: #003366; font-weight: bold;">var</span> d = range;
<span style="color: #003366; font-weight: bold;">var</span> x = -thickness;
<span style="color: #003366; font-weight: bold;">var</span> y = -thickness;
&nbsp;
<span style="color: #000066; font-weight: bold;">while</span> <span style="color: #66cc66;">&#40;</span>y&lt;=thickness<span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>
<span style="color: #000066; font-weight: bold;">while</span> <span style="color: #66cc66;">&#40;</span>x&lt;=thickness<span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>
&nbsp;
document.<span style="color: #000066; font-weight: bold;">write</span> <span style="color: #66cc66;">&#40;</span><span style="color: #3366CC;">&quot;&lt;span style='&quot;</span>+extra+<span style="color: #3366CC;">&quot; color:&quot;</span>+color2+<span style="color: #3366CC;">&quot;; position:absolute; left:&quot;</span>+x+<span style="color: #3366CC;">&quot;; top:&quot;</span>+<span style="color: #66cc66;">&#40;</span>-y<span style="color: #66cc66;">&#41;</span>+<span style="color: #3366CC;">&quot;;'&gt;&quot;</span>+message+<span style="color: #3366CC;">&quot;&lt;/span&gt;&quot;</span><span style="color: #66cc66;">&#41;</span>;
document.<span style="color: #000066; font-weight: bold;">write</span> <span style="color: #66cc66;">&#40;</span><span style="color: #3366CC;">&quot;&lt;span style='&quot;</span>+extra+<span style="color: #3366CC;">&quot; color:&quot;</span>+color2+<span style="color: #3366CC;">&quot;; position:absolute; left:&quot;</span>+x+<span style="color: #3366CC;">&quot;; top:0;'&gt;&quot;</span>+message+<span style="color: #3366CC;">&quot;&lt;/span&gt;&quot;</span><span style="color: #66cc66;">&#41;</span>;
document.<span style="color: #000066; font-weight: bold;">write</span> <span style="color: #66cc66;">&#40;</span><span style="color: #3366CC;">&quot;&lt;span style='&quot;</span>+extra+<span style="color: #3366CC;">&quot; color:&quot;</span>+color2+<span style="color: #3366CC;">&quot;; position:absolute; left:&quot;</span>+x+<span style="color: #3366CC;">&quot;; top:&quot;</span>+y+<span style="color: #3366CC;">&quot;;'&gt;&quot;</span>+message+<span style="color: #3366CC;">&quot;&lt;/span&gt;&quot;</span><span style="color: #66cc66;">&#41;</span>;
&nbsp;
x=x<span style="color: #CC0000;">+1</span>;
<span style="color: #66cc66;">&#125;</span>
y=y<span style="color: #CC0000;">+1</span>;
<span style="color: #66cc66;">&#125;</span>
&nbsp;
document.<span style="color: #000066; font-weight: bold;">write</span> <span style="color: #66cc66;">&#40;</span><span style="color: #3366CC;">&quot;&lt;span style='&quot;</span>+extra+<span style="color: #3366CC;">&quot; color:&quot;</span>+color3+<span style="color: #3366CC;">&quot;; position:absolute<span style="color: #000099; font-weight: bold;">\;</span> left:&quot;</span>+z+<span style="color: #3366CC;">&quot;; top:&quot;</span>+d+<span style="color: #3366CC;">&quot;;'&gt;&quot;</span>+message+<span style="color: #3366CC;">&quot;&lt;/span&gt;&quot;</span><span style="color: #66cc66;">&#41;</span>;
document.<span style="color: #000066; font-weight: bold;">write</span> <span style="color: #66cc66;">&#40;</span><span style="color: #3366CC;">&quot;&lt;span style='&quot;</span>+extra+<span style="color: #3366CC;">&quot; color:&quot;</span>+color1+<span style="color: #3366CC;">&quot;; position:absolute; left:0; top:0;'&gt;&quot;</span>+message+<span style="color: #3366CC;">&quot;&lt;/span&gt;&quot;</span><span style="color: #66cc66;">&#41;</span>;
&nbsp;
<span style="color: #009900; font-style: italic;">//--&gt;</span>
&lt;/script&gt;
&nbsp;</pre>
<p><strong>NOTE:</strong> It’s not working when doctype -> XHTML 1.0 is included</p>
]]></content:encoded>
			<wfw:commentRss>http://stylizedweb.com/2008/01/13/outline-text-with-js/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>IE7 JS library review</title>
		<link>http://stylizedweb.com/2008/01/11/ie7-javascript-library-review/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=rss</link>
		<comments>http://stylizedweb.com/2008/01/11/ie7-javascript-library-review/#comments</comments>
		<pubDate>Fri, 11 Jan 2008 10:37:21 +0000</pubDate>
		<dc:creator>Dejan Cancarevic</dc:creator>
				<category><![CDATA[Hacks]]></category>
		<category><![CDATA[Javascript]]></category>

		<guid isPermaLink="false">http://stylizedweb.com/2008/01/11/ie7-javascript-library-review/</guid>
		<description><![CDATA[In <a href="http://stylizedweb.com/2007/12/30/png-transparency-issues/">"PNG transparency issues"</a> I’ve written about some of many IE problems later on in <a href="http://stylizedweb.com/2008/01/02/yellow-fields-in-your-web-form/">"Yellow fields in web form"</a> I’ve mentioned focus fix but now I would like to introduce you to IE7 JavaScript library which can make our lives so much easier

IE7 is a JavaScript library made by <a href="http://dean.edwards.name/" target="_blank">Dean Edwards</a> to make Microsoft Internet Explorer behave like a standards-compliant browser. It fixes many HTML and CSS issues and makes transparent PNG work correctly under IE5 and IE6 ]]></description>
			<content:encoded><![CDATA[<p>In <a href="http://stylizedweb.com/2007/12/30/png-transparency-issues/">"PNG transparency issues"</a> I’ve written about some of many IE problems later on in <a href="http://stylizedweb.com/2008/01/02/yellow-fields-in-your-web-form/">"Yellow fields in web form"</a> I’ve mentioned focus fix but now I would like to introduce you to IE7 JavaScript library which can make our lives so much easier</p>
<p>IE7 is a JavaScript library made by <a href="http://dean.edwards.name/" target="_blank">Dean Edwards</a> to make Microsoft Internet Explorer behave like a standards-compliant browser. It fixes many HTML and CSS issues and makes transparent PNG work correctly under IE5 and IE6 (Windows only). Right now this is version 2 and it’s in officially in beta phase.</p>
<p>You can download it directly <a href="http://code.google.com/p/ie7-js/downloads/list" target="_blank">here</a> and just implement it in your <em>head</em> tag</p>
<p>Upgrade MSIE5-6 to be compatible with MSIE7.</p>
<pre class="javascript">&nbsp;
&lt;!--<span style="color: #66cc66;">&#91;</span><span style="color: #000066; font-weight: bold;">if</span> lt IE <span style="color: #CC0000;">7</span><span style="color: #66cc66;">&#93;</span>&gt;
&lt;script src=<span style="color: #3366CC;">&quot;http://ie7-js.googlecode.com/svn/version/xx.x/IE7.js&quot;</span>
type=<span style="color: #3366CC;">&quot;text/javascript&quot;</span>&gt;&lt;/script&gt;
&lt;!<span style="color: #66cc66;">&#91;</span>endif<span style="color: #66cc66;">&#93;</span>--&gt;
&nbsp;</pre>
<p>Upgrade MSIE5-7 with advanced CSS features missing from MSIE7.</p>
<pre class="javascript">&nbsp;
&lt;!--<span style="color: #66cc66;">&#91;</span><span style="color: #000066; font-weight: bold;">if</span> lt IE <span style="color: #CC0000;">8</span><span style="color: #66cc66;">&#93;</span>&gt;
&lt;script src=<span style="color: #3366CC;">&quot;http://ie7-js.googlecode.com/svn/version/xx.x/IE8.js&quot;</span>
type=<span style="color: #3366CC;">&quot;text/javascript&quot;</span>&gt;&lt;/script&gt;
&lt;!<span style="color: #66cc66;">&#91;</span>endif<span style="color: #66cc66;">&#93;</span>--&gt;
&nbsp;</pre>
<p><strong>NOTE: </strong>You do not need to include IE7.js if you are using IE8.js</p>
<p>The project is hosted on <a href="http://code.google.com/p/ie7-js/" target="_blank">Google Code</a> and you can test it on it’s <a href="http://ie7-js.googlecode.com/svn/test/index.html" target="_blank">test page</a> </p>
]]></content:encoded>
			<wfw:commentRss>http://stylizedweb.com/2008/01/11/ie7-javascript-library-review/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>PNG transparency issues</title>
		<link>http://stylizedweb.com/2007/12/30/png-transparency-issues/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=rss</link>
		<comments>http://stylizedweb.com/2007/12/30/png-transparency-issues/#comments</comments>
		<pubDate>Sun, 30 Dec 2007 19:40:30 +0000</pubDate>
		<dc:creator>Dejan Cancarevic</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Javascript]]></category>

		<guid isPermaLink="false">http://stylizedweb.com/2007/12/30/png-transparency-issues/</guid>
		<description><![CDATA[If you are CSS coder, you've probably ran in to png transparency problems many times. Even Microsoft is having problems with it <a href="http://runonce.msn.com/runonce2.aspx" target="_blank">http://runonce.msn.com/runonce2.aspx</a> open in IE6.   So I'll tell you few problems and solutions I've handled so far.

First one is if you need just simple transparent image, without some special needs for example backgrounds etc. The solution would be <a href="http://homepage.ntlworld.com/bobosola/pngtestfixed.htm" target="_blank">png fix</a>. I've used it many times but it has lots of faults, for example with padding, margins and absolute positioning. Sometimes i can mess up the rest of your JavaScript files, but anyway very useful script. ]]></description>
			<content:encoded><![CDATA[<p>If you are CSS coder, you've probably ran in to png transparency problems many times. Even Microsoft is having problems with it <a href="http://runonce.msn.com/runonce2.aspx" target="_blank">http://runonce.msn.com/runonce2.aspx</a> open in IE6.   So I'll tell you few problems and solutions I've handled so far.</p>
<p>First one is if you need just simple transparent image, without some special needs for example backgrounds etc. The solution would be <a href="http://homepage.ntlworld.com/bobosola/pngtestfixed.htm" target="_blank">png fix</a>. I've used it many times but it has lots of faults, for example with padding, margins and absolute positioning. Sometimes i can mess up the rest of your JavaScript files, but anyway very useful script. You can download it here <a href="http://homepage.ntlworld.com/bobosola/pngfix.js" target="_blank">http://homepage.ntlworld.com/bobosola/pngfix.js</a> and just include it in your &lt;head&gt; tag</p>
<p><img src="http://stylizedweb.com/wp-content/themes/dejanc/images/png1.jpg" alt="PNG" class="mainslika"></p>
<pre class="javascript">&lt;!--<span style="color: #66cc66;">&#91;</span><span style="color: #000066; font-weight: bold;">if</span> lt IE <span style="color: #CC0000;">7</span>.<span style="color: #66cc66;">&#93;</span>&gt;
&lt;script defer type=<span style="color: #3366CC;">&quot;text/javascript&quot;</span> src=<span style="color: #3366CC;">&quot;pngfix.js&quot;</span>&gt;&lt;/script&gt;
&lt;!<span style="color: #66cc66;">&#91;</span>endif<span style="color: #66cc66;">&#93;</span>--&gt;</pre>
<p>The second one can partly handle issues from first and it's pure CSS solution. I mostly use this for backgrounds, because if your path for a background is from CSS file then png fix can't handle it.</p>
<p><img src="http://stylizedweb.com/wp-content/themes/dejanc/images/png.jpg" alt="PNG" class="mainslika"></p>
<pre class="css"><span style="color: #6666ff;">.someelement</span> <span style="color: #66cc66;">&#123;</span>
<span style="color: #000000; font-weight: bold;">background-image</span>: <span style="color: #993333;">url</span><span style="color: #66cc66;">&#40;</span><span style="color: #933;">images/image<span style="color: #6666ff;">.png</span></span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #66cc66;">&#125;</span>
&nbsp;
* html <span style="color: #6666ff;">.someelemen</span> <span style="color: #66cc66;">&#123;</span>
<span style="color: #000000; font-weight: bold;">background-color</span>: <span style="color: #cc00cc;">#<span style="color: #933;">333</span></span>;
back\ground-<span style="color: #000000; font-weight: bold;">color</span>: <span style="color: #993333;">transparent</span>;
<span style="color: #000000; font-weight: bold;">background-image</span>: <span style="color: #993333;">url</span><span style="color: #66cc66;">&#40;</span><span style="color: #933;">images/blank<span style="color: #6666ff;">.gif</span></span><span style="color: #66cc66;">&#41;</span>;
filter: progid<span style="color: #3333ff;">:DXImageTransform</span><span style="color: #6666ff;">.Microsoft</span>.
AlphaImageLoader<span style="color: #66cc66;">&#40;</span>src=<span style="color: #ff0000;">&quot;images/image.png&quot;</span>, sizingMethod=<span style="color: #ff0000;">&quot;scale&quot;</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #66cc66;">&#125;</span>
&nbsp;</pre>
<p>I found this very useful, and also when you add some hover effects for example some color or other image. You can see live example <a href="http://smuvajse.com/ft/redesign2/welcome.html">here</a><br />
<strong>NOTE:</strong> This simple hover is just example and it doesn't work in IE6</p>
<pre class="css"><span style="color: #6666ff;">.someelement</span><span style="color: #3333ff;">:hover</span> <span style="color: #66cc66;">&#123;</span>
<span style="color: #000000; font-weight: bold;">background</span>: <span style="color: #cc00cc;">#<span style="color: #933;">333</span></span>;
<span style="color: #66cc66;">&#125;</span>
&nbsp;
<span style="color: #6666ff;">.someelement</span><span style="color: #3333ff;">:hover</span> <span style="color: #66cc66;">&#123;</span>
<span style="color: #000000; font-weight: bold;">background-image</span>: <span style="color: #993333;">url</span><span style="color: #66cc66;">&#40;</span><span style="color: #933;">images/image2<span style="color: #6666ff;">.gif</span></span><span style="color: #66cc66;">&#41;</span>;
&nbsp;
<span style="color: #66cc66;">&#125;</span>
&nbsp;</pre>
<p>Only problem I had with this was with &lt;a&gt; tag, link just don't work (when it's in div with this kind of background) and i don't know why (talking again for IE6). And only solution i could think of was to place another absolute div over it for the links, content etc... Yes i know it's not elegant but it works if content is not dynamic.</p>
<p>Luckily more and more people are starting to use IE7, and i must say i have recently switched too, i had to have IE6 because of testing my code and when i found out for <a href="http://tredosoft.com/Multiple_IE" target="_blank">Multiple IE</a> program I switched immediately <img src='http://stylizedweb.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://stylizedweb.com/2007/12/30/png-transparency-issues/feed/</wfw:commentRss>
		<slash:comments>95</slash:comments>
		</item>
	</channel>
</rss>

