想要在选择时突出显示按钮 [英] Want to highlight the button upon selection

查看:108
本文介绍了想要在选择时突出显示按钮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



在我的网页中,我的右侧有5个按钮,箭头指向下方,如果单击它们的左侧,则显示一些内容,直到该内容出现为止,该按钮需要突出显示,并且箭头向左显示.....对应的内容相应的按钮需要突出显示,直到我单击下一个按钮.

我已经完成了工作,但是我只能更改背景颜色.

感谢帮助.

Hi,

In my webpage i have 5buttons on right side and arrows is pointing down and if i click on them left side some content is displaying until the content is there the button needs to highlight and arrow show left.......for corresponding content corresponding button needs to highlight until i click next button.

i worked on it but iam able to change only background color.

appreciate for help.

推荐答案

如果背景颜色不足以供您使用,请使用自定义按钮图像而不是标准按钮.使用<img>标记并针对每个按钮状态使用几个预先创建的图像来响应其事件,以修改其src;参见 http://www.w3schools.com/tags/tag_img.asp [
If background color is not enough for you, use custom button images instead of standard buttons. Use the <img> tag and modify its src in response to its events using several pre-created images for each button state; see http://www.w3schools.com/tags/tag_img.asp[^].

—SA


这篇关于想要在选择时突出显示按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆