JavaScript
  Home arrow JavaScript arrow Building Link Buttons with the Yahoo Butto...
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  
Dedicated Servers  
Actuate Whitepapers 
Moblin 
IBM® developerWorks 
Sun Developer Network 
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

Building Link Buttons with the Yahoo Button Control
By: Alejandro Gervasio
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 2
    2007-12-11

    Table of Contents:
  • Building Link Buttons with the Yahoo Button Control
  • Building some basic push buttons
  • Building link buttons from existing "a" tags
  • Building link buttons using JavaScript

  • 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

    Generate data entry and reporting .NET Web apps in minutes, straight from your database. Read our FREE whitepaper “Build Web 2.0 Applications Without Hand-Coding” Download now!

    Building Link Buttons with the Yahoo Button Control


    (Page 1 of 4 )

    If you’re a web developer who’s searching for a friendly guide on how to use the Button Control widget that comes bundled with the Yahoo UI framework, then look no further, and start reading this article now! Welcome to the fourth part of the series "A close look at the Yahoo Button Control."

    This series, which is made up of five instructive tutorials, walks you through the remarkable functionality offered by this powerful DHTML control. And it shows you how to use it in concrete situations to build all sorts of buttons, ranging from simple web form elements to professional-looking drop-down menus.

    Having already introduced you to the subject of this series of tutorials, let me quickly recapitulate the topics that were covered in the previous article, so you can have a much clearer idea of how that tutorial links with the current one.

    All right, as you’ll surely recall, in the preceding article of the series I showed you, with several code samples, how to use the Yahoo! Button Control to build certain types of buttons, called “push” inside the context of the Yahoo UI framework. As you saw during the course of that tutorial, building these kinds of widgets is indeed a straightforward procedure that can be learned even by novice web designers, since these buttons were created by using some existing “<input>” tags and some basic JavaScript code.

    Of course, one of the most important things that should be noticed here concerning the creation of “push” buttons is that their functionality is rather limited when used as stand alone web-based controls. However, this limitation can be easily addressed, since the versatility of the Yahoo! Button Control allows you to build some other types of elements, which can be potentially more useful when it comes to building interactive user interfaces.

    Therefore, in this fourth installment of the series I’m going to demonstrate how to use the button control to create buttons that can be tied to a specific URL. As you might guess, these buttons are called “links” inside the context of the Yahoo UI framework, and can be built in a simple way by using either some existing “<input>” tags, or directly with JavaScript.

    Having explained the topic that will be covered in this tutorial, let’s move forward and see how to build “link” buttons using the handy Yahoo! Button Control. Let’s begin!

    More JavaScript Articles
    More By Alejandro Gervasio


       · In this fourth chapter of the series, you’ll learn how to build different link...
     

    JAVASCRIPT ARTICLES

    - Detect Browser Compatibility with the Reques...
    - Using the EXT JS Date Picker Widget
    - Ajax Hack for Entering Information Without R...
    - EXT JS 2.1 Overview
    - Using the Style Object for Zebra Tables with...
    - Binary Searching
    - An Improved Approach to Building Zebra Tables
    - Assigning Background Colors Dynamically to Z...
    - Building Zebra Tables with CSS and JavaScript
    - JavaScript: Array Objects
    - A Closer Look at Smart Markers with Yahoo! M...
    - Using Polylines and Smart Markers with Yahoo...
    - Bulleted Menu of Links
    - Creating Click Loggers and Basic Markers wit...
    - Adding Pan Controls to Yahoo! Maps


    Iron Speed





    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway