Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: True visual analogue scales in Limesurvey?

Re: True visual analogue scales in Limesurvey? 3 years 6 months ago #58174

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 4185
  • Thank you received: 785
  • Karma: 359
Okay, now that I've woken up and re-read the thread, I think I understand - you're only concerned about clicking the slider bar, not dragging the handle.

Add the following to the end of template.css to convert the slider handle to a vertical bar and hide the slider callout (these styles are for the default template). Replace "QQ" with your question ID.
#questionQQ .ui-slider .ui-slider-handle {
	height:25px;
	width: 2px;
	margin-left: 0;
	top: -8px;
	background: #79B7E7 none;
	border: 0 none;
}
 
#questionQQ .slider_callout {
	display: none;
}

If you want to initially hide the slider handle, set up your survey to use JavaScript and add the following script to the source of the slider question. Again, replace "QQ" with the question ID.
<script type="text/javascript" charset="utf-8">
 
	$(document).ready(function() {
 
		var qID = QQ;
 
		$('#question'+qID+' .ui-slider .ui-slider-handle').hide();
		$('#question'+qID+' .ui-slider').live('mouseup', function() {
		  $('#question'+qID+' .ui-slider .ui-slider-handle').show();
		});
 
	});
 
</script>

Untitled-2_2011-03-12.png
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
Last Edit: 3 years 6 months ago by tpartner.
The administrator has disabled public write access.
The following user(s) said Thank You: joshendrikx, Tiepies, jesper_yde

Re: True visual analogue scales in Limesurvey? 3 years 6 months ago #58175

  • DenisChenu
  • DenisChenu's Avatar
  • OFFLINE
  • Moderator Lime
  • Posts: 6318
  • Thank you received: 811
  • Karma: 242
Maybe there are some other possibility:



It's just an idea :)

PS : again another possibility of jquery plugin with a option select : www.visualjquery.com/rating/rating_redux.html
Last Edit: 3 years 6 months ago by DenisChenu.
The administrator has disabled public write access.
The following user(s) said Thank You: joshendrikx

Re: True visual analogue scales in Limesurvey? 3 years 5 months ago #58477

Thanks Tony, for your help. I really appriciate it! This looks like what I would need. I'll have to find some time to try it out, unfortuneatly my work is killing me at the moment...
The administrator has disabled public write access.

Re: True visual analogue scales in Limesurvey? 3 years 5 months ago #58478

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5325
  • Thank you received: 296
  • Karma: 249
Maybe you can post a link to a demo survey once you are done!?

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
The administrator has disabled public write access.

Re: True visual analogue scales in Limesurvey? 3 years 2 months ago #62932

Hi Shnoulle,

It's been a long time, sorry for that. I've been very busy with work. Just wanted to thank for your suggestion. I'm not skilled at jquery, so I used the other solution of changing the css file (for me this was difficult enough ;)
Thanks anyway for your help!
The administrator has disabled public write access.

Re: True visual analogue scales in Limesurvey? 3 years 2 months ago #62933

Hi Tony,

I finally had the time to take a look at your suggestions and with some trial and error (I'm totally new to any type of coding) it all work just as I wanted it to. So I really want to thank you again for your help!

Kind regards,

Jos
The administrator has disabled public write access.

Re: True visual analogue scales in Limesurvey? 3 years 3 days ago #65617

  • mfino242
  • mfino242's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 5
  • Karma: 0
Hi all,

I was trying to put textual anchors into my slider. I tried the suggestion presented earlier however it didn't work. It ended up looking like this

Low|High <
>

instead of

Low <
> High

Any help would be greatly appreciated.
The administrator has disabled public write access.

Re: True visual analogue scales in Limesurvey? 3 years 3 days ago #65619

  • holch
  • holch's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 2666
  • Thank you received: 318
  • Karma: 119
What do you have in the space for "Slider left/right text separator"?
Have a look at the manual! It is a really valuable source for information. Here some helpful links:
Manual (EN) | Question Types | Question Attributes | Workarounds

If you found this answer helpful and it saved you some time please consider a donation to the project to keep Limesurvey going!
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Moderators: ITEd
Time to create page: 0.156 seconds
Donation Image