Closed (fixed)
Project:
jQuery Eye Candy
Version:
6.x-1.x-dev
Component:
jQuery plugin
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 Jul 2008 at 15:26 UTC
Updated:
27 Aug 2008 at 13:58 UTC
It seems that it wont work. I have enabled jquery_plugin +jquery eye candy + reflection plugin and it didnt worked at all at eny content type
Comments
Comment #1
ztyx commentedHi Bazin,
You need to add JavaScript code in
htto://www.mysite.com/admin/settings/jq_eyecandy. Have you done this? What code? If not, see for example an example code here. Also notice that your decriptor (ie. 'img.reflect1' in the example code) must match the image id/class of the image you want to give reflection.Regards,
Jens
Comment #2
Bazin commentedHi ztyx,
I am a begginer user and i use the Salamander theme for D6.3. I have put the JavaScript code in that place but didnt repleace the 'img.reflect1' becouse i dont know what shall i put there. I want to have reflection just like it is in the Salamander demo site: http://www.radut.net/. At the bottom of the site there is a reflection (the one of the main content square with round corners part of the site). What then shall i put to enable reflection.
Regards,
Bazin
Comment #3
WorldFallz commentedDid you ever get this figured out? Honestly though, that type of static reflection that is part of the theme is better off done with a graphic rather than javascript. This module is really aimed at adding effects dynamically to content elements rather than to replace graphic design. Post back if you need more info.
Comment #4
Bazin commentedOk then. Lets say I want to apply it to the footer content or the user avatars in e.g stories. What JavaScript code in that place shall I add to get the reflection on that two content elements?
Comment #5
WorldFallz commentedIt all depends on the classes/ids available to you. The code from the demo pages should be easily adaptable. I would guess something like this:
This assumes "footer" is a class on an image in your footer and "avatar" a class on your avatar image. AFAIK, the jquery plugin itself only works on images, just trying to reflect a div with a background image or text, won't work.