OnHashTriggerClick

{OnHashTriggerClick Hash="hashtag ..." Click="selector ..."/}

The hashin the address barknowseveryoneand if you, for example, open a specifictab, so you have totrigger aclickso that thetabis opened.

Params for OnHashTriggerClick:

hash: Hash for reaction on, space separated.

click: Selector to click, space separated.

How to use it:

{OnHashTriggerClick hash="#tab1s #tab2s #tab3s" click="a[href*=tab1] a[href*=tab2] a[href*=tab3]"/}

Example:

Hint: You can use external menu entries with anchors like #somethingelse

Have a look at the displayed browser url. You can see #tab1s #tab2s #tab3s append to the normal url.

OnHashTriggerClick is based on Ben Alman & jQuery hashchange event.


Available for:

Advertising

© 2010 - 2017 FINWICK® UG

We have 56 guests and no members online