Willkommen, Gast
Benutzername: Passwort: Angemeldet bleiben:

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

Custom Template: New image at end of each group 1 Jahr 3 Monate her #96259

  • tpartner
  • tpartners Avatar
  • OFFLINE
  • LimeSurvey Team
  • Beiträge: 4192
  • Dank erhalten: 788
  • Karma: 359
Does the path contain "http://"? I don't see it in your code.
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.
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Custom Template: New image at end of each group 1 Jahr 3 Monate her #96260

  • dweisser
  • dweissers Avatar
  • OFFLINE
  • Bronze Donor
  • Beiträge: 204
  • Dank erhalten: 5
  • Karma: 5
Yes, the http;// are all there; I'm not sure why I pasted the code without them.
"www.springboltconsulting.com/survey/uplo...roupDemo/group_0.png",

I am asking, because I am working on another issue related to script and images, and am wondering if there is something I am making a fundamental mistake on.

Thank you,
David
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Custom Template: New image at end of each group 1 Jahr 3 Monate her #96294

  • dweisser
  • dweissers Avatar
  • OFFLINE
  • Bronze Donor
  • Beiträge: 204
  • Dank erhalten: 5
  • Karma: 5
I have been working with Denis to insert images as button in the survey. We could not make it work. Until Denis realized I had an error in the CorrectPNG function. I fixed the error to no avail. I had to comment out the entire function to make it work - and that solved the image preloading issue I was having as well.

See: : www.limesurvey.org/en/forum/installation...buttons-images/96265 for the long story.

Thank you,
David
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Custom Template: New image at end of each group 1 Jahr 3 Monate her #96305

  • dweisser
  • dweissers Avatar
  • OFFLINE
  • Bronze Donor
  • Beiträge: 204
  • Dank erhalten: 5
  • Karma: 5
One more thing,
Is it possible that you know how to accomplish the hover effect with the images as buttons (detailed at the end of the post above). The css, if in fact it is still css, is simply beyond me. This is last detail in my quest to accomplish buttons as images on surveys. Any thoughts you have are greatly appreciated.
P.S. I became a Gold Donor this morning. ;)
Nebraska
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Custom Template: New image at end of each group 1 Jahr 3 Monate her #96306

  • DenisChenu
  • DenisChenus Avatar
  • OFFLINE
  • Moderator Lime
  • Beiträge: 6334
  • Dank erhalten: 818
  • Karma: 243
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
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Custom Template: New image at end of each group 1 Jahr 3 Monate her #96307

  • dweisser
  • dweissers Avatar
  • OFFLINE
  • Bronze Donor
  • Beiträge: 204
  • Dank erhalten: 5
  • Karma: 5
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
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Custom Template: New image at end of each group 1 Jahr 3 Monate her #96322

  • tpartner
  • tpartners Avatar
  • OFFLINE
  • LimeSurvey Team
  • Beiträge: 4192
  • Dank erhalten: 788
  • Karma: 359
David,thanks for the gold!

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.

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Custom Template: New image at end of each group 1 Jahr 3 Monate her #97084

  • dweisser
  • dweissers Avatar
  • OFFLINE
  • Bronze Donor
  • Beiträge: 204
  • Dank erhalten: 5
  • Karma: 5
I wondered if anyone had any further thoughts on this. It's still plaguing me.
-Nebraska David
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Custom Template: New image at end of each group 1 Jahr 3 Monate her #97086

  • tpartner
  • tpartners Avatar
  • OFFLINE
  • LimeSurvey Team
  • Beiträge: 4192
  • Dank erhalten: 788
  • Karma: 359
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.

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Custom Template: New image at end of each group 1 Jahr 3 Monate her #97098

  • dweisser
  • dweissers Avatar
  • OFFLINE
  • Bronze Donor
  • Beiträge: 204
  • Dank erhalten: 5
  • Karma: 5
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;
}
Letzte Änderung: 1 Jahr 3 Monate her von dweisser. Begründung: More info...
Der Administrator hat öffentliche Schreibrechte deaktiviert.
Moderatoren: ITEd
Ladezeit der Seite: 0.145 Sekunden
Donation Image