I think there should be something which is responsible for ordering the repeatable contents. may be @order cuz. I can see it's using sorrting in project image.
So on every click i open a div with an id (position) and this works. But how can i hide all other divs instead of the one? I tried to use a HideDiv function but how can i tell it which divs i have to hide? for example if i write HideDiv('1') inside the onclick fucntion it works.
Is there a way to automatically hide all divs instead of that i want to show?
Slider with pagination (jQuery)
hello,
Ive got the following scenario:
I just want to add a simple jQuery slider with Repeatable Custom Content - Now i need to increase the value of the pagination for each item.
Here is my xslt:
The Value of the <li> Element should be dynamic 1 for the first slide and 2 for the second slide
Hi
In this case one good option is using sort order.
if I use this the value is empty
Value empty means @sortOrder?
Yes i get no value for @sortOrder it is just empty and not "1" "2"
Actually @sortOrder value comes from umbraco system which is used to sort the node in umbraco backend
yes but if i use your code i do not get anything back so it looks like @sortOrder is not working
Please check your xslt once. I tried in runway module with the below xslt and works fine
Thanks
Thanks, but i need the sort order from the Repeatable Custom Content. IN your case you are not using the Repeatable Custom Content extension I think
I think there should be something which is responsible for ordering the repeatable contents. may be @order cuz. I can see it's using sorrting in project image.
Replied in your other thread - RCC doesn't have a sortOrder attribute but you can use position() to get the current position
now ive got another problem
I got the following XSLT
So on every click i open a div with an id (position) and this works. But how can i hide all other divs instead of the one?
I tried to use a HideDiv function but how can i tell it which divs i have to hide? for example if i write HideDiv('1') inside the onclick fucntion it works.
Is there a way to automatically hide all divs instead of that i want to show?
Thanks
ok i got it by using another variable called position-div
is working on a reply...