I was trying to have a navigate toggle list from left to right side
.If i click the button,the list should come as native android app in css
,But the list should slide from left to right.
我试图从左到右有一个导航切换列表。如果我点击按钮,列表应该在css中作为原生Android应用程序,但列表应该从左向右滑动。
$(".logo").click(function()
{
$(".sidebar_list").toggle('slide');
});
Example Image:
2 个解决方案
#1
1
You can use the jquery mobile's slider panel. Check this link:
您可以使用jquery mobile的滑块面板。检查此链接:
http://demos.jquerymobile.com/1.3.0-beta.1/docs/panels/
#2
0
I got my Expected answer..
我收到了预期的答案..
Here is my code.
这是我的代码。
$(".logo").click(function()
{
$(".sidebar_list").animate({
width: 'toggle'
}, 100)
});
#1
1
You can use the jquery mobile's slider panel. Check this link:
您可以使用jquery mobile的滑块面板。检查此链接:
http://demos.jquerymobile.com/1.3.0-beta.1/docs/panels/
#2
0
I got my Expected answer..
我收到了预期的答案..
Here is my code.
这是我的代码。
$(".logo").click(function()
{
$(".sidebar_list").animate({
width: 'toggle'
}, 100)
});