ARCHIVED PROJECT: Tilda team sufficiently rewrote their products/cards logic, so this project should as well get reimplemented.
A ready-to-use component for enhanced in-page routing on Tilda-based websites.
See how the very same hash-based navigation ups Tera kulta to the next level of UX.
-
For all built-in Tilda navigation-related blocks that you use, take their overrides from the
tilda-overrides
directory and add them at the top of your page (or at the bottom of the "header") within a dedicated HTML block. -
Similarly, add the
tilda-router.js
(or its minified version) and then the following snippet:window.router = new TildaRouter(window.location);
-
Add a dedicated anchor link (block
T173
) in front of each navigable block. Note that popup links have to be in the standard Tilda#popup:name-of-your-popup
format to work properly. -
In case you want some blocks to attract navigation (e.g. when the product's popup is opened from outside the parent block and you want to keep the user focused on what is open now), pass their dedicated anchors upon the
TildaRouter
construction as shown below:window.router = new TildaRouter(window.location, { attractors: [ '#my-very', '#important', '#blocks' ] });
-
Enjoy the new in-page routing!
- Update to support a newer version of Tilda Catalog:
- tilda-catalog-1.1
- Initial version built upon:
- tilda-blocks-2.7
- tilda-catalog-1.0
- tilda-products-1.0
- tilda-slds-1.4