Archive for the ‘javascript’ Category

YUI’ye Başlangıç: YUI Nasıl Kullanılır?

Thursday, November 12th, 2009


YUI, YAHOO tarafından geliştirilen içerisinde javascript ve css kodları bulunduran gelişmiş bir arayüz kütüphanesidir. Arayüz geliştiricilerinin tüm ihtiyaçlarını karşılayacak kadar zengindir. YUI’nin nasıl kullanıldığını adım adım öğreneceğiz.

Devamını okumak için lütfen tıklayınız…



YUI Selector IE8 Bug and Solution

Monday, November 9th, 2009

We used YUI 2.5.2 version for a long time on markafoni.com. With the new face of markafoni I decided to update YUI version. I updated YUI to 2.8rc version, but surprisingly I saw javascript errors in all IE8 pages. After googling I found the solution. The problem is was here in selector.js (or selector-min.js):

if(YAHOO.env.ua.ie && YAHOO.env.ua.ie<8)

Change to:

if(YAHOO.env.ua.ie && ((!document.documentMode && YAHOO.env.ua.ie<8) || document.documentMode < 8))


YUI 3 experimental example

Tuesday, September 9th, 2008

As a YUI fan, I am excited about new release of YUI. There is a total diffrence between YUI 2.x and YUI 3.x. Now it is time to try new YUI 3.x

I made an experimental example using Node and Event modules. Here is the example.

Creating elements are very easy with new YUI:

Y.Node.create('<div class="class" style="style:value;">
Lorem ipsum
</div>');