Welcome visitor
* Login
* Register
It is currently July 19th, 2019, 2:13 pm
All times are UTC [ DST ]
* Search
View unanswered posts - View active topics

FORUMS » Client Side » JavaScript



Post new topic Reply to topic  [ 2 posts ] 
Author Message
  javascript sintax for opacity
PostPosted: July 21st, 2009, 12:22 am 
User avatar

Posts: 61
what would be the javascript (NOT css) to change the opacity of a picture in both IE and Firefox?


Top
 Profile  
 
  Re: javascript sintax for opacity
PostPosted: July 21st, 2009, 12:39 am 
User avatar

Posts: 81
onclick="document.getElementById('picture').style.opacity=0.5;
document.getElementById('picture').filters.alpha.opacity=50"

hope this helps


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

FORUMS » Client Side » JavaScript


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron