[ 2 posts ]

Satyam

YUI Contributor

  • Username: Satyam
  • Joined: Tue Dec 09, 2008 12:34 am
  • Posts: 2016
  • Location: Sitges, Spain
  • GitHub: Satyam
  • Gists: Satyam
  • IRC: DevaSatyam
  • YUI Developer
  • Offline
  • Profile
Tags:

Progress Bar

Post Posted: Sun Jan 11, 2009 12:48 am
+0-
I updated my previous 3.0PR1 (pre-Widget) ProgressBar to 3.0PR2 inheriting from Widget and following, as much as I understood them, the guideline for Widgets:

http://www.satyam.com.ar/yui/#progressbar

I hope I did it Ok.

It doesn't do progressive enhancement since a ProgressBar without JavaScript enabled to actually move the bar makes no sense, I can't see any equivalent passive progress bar.

Eric Ferraiuolo

YUI Developer

  • Username: ericf
  • Joined: Mon Jan 12, 2009 8:26 pm
  • Posts: 380
  • Location: Boston, MA
  • Twitter: ericf
  • GitHub: ericf
  • Gists: ericf
  • IRC: eric_f
  • YUI Developer
  • Offline
  • Profile

Re: Progress Bar

Post Posted: Tue Jan 13, 2009 3:33 pm
+0-
Interesting. It's nice to see some other code examples of how to work with the YUI3 widget framework. I've been trying to figure it myself. I didn't a run-thru of your progress bar code and it looks a lot like what I would expect in most areas. The part I'm trying to get my head around is if you were to create a widget hierarchy and sub-class widgets how that would work with respect to the classnames and HTML templates. Although I'm not so sure if widgets created using the framework are truly intended to be sub-classed or not?

I put my recent attempt on creating a YUI 3 widget up on Google Code; I wanted to create something that took a JSON result from Google's Ajax Feed API and turn it into a DOM structure. Maybe take a look at the feed.js file and we could collaborate on different parts related to widget development.

In the meantime I'll play around with the progress bar widget some more...
Eric Ferraiuolo
  [ 2 posts ]
Display posts from previous:  Sort by  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum