图像切换 [英] Image toggling

查看:54
本文介绍了图像切换的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我单击带有一个窗格的手风琴标题中的+图像时,我想获得–图像.谁能向我建议在.net

I want to get the – image when I click on the + image which are present in the header of the Accordion with only one pane. Can any one suggest me the solution with Jscript that is to be used in .net

推荐答案

当您只有一个窗格并且需要像结构/行为这样的树时,为什么要使用Accordian?

使用树形菜单,您的方案将被覆盖.此外,如果要保留Accordian(仅具有一个窗格!),请在其中放入树形视图,并具有"+",-"行为以实现扩展和折叠功能. Accordian就像是一个虚拟面板,会增加页面加载量! :doh:
When you have only one pane and you need a tree like structure/behaviour then why are you using Accordian?

Use a Tree Menu and your scenario would be covered. Further, if you want to keep Accordian (with one pane only!), put a treeview inside it and have ''+'',''-'' behavior for expansion and collapse feature. Accordian would just be like a dummy panel present increasing page load! :doh:


这篇关于图像切换的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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