Hi,

There is no simple link widget.

But you can extend from an atom and style it like that (just alter it to your 
needs).

     "link-atom" :
    {
      include : "atom",
      alias   : "atom",



      style : function(states)
      {
        return {
          textColor : states.disabled ? "text-disabled" : "link-text",
          cursor : states.disabled ? "default" : "pointer"
        };
      }
    },



    "link-atom/label" :
    {
      style : function(states)
      {
        var font = "default";



        if (states.hovered) {
          font = "underline";
        }



        return {
          font      : states.disabled ? "default" : font,
          cursor    : states.disabled ? "default" : "pointer"
        };
      }
    }


you should reg.in your LinkAtom widget

this.addListener("mouseover", function() {
   this.addState("hovered");
}, this);

this.addListener("mouseout", function() {
          this.removeState("hovered");
}, this);

Am 22.07.2011 um 16:51 schrieb panyasan:

http://tinyurl.com/3gjcveq

Cheers,
C.

--
View this message in context: 
http://qooxdoo.678.n2.nabble.com/Simple-Link-tp6610512p6610725.html
Sent from the qooxdoo mailing list archive at Nabble.com.

------------------------------------------------------------------------------
10 Tips for Better Web Security
Learn 10 ways to better secure your business today. Topics covered include:
Web security, SSL, hacker attacks & Denial of Service (DoS), private keys,
security Microsoft Exchange, secure Instant Messaging, and much more.
http://www.accelacomm.com/jaw/sfnl/114/51426210/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Tino Butz
Mobile Architect

1&1 Internet AG - Web Technologies
Ernst-Frey-Straße 9 · DE-76135 Karlsruhe
Telefon: +49 721 91374-4488
[email protected]<mailto:[email protected]>

Amtsgericht Montabaur / HRB 6484
Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Robert Hoffmann, 
Markus Huhn, Hans-Henning Kettler, Dr. Oliver Mauss, Jan Oetjen
Aufsichtsratsvorsitzender: Michael Scheeren

------------------------------------------------------------------------------
10 Tips for Better Web Security
Learn 10 ways to better secure your business today. Topics covered include:
Web security, SSL, hacker attacks & Denial of Service (DoS), private keys,
security Microsoft Exchange, secure Instant Messaging, and much more.
http://www.accelacomm.com/jaw/sfnl/114/51426210/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to