Ajax手风琴在页面加载上打开窗格? [英] Ajax Accordion Open Pane on Page Load?

查看:61
本文介绍了Ajax手风琴在页面加载上打开窗格?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在一个页面上有一个accodion,并希望在页面加载后大约一秒钟打开它。 我把一个ajax计时器,设置为1000mx,并在计时器fire事件中输入accordion1.selectedindex = 1。 这是有效的,但是手风琴窗格不能用动画打开
。 它只是突然出现。 我已经尝试将TransitionDuration设置为1000,它也会做同样的事情。 这可能吗? 如何在页面加载后使用动画打开窗格?


Selden

解决方案

嗨塞尔登,


我认为你在ASP网站上的这个问题更好。


计时器是用JavaScript过去做的一个替代品,并且完全在客户端运行。


http://forums.asp.net


 


I have an accodion on a page, and would like to have it open a second or so after the page loads.  I put an ajax timer, set it to 1000mx, and in the timer fire event put accordion1.selectedindex=1.  This works, BUT the accordion pane does not open with animation.  It just appears suddenly.  I've tried setting the TransitionDuration to 1000, and it does the same thing.  Is this possible?  How do I get the pane to open with animation after the page loads?


Selden

解决方案

Hi Selden,

I think that you for this question are better of at the ASP website.

The timer is a kind replacement for a piece what was done in past with JavaScript, and is completely running at the Client side.

http://forums.asp.net

 


这篇关于Ajax手风琴在页面加载上打开窗格?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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