JavaScript
  Home arrow JavaScript arrow Creating Submit Buttons and Drop-down Menu...
Dev Articles Forums 
ADO.NET  
Apache  
ASP  
ASP.NET  
C#  
C++  
ColdFusion  
COM/COM+  
Delphi-Kylix  
Design Usability  
Development Cycles  
DHTML  
Embedded Tools  
Flash  
Graphic Design  
HTML  
IIS  
Interviews  
Java  
JavaScript  
MySQL  
Oracle  
Photoshop  
PHP  
Reviews  
Ruby-on-Rails  
SQL  
SQL Server  
Style Sheets  
VB.Net  
Visual Basic  
Web Authoring  
Web Services  
Web Standards  
XML  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
JAVASCRIPT

Creating Submit Buttons and Drop-down Menus with the Yahoo Button Control
By: Alejandro Gervasio
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 3 stars3 stars3 stars3 stars3 stars / 4
    2007-12-18

    Table of Contents:
  • Creating Submit Buttons and Drop-down Menus with the Yahoo Button Control
  • Submitting web forms with the Yahoo Button Control
  • Resetting web forms with the Yahoo Button Control
  • Building a drop-down menu

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Creating Submit Buttons and Drop-down Menus with the Yahoo Button Control


    (Page 1 of 4 )

    Buttons are undoubtedly an important part of many web-based user interfaces these days. So if you’re interested in learning how to build these elements with minor hassles, then you should start looking at the useful Button Control, which is bundled with the popular Yahoo UI DHTML framework.

    Welcome to the final installment of the series that began with “A close look at the Yahoo Button Control.” As its title clearly suggests, this series analyzes this handy Yahoo widget in detail and shows you how to take advantage of its numerous features through copious and illustrative hands-on examples.

    Having already introduced you to the main subject of this series, it’s time to quickly refresh your memory of the topics that were treated during the preceding tutorial. You’ll possibly recall that I showed you how to build a specific type of button, called “link,” from inside the context of the Yahoo UI framework, which as its name implies, comes in handy for creating professional-looking buttons that can be linked directly to a specified URL.

    Even though the functionality offered by the aforementioned “link” buttons seem rather limited at first glance, the truth is that these controls can be useful in certain situations. They can be created either by using some basic “<a>” tags or with a few lines of JavaScript code.

    Nevertheless, the Yahoo! Button Control provides web developers not only with the capacity for building different types of buttons with minor hassles (most of them have been covered in the previous articles of the series), but also the possibility of creating several eye-catching drop-down menus by utilizing some existing <select> elements. This sounds really interesting, right?

    Considering that the implementation of navigational menus with the Yahoo! Button Control can be potentially useful to your existing or future web projects, in this last part of the series I’ll show you how to build them with minimal effort, and also teach you how to use this handy control to emulate the behavior of reset and submit web form controls.

    With the preliminaries out of the way, let’s find out together how to build dynamic drop-down menus and submit buttons utilizing the functionality of the Yahoo! Button Control. It’s going to be an instructive experience!

    More JavaScript Articles
    More By Alejandro Gervasio


       · If you think that the Yahoo! Button Control can be used to create only interactive...
     

    JAVASCRIPT ARTICLES

    - Comparing Fields and Customizing Error Messa...
    - Checking Numbers and File Extensions with jQ...
    - Validating Digits and Dates with jQuery`s Va...
    - Validating Ranges, Emails, and URLs with jQu...
    - More Uses for the jQuery Tooltip Plug-in`s b...
    - Building Image-Based Tooltips with the jQuer...
    - Using the jQuery Tooltip Plug-in`s bodyHandl...
    - Using Rangelength, Min and Max with the Vali...
    - Using Minlength and Maxlength with the Valid...
    - Modifying Tooltip Coordinates with the jQuer...
    - Applying a Fade Out Effect with the jQuery T...
    - Tracking Mouse Movements with the jQuery Too...
    - Checking Online Forms with the Validator jQu...
    - Nested JavaScript Functions as Objects
    - The jQuery Tooltip Plug-in







    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 4 Hosted by Hostway
    For more Enterprise Application Development news, visit eWeek