- Posts: 13935
- Thank you received: 2551
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Custom Template: New image at end of each group
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
10 years 10 months ago #96306
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic Custom Template: New image at end of each group
Hello,
For hover : 2 manner.
1st : use css only for background without hover and with hover.
2nd: use .hover() jquery function to change img src url
For hover : 2 manner.
1st : use css only for background without hover and with hover.
2nd: use .hover() jquery function to change img src url
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
- dweisser
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 153
- Thank you received: 5
10 years 10 months ago #96307
by dweisser
Replied by dweisser on topic Custom Template: New image at end of each group
I think I have tried - and failed - method one. I don't know enough to know what I'm doing wrong.
And I haven't slightest idea of how to implement method 2.
I'm stuck without an example to work from,
David
And I haven't slightest idea of how to implement method 2.
I'm stuck without an example to work from,
David
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10637
- Thank you received: 3700
10 years 10 months ago #96322
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic Custom Template: New image at end of each group
David,thanks for the gold!
See www.limesurvey.org/en/forum/installation...mages?start=10#96321 for an answer about hover effects.
See www.limesurvey.org/en/forum/installation...mages?start=10#96321 for an answer about hover effects.
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
- dweisser
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 153
- Thank you received: 5
10 years 9 months ago #97084
by dweisser
Replied by dweisser on topic Custom Template: New image at end of each group
I wondered if anyone had any further thoughts on this. It's still plaguing me.
-Nebraska David
-Nebraska David
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10637
- Thank you received: 3700
10 years 9 months ago #97086
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic Custom Template: New image at end of each group
But...I thought we resolved your issues in
your other post
...
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
- dweisser
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 153
- Thank you received: 5
10 years 9 months ago - 10 years 9 months ago #97098
by dweisser
Replied by dweisser on topic Custom Template: New image at end of each group
I thought commenting out the CorrectPNG function had fixed it. In fact, what I thought was a fix, was really that the images were loading faster because they had been to the cache. I think anyway. I don't know.
This is some of the css for the images. I didn;t write it; I don't understand it. Is it possible the url in the preloader script and this are not synced up?
CSS:
#group-2 .groupImage {
background: transparent url(group_2.png) 0 0 no-repeat;
}
This is some of the css for the images. I didn;t write it; I don't understand it. Is it possible the url in the preloader script and this are not synced up?
CSS:
#group-2 .groupImage {
background: transparent url(group_2.png) 0 0 no-repeat;
}
Last edit: 10 years 9 months ago by dweisser. Reason: More info...
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10637
- Thank you received: 3700
10 years 9 months ago #97121
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic Custom Template: New image at end of each group
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 topic has been locked.
- dweisser
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 153
- Thank you received: 5
10 years 9 months ago #97142
by dweisser
Replied by dweisser on topic Custom Template: New image at end of each group
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10637
- Thank you received: 3700
10 years 9 months ago #97146
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic Custom Template: New image at end of each group
group_2.png is being preloaded, however next_custom2_hover.png is not because it's not in your preloader array:
Code:
$(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 topic has been locked.
- dweisser
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 153
- Thank you received: 5
10 years 9 months ago #97150
by dweisser
Replied by dweisser on topic Custom Template: New image at end of each group
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?
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 topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10637
- Thank you received: 3700
10 years 9 months ago #97151
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic Custom Template: New image at end of each group
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 topic has been locked.
- dweisser
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 153
- Thank you received: 5
10 years 9 months ago #97152
by dweisser
Replied by dweisser on topic Custom Template: New image at end of each group
Maybe its a Chrome thing I'm seeing. I'll test with FF and IE. Thank you tpartner!
The topic has been locked.