:path
:path is a pseudo-class selector written in jquery. It automatically filters out href attributes that matches the window location and it's ancestors. Use it to style or modify active states in navigations without server-side interaction.
Usage (example):$('ul a:path').parent().addClass('active');
Comes bundled with the similar selector :current
that filters out hrefs that points to the very same page that the window.location returns.
评论
Path Intro
实现UIScrollView视图切换时淡入淡出的切换效果。手指滑动scrollview时,scrollview上的视图切换不像一般那样的页面切换效果,而是一种淡入淡出的切换效果。Demo还支持Scro
Path Intro
0
path button
我是基於這個修改的:http://www.oschina.net/p/pathbutton/similar_projects改它的理由如下:1、它原來這個沒有自適應不同的位置,例如想改到上方或者左上角
path button
0