Welcome, Guest
Username: Password:

TOPIC: Custom Template: New image at end of each group

Custom Template: New image at end of each group 2 years 10 months ago #97121

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 5761
  • Thank you received: 1251
  • Karma: 512
Can you activate a test survey?
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The administrator has disabled public write access.

Custom Template: New image at end of each group 2 years 10 months ago #97142

  • dweisser
  • dweisser's Avatar
  • Offline
  • Gold Lime
  • Posts: 222
  • Thank you received: 5
  • Karma: 5
The administrator has disabled public write access.

Custom Template: New image at end of each group 2 years 10 months ago #97146

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 5761
  • Thank you received: 1251
  • Karma: 512
group_2.png is being preloaded, however next_custom2_hover.png is not because it's not in your preloader array:
$(document).ready(function(){
	preload([
		"http://www.springboltconsulting.com/survey/upload/templates/EagleGroupDemo/group_0.png",
		'http://www.springboltconsulting.com/survey/upload/templates/EagleGroupDemo/group_1.png',
		'http://www.springboltconsulting.com/survey/upload/templates/EagleGroupDemo/group_2.png',
		"http://www.springboltconsulting.com/survey/upload/templates/EagleGroupDemo/group_3.png",
		"http://www.springboltconsulting.com/survey/upload/templates/EagleGroupDemo/group_4.png",
		"http://www.springboltconsulting.com/survey/upload/templates/EagleGroupDemo/group_5.png",
		'http://www.springboltconsulting.com/survey/upload/templates/EagleGroupDemo/salutation_1.png',
		'http://www.springboltconsulting.com/survey/upload/templates/EagleGroupDemo/endpage_1.png',
		'http://www.springboltconsulting.com/survey/upload/templates/EagleGroupDemo/next_custom1_normal.png',
		'http://www.springboltconsulting.com/survey/upload/templates/EagleGroupDemo/next_custom1_hover.png',
		'http://www.springboltconsulting.com/survey/upload/templates/EagleGroupDemo/endpage_1.png'
	]);
}); 
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The administrator has disabled public write access.

Custom Template: New image at end of each group 2 years 10 months ago #97150

  • dweisser
  • dweisser's Avatar
  • Offline
  • Gold Lime
  • Posts: 222
  • Thank you received: 5
  • Karma: 5
Yes I saw that. However, the problem is with the images: group_0.png, group_1.png thru group_5.png and the endpage.
If you clear your cache, are you seeing the images load on screen? Or are they in fact preloading. They look to me as if they are being visibly drawn on screen.
Do you have to include every image on the page in the array for the preloader to work?
The administrator has disabled public write access.

Custom Template: New image at end of each group 2 years 10 months ago #97151

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 5761
  • Thank you received: 1251
  • Karma: 512
They appear to be preloading fine for me.
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The administrator has disabled public write access.

Custom Template: New image at end of each group 2 years 10 months ago #97152

  • dweisser
  • dweisser's Avatar
  • Offline
  • Gold Lime
  • Posts: 222
  • Thank you received: 5
  • Karma: 5
Maybe its a Chrome thing I'm seeing. I'll test with FF and IE. Thank you tpartner!
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.160 seconds