Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Apr 12th, 2005, 9:39 AM   #1
crmpicco
Newbie
 
Join Date: Feb 2005
Posts: 13
Rep Power: 0 crmpicco is on a distinguished road
'grey out' or 'disable' an image

Is there a way to 'grey out' or 'disable' an image?

For example i have this code:


<tr>
<td>
<font face="verdana" size="2" color="#D3D3D3">Status:</font>
</td>
<td>
<img src="picco.jpeg">
</td>
</tr>



How can i 'grey-out' the image picco.jpeg, or have it appear to be 'disabled' like the text???

Picco
crmpicco is offline   Reply With Quote
Old Apr 12th, 2005, 2:19 PM   #2
scorpiosage
Programmer
 
scorpiosage's Avatar
 
Join Date: Aug 2004
Location: Austin, Tx
Posts: 55
Rep Power: 5 scorpiosage is on a distinguished road
Send a message via AIM to scorpiosage Send a message via Yahoo to scorpiosage
I am not sure what you mean by this question.
if you are just going for a specific look of the image, you can just change the image file.
I think that you are talking about 'watermarking' the image, so that it is lighter in color and appears to be in the background like stationary?
If that's the case, play around with the contrast and light/dark of the image until you get the effect you are looking for.
if you are doing this as for a 'menu' or something like that, if you aren't used to working with CSS or Javascript, you should look into it.
Give me a better idea of what you are looking for and I can help you.
Mike
__________________
Here's my latest project still in the works, and I need to get rid of this &quot;frame&quot; situation for real. www.prideofaustin.com
scorpiosage is offline   Reply With Quote
Old Apr 28th, 2005, 10:22 PM   #3
BaldEagle
Newbie
 
BaldEagle's Avatar
 
Join Date: Apr 2005
Location: Lisbon, CT
Posts: 9
Rep Power: 0 BaldEagle is on a distinguished road
Are you using css. No matter I suppose:

.opaque { filter: alpha(opacity=50); -moz-opacity:0.50; opacity=0.5 }

that should cover most browsers. adjust the numbers to change the amount of opacity.

<img class="opaque" src"whatever.jpg">

BaldEagle

[edit]

I am not sure but there may be a monochrome filter, but it may be proprietary.
__________________
If you can't be kind, at least have the decency to be vague.

You may be only one person in the world, but you may also be the world to one person.

We could learn a lot from crayons. Some are sharp, some are pretty and some are dull. Some have weird names, and all are different colors, but they all manage to live comfortably in the same box.

Last edited by BaldEagle; Apr 28th, 2005 at 10:26 PM.
BaldEagle is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 10:45 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC