gdstark
Posts: 12
|
| Posted: 04/06/2007, 7:45 AM |
|
I would like to "flag" certain graphics on my page visually, using a layered approach such that a special graphic is superimposed atop the main graphic OR covers one corner of the main graphic. This is similar to the watermark concept, except that I'm not trying to protect anything. To clarify, here's my website:
http://www.ExpertVoter.org
If you scroll down, you will see that some of the thumbnails have a yellow band that indicates "candidate approved" movies. So far I'm doing this via Photoshop, but I need a way to do it programatically. In searching google I find references to the DIV tag and using javascript, but I'm not sure it applies to my situation. Furthermore I need an approach that I can implement within the CodeCharge framework.
Any help is much appreciated.
gary
|
 |
 |
ducati996guy
Posts: 46
|
| Posted: 04/21/2007, 3:31 PM |
|
Hi,
I would use a different approach by having two images for each and changing it via before-show code on the image.
eg. Rudy_good.jpg Rudy_bad.jpg. Then in your code change the value of the image.
if GoodCandidate = true then
gridname.imagename.value = "Rudy_good.jpg"
else
gridname.imagename.value = "Rudy_bad.jpg"
end if
regards
david
_________________
"Only two things are infinite, the universe and human stupidity, and I'm not sure about the former."
- Albert Einstein (1879-1955)
www.CustomerCommunity.com.au
|
 |
 |
JimmyCrackedCorn
Posts: 583
|
| Posted: 04/22/2007, 10:49 AM |
|
what do you mean when you say you're doing this in Photoshop? Looks to me like you are already achieving what you want by setting your div background to the image and then adding the transparent (except for the yellow corner) graphic for those that are approved. looks like a pretty solid solution to me! can you clarify what the problem is?
_________________
Walter Kempees...you are dearly missed. |
 |
 |
gdstark
Posts: 12
|
| Posted: 04/23/2007, 7:32 AM |
|
Quote JimmyCrackedCorn:
what do you mean when you say you're doing this in Photoshop? Looks to me like you are already achieving what you want by setting your div background to the image and then adding the transparent (except for the yellow corner) graphic for those that are approved. looks like a pretty solid solution to me! can you clarify what the problem is?
Sorry, I should have updated this issue. Yes, you're right...I did discover the method you mentioned of using the div background. Creating distinct thumbnails for either state was how I did it before I found this approach (via Photoshop). Much thanks for your reply.
gary
|
 |
 |
|