nextwebgen.com

The Next Generation Web Now

DatePicker using Prototype and Scriptaculous

Filed under: Web 2.0 News — Dion Almaer at 8:47 am on Friday, August 31, 2007

Until we get <input type="date" /> into the browsers, we will need to create data pickers.

DatePicker is a simple one that users Prototype and Script.aculo.us, and does the basics well (although the fade can be a touch annoying to me).

It is very simple to use too:

HTML:

  1.  
  2. <script type=“text/javascript” src=“/prototype.js”></script>
  3. <script type=“text/javascript” src=“/scriptaculous.js”></script>
  4. <script type=“text/javascript” src=“/datepicker.js”></script>
  5. <style type=“text/css”>
  6. @import("/css/datepicker.css");
  7. </style>
  8.   <input type=“text” id=“date-from” name=“date-from” />
  9. </form>
  10. <script type=“text/javascript”>
  11.      var dpck   = new DatePicker({
  12.       relative  : ‘date-from’,
  13.       language  : ‘en’
  14.       });
  15. </script>
  16.  

Of course, you could easily wrap this in a microformat so you can just do class=”date”.

Prototype Date Picker

Tenajon Acquires Additional Ground near its Ajax and Moly Brook … - Market Wire (press release)

Filed under: Web 2.0 News — Ajax - Google News at 7:35 am on Friday, August 31, 2007
Tenajon Acquires Additional Ground near its Ajax and Moly Brook
Market Wire (press release) - 4 hours ago
(TSX VENTURE:TJS) (the "Company" or "Tenajon") today announced that it has optioned two properties near its Ajax Property in northwestern British Columbia

After missing out on Champions League, Ajax faces Dinamo Zagreb in … - International Herald Tribune

Filed under: Web 2.0 News — Ajax - Google News at 7:30 am on Friday, August 31, 2007

Turkish Press
After missing out on Champions League, Ajax faces Dinamo Zagreb in
International Herald Tribune, France - 1 hour ago
AP MONTE CARLO, Monaco: Ajax will face Dinamo Zagreb in the first round of the UEFA Cup after again failing to qualify for the Champions League.
Bayern and Ajax given tough ties uefa.com
all 150 news articles

After missing out on Champions League, Ajax faces Dinamo Zagreb in … - International Herald Tribune

Filed under: Web 2.0 News — Ajax - Google News at 7:30 am on Friday, August 31, 2007
After missing out on Champions League, Ajax faces Dinamo Zagreb in
International Herald Tribune, France - 3 hours ago
AP MONTE CARLO, Monaco: Ajax will face Dinamo Zagreb in the first round of the UEFA Cup after again failing to qualify for the Champions League.
Bayern meet Belenenses in UEFA Cup CNN International
Bayern starts UEFA vs. Belenenses SI.com
UEFA Cup Uefa Cup Draw: Bayern, Samp, Spurs And Zaragoza Have It Easy Goal.com
all 26 news articles

Long Pages Work!

Filed under: Web 2.0 News — Dion Almaer at 7:20 am on Friday, August 31, 2007

Peter Van Dijck thinks that long pages work and he points to Wikipedia and pages like this as proof.

The content + a lot of comments world can definitely make sense. You can use Cmd+F to hunt around, and the main content is still at the top.

We have in the past been obsessed with “above the fold” and “page views are king”. It is really painful when you still see articles split into short chunks, and it leads me to find the “printer friendly” page in very short order.

The iPhone is also showing that scrolling is a nice UI tool, especially when you have lists. The auto-keep-scrolling technique works really well on the phone.

We shouldn’t get complacent though, there is a reason why you see heat graphs showing where users click, and if they can’t see it, they don’t know it’s there.

RUUD POISED FOR EURO CHANCE - Sportinglife.com

Filed under: Web 2.0 News — Ajax - Google News at 7:07 am on Friday, August 31, 2007

Sportinglife.com
RUUD POISED FOR EURO CHANCE
Sportinglife.com, UK - 17 hours ago
Squad: Van der Sar (Manchester United), Stekelenburg (Ajax), Timmer (Feyenoord); Boulahrouz (Sevilla), Bouma (Aston Villa), Emanuelson (Ajax),

The Evolution of CRM 2.0 (E-Commerce Times)

Filed under: Web 2.0 News — Yahoo! News Search Results for web 2.0 at 7:01 am on Friday, August 31, 2007

Retail marketing and e-commerce are rapidly evolving via the exploding adaptation of Web 2.0 applications like blogs, wikis, video, RSS, widgets and podcasting into the marketing and customer relationship management process. Labeled CRM 2.0, it has become the essence of smart e-commerce.

WCAG 1.0 Accessible News Slider

Filed under: Web 2.0 News — Rey Bango at 7:00 am on Friday, August 31, 2007

Everyone’s throwing up JavaScript functionality left and right, most of the time without giving any thought to accessibility. Not so for Brian Reindel who has created an accessible news slider component which meets the requirements of the W3C’s Web Content Accessibility Guidelines 1.0.

Brian really gave the development of this jQuery plugin some good thought as attested by his overview of the functionality:

  • The JavaScript is only 2KB compressed.
  • The XHTML and JavaScript were developed specifically to meet the WCAG 1.0, and this will always be the number one priority of the plugin. It is suggested that if you modify the XHTML, you do so keeping this in mind.
  • Users with color vision deficiency, or color blindness
    The plugin does not use color as a primary indicator of a change in state for the slider. Instead, the “previous” and “next” arrows are either visible or hidden, depending on the location of the news slider. There is also an indicator that communicates the total number of news stories in the slider.
  • Users with limited or poor vision, but who do not use a screen reader
    If the user chooses to resize the text via the browser file menu, the slider will flex vertically to accommodate the larger text, and still function. This is primarily a function of the CSS, and it is suggested you maintain a variable font size on your site in order to take advantage of this capability.
  • Users that are legally blind, and who browse Web pages with a screen reader
    Since screen readers actually read through the code, it is important that the XHTML be formatted free of confusion. The appropriate skip links and title tags have been included for navigation and messaging. The important thing to remember is that screen readers like JAWS ignore elements with the display property set to “none”, or with the visibility property set to “hidden”. This helps significantly in managing the presentation to several categories of disabled users.
  • Users that browse with the keyboard and an adaptive device such as a mouth stick
    When developing a Web component to be accessible, this is the most difficult group of disabled users to accommodate. If you have ever tried to browse by tabbing through a Web page, it can be frustrating. Although the core functionality of the news slider is partially accessible with a keyboard, the “View All” link was added as a catch-all mechanism.
  • Users who have turned off JavaScript or CSS
    The key was to make sure that not only were all the news stories readable with JavaScript or CSS turned off, but that the appropriate messaging was displayed to the user to inform them of the implications. Although not a category that I think fits explicitly under accessibility, it is a component of the WCAG 1.0 checkpoints, and strides were taken to make sure the plugin met these requirements.

You can download the plugin here and you’ll need to pick up a copy of jQuery v1.1.3.1 or higher in order to use it.

« Previous PageNext Page »