Millisecond Forums

Slider labels

https://forums.millisecond.com/Topic27382.aspx

By nivong - 7/4/2019

Hello hello, 

I would like to label my slider line with labels like "Mag ich gar nicht." and "Mag ich sehr gerne." and additionally with the numbers 1 to 7. How is this possible?

That is what I have done already: 

<slider liking_joghurt>
/ caption="Wie sehr mögen Sie Naturjoghurt?"
/ labels=("Mag ich gar nicht.", "Mag ich sehr gerne.")
/ range = (1, 7)
/ labelrange= true
/ position = (15, 20)
/ slidersize = (60%, 20%)
/ increment = 1
/ required = true

I hope someone can help out! 
Kind regards, Nina

By Dave - 7/4/2019

nivong - 7/5/2019
Hello hello, 

I would like to label my slider line with labels like "Mag ich gar nicht." and "Mag ich sehr gerne." and additionally with the numbers 1 to 7. How is this possible?

That is what I have done already: 

<slider liking_joghurt>
/ caption="Wie sehr mögen Sie Naturjoghurt?"
/ labels=("Mag ich gar nicht.", "Mag ich sehr gerne.")
/ range = (1, 7)
/ labelrange= true
/ position = (15, 20)
/ slidersize = (60%, 20%)
/ increment = 1
/ required = true

I hope someone can help out! 
Kind regards, Nina


<slider liking_joghurt>
/ caption="Wie sehr mögen Sie Naturjoghurt?~n"
/ labels=("Mag ich gar nicht.~n1","~n2","~n3","~n4","~n5","~n6", "Mag ich sehr gerne.~n7")
/ range = (1, 7)
/ position = (15, 20)
/ slidersize = (60%, 20%)
/ increment = 1
/ required = true
</slider>
By nivong - 7/4/2019

Dave - 7/5/2019
nivong - 7/5/2019
Hello hello, 

I would like to label my slider line with labels like "Mag ich gar nicht." and "Mag ich sehr gerne." and additionally with the numbers 1 to 7. How is this possible?

That is what I have done already: 

<slider liking_joghurt>
/ caption="Wie sehr mögen Sie Naturjoghurt?"
/ labels=("Mag ich gar nicht.", "Mag ich sehr gerne.")
/ range = (1, 7)
/ labelrange= true
/ position = (15, 20)
/ slidersize = (60%, 20%)
/ increment = 1
/ required = true

I hope someone can help out! 
Kind regards, Nina


<slider liking_joghurt>
/ caption="Wie sehr mögen Sie Naturjoghurt?~n"
/ labels=("Mag ich gar nicht.~n1","~n2","~n3","~n4","~n5","~n6", "Mag ich sehr gerne.~n7")
/ range = (1, 7)
/ position = (15, 20)
/ slidersize = (60%, 20%)
/ increment = 1
/ required = true
</slider>

Great! Thanks a lot!!
By nivong - 7/7/2019

Dave - 7/5/2019
nivong - 7/5/2019
Hello hello, 

I would like to label my slider line with labels like "Mag ich gar nicht." and "Mag ich sehr gerne." and additionally with the numbers 1 to 7. How is this possible?

That is what I have done already: 

<slider liking_joghurt>
/ caption="Wie sehr mögen Sie Naturjoghurt?"
/ labels=("Mag ich gar nicht.", "Mag ich sehr gerne.")
/ range = (1, 7)
/ labelrange= true
/ position = (15, 20)
/ slidersize = (60%, 20%)
/ increment = 1
/ required = true

I hope someone can help out! 
Kind regards, Nina


<slider liking_joghurt>
/ caption="Wie sehr mögen Sie Naturjoghurt?~n"
/ labels=("Mag ich gar nicht.~n1","~n2","~n3","~n4","~n5","~n6", "Mag ich sehr gerne.~n7")
/ range = (1, 7)
/ position = (15, 20)
/ slidersize = (60%, 20%)
/ increment = 1
/ required = true
</slider>

This worked out very well except from the label "6" which is not shown on my sliders. May because the label "Mag ich sehr gerne." is too long? How can I solve this issue? 



I hope you can help me out, thanks a lot! 
By Dave - 7/7/2019

nivong - 7/8/2019
Dave - 7/5/2019
nivong - 7/5/2019
Hello hello, 

I would like to label my slider line with labels like "Mag ich gar nicht." and "Mag ich sehr gerne." and additionally with the numbers 1 to 7. How is this possible?

That is what I have done already: 

<slider liking_joghurt>
/ caption="Wie sehr mögen Sie Naturjoghurt?"
/ labels=("Mag ich gar nicht.", "Mag ich sehr gerne.")
/ range = (1, 7)
/ labelrange= true
/ position = (15, 20)
/ slidersize = (60%, 20%)
/ increment = 1
/ required = true

I hope someone can help out! 
Kind regards, Nina


<slider liking_joghurt>
/ caption="Wie sehr mögen Sie Naturjoghurt?~n"
/ labels=("Mag ich gar nicht.~n1","~n2","~n3","~n4","~n5","~n6", "Mag ich sehr gerne.~n7")
/ range = (1, 7)
/ position = (15, 20)
/ slidersize = (60%, 20%)
/ increment = 1
/ required = true
</slider>

This worked out very well except from the label "6" which is not shown on my sliders. May because the label "Mag ich sehr gerne." is too long? How can I solve this issue? 



I hope you can help me out, thanks a lot! 

You will have to increase the /slidersize such that the labels don't overlap.

Alternatively, you could make the writtien labels narrower by adding an additional line break:

<slider liking_joghurt>
/ caption="Wie sehr mögen Sie Naturjoghurt?~n"
/ labels=("Mag ich~ngar nicht.~n1","~n~n2","~n~n3","~n~n4","~n~n5","~n~n6", "Mag ich~nsehr gerne.~n7")
/ range = (1, 7)
/ position = (15, 20)
/ slidersize = (30%, 20%)
/ increment = 1
/ required = true
</slider>