HOME ➔ SUPPORT ➔ Community ➔ General CourseLab issues ... Enhancement
Enhancement
  View type:
I would like to see opacity added to CourseLab images. Maybe in the Display Action have Show, Hide, Opacity and then the percentage. I put the sound with my first image and the run actions from that images afterdisplay. Problem is that some images do not show up so well because of the first image. If I hide the image the sound quits. If I load the sound through actions, CourseLab does not move them and I have to manually do it (and remember to). A work around I am using is a blank text box. If we had opacity on the image I could fade it and everything on top of it would show up fine.
Anyway just a thought. Great software.
 
Hi Lawrence
Have you added this to the suggestions request form?
Opacity can be a bit tricky in the main target browser (MS Explorer) depending on the version the user is viewing with.
The basis is there, there is now support for setting an objects z layer which is great for fast object swapping and controlled overlays.
Typically you'd use some js for this
function setOpacity(value) {
testObj.style.opacity = value/10;
testObj.style.filter = 'alpha(opacity=' + value*10 + ')';
}
Does the trick and could probably be applied HOWEVER (LOL isn't there always a catch) Explorer uses '.value', Mozilla uses 'opacity' and safari 'filter'. So you need to grow the code to check for browser type and the version too!
Explorer 6 often does off things to the elements left borders and 7 can give you more than one layer of the same element object [:confused:].
To get transparency now you could hack the modules CSS. A nice example of the CSS statement can be seen here.
http://www.domedia.org/oveklykken/css-transparency.php
You may only be able to have this work in one target browser version though.
Regards
Nick
Subject:
Message options
No additional options