Thumbnail menu which removes visited nodes
Posted: Tue Mar 12, 2019 9:55 pm
Hi,
There was a Facebook request to be able to remove nodes from a thumbnail menu as you click the thumbnails.
The attached project does this.
To use this just copy the skin elements and place them in your own.
The key parts to this are each node has its node number in its user data "Source" text field, example, node1 = n1, node2 = n2, and so on.
Then each node has tags for all nodes other than its own:
Tags for node1, n2, n3, n4, n5
Tags for node2, n1, n3, n4, n5
Tags for node3, n1, n2, n4, n5
And so on
The skin has a text variable:
Name: ft (filter thumbnails)
Type: Text
Init Value: blank
So here's the clever bit...
When you click a thumbnail this modifies the text variable which gets applied to the cloners tag and filters out the nodes.
Thanks to Thomas for the information that the operation, "Add(+)" can be used with a text variable.
Regards,
Hopki
There was a Facebook request to be able to remove nodes from a thumbnail menu as you click the thumbnails.
The attached project does this.
To use this just copy the skin elements and place them in your own.
The key parts to this are each node has its node number in its user data "Source" text field, example, node1 = n1, node2 = n2, and so on.
Then each node has tags for all nodes other than its own:
Tags for node1, n2, n3, n4, n5
Tags for node2, n1, n3, n4, n5
Tags for node3, n1, n2, n4, n5
And so on
The skin has a text variable:
Name: ft (filter thumbnails)
Type: Text
Init Value: blank
So here's the clever bit...
When you click a thumbnail this modifies the text variable which gets applied to the cloners tag and filters out the nodes.
Thanks to Thomas for the information that the operation, "Add(+)" can be used with a text variable.
Regards,
Hopki