| Page 1 of 1 | [ 5 posts ] |
|
Hi,
I am using YUI 3.5.1 and I am using the tabview component. I would like to add an image instead of tab name. For example I want to display Home icon instead of displaying the text Home in the tab header. I attempted using the following code but the image is not getting displayed. Can someone assist me with this? <div id="hometabs"> <ul> <li><a href="#Login"><img src="images/Home.jpg" width="30" height="30" /></a></li> <li><a href="#Help">Help</a></li> </ul>............. ... .. .. </div> |
Marco AsbreukYUI Contributor
|
Hey Bhuvana,
Tabview doesn't allow you to do that at first glance. But there is a workarround, although you should have some YUI-experience before using it: http://yuilibrary.com/forum/viewtopic.php?f=92&t=10305 Kind regards, Marco. |
|
I am able to get it working using this approach. Thanks Marco!
Regards, Bhuvana |
Marco AsbreukYUI Contributor
|
Yeah,
No problem. Thx. to Juan (I could not possible figure this one out myself Regards, Marco. |
Juan Ignacio DopazoYUI Contributor
|
I sent a pull request with a solution that I think is better than the patch
https://github.com/yui/yui3/pull/198 |
| Page 1 of 1 | [ 5 posts ] |
| You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum |
© 2006-2013 Yahoo! Inc. All rights reserved.
All code on this site is licensed under the BSD License unless stated otherwise.
About This Site · Security Contact Info
Powered by phpBB® Forum Software © phpBB Group