In block 1, I would like to have picture #1 in the footer. In block 2, I would like to have picture #2. How can I accomplish this?
Hi hkleeman,
You can set CSS elements via jQuery, so you can just set a footer image for each block with something like this (untested):
jQuery("#Footer").css("background-image", "yourimagename.jpg");
//you might need this if the image tiles
jQuery("#Footer").css("background-size", "100% 100%");
You may need to tweak some other CSS properties depending on your image and footer dimensions.
Best of luck!
Hi bgooldfed,
Thanks for the help. Where can I use jQuery on a block? I can only see how to add jQuery on each individual question.
Hi hkleeman,
Apologies, code can only added to individual questions. If you add it to the first question of each block though, it should work just fine (assuming one block displays at a time, and isn't divided over multiple pages). Does that solve your problem?
Leave a Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.