-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=4792166
By: ramisyuanbo
Is there a zul component looking like an html hyper link?
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=4792183
By: madruga0315
Hey,
Look at toolbarbutton component, but not nested inside a toolbar
try in zk demo
<window>
<toolbarbutton label="link"/>
</window>
Madruga
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=4792253
By: ramisyuanbo
That is great.
But the hyperlink(the toolbarbutton )'s color is not blue as a usual link. How do make it blue?
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=4792280
By: madruga0315
Hey...
I guess i did not understood your question, because for me the link is blue.
but you can customize with the style property
try this, and youll see the hyper link in red.
<window title="My First Window" border="normal" width="200px">
<toolbarbutton label="link" style="color: red;" /> </window>
The normal link usually is not underlined, and is underlined in the onMouseOver event.
The toolbarbutton is always underlined, but you can customize this as well with the style property and the action property (for the onMouseOver and onMouseOut).
Madruga
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=4793326
By: ramisyuanbo
Thanks madruga0315 for ur patient!
The reason why my hyperlink is not blue by default is it's located inside a listbox cell. I've even tried a html link inside a <html></html> block, and the link is still black by default.
By the way, when a <toolbarbutton /> is put inside a listbox cell, the link is NOT underlined by default.
You can use like this
<toolbarbutton label="link" href="http://www.askkuber.com"> </toolbarbutton>
Asked: 2008-02-21 15:58:28 +0800
Seen: 2,396 times
Last updated: Aug 23 '12