Log In · Register

 
is there a way to get a banner transparent?
xmijungx
post Jan 28 2004, 07:24 PM
Post #1


* mee jung *
**

Group: Member
Posts: 23
Joined: Jan 2004
Member No: 1,609



is der a way to get my banners to be transparent??
 
 
Start new topic
Replies (1 - 6)
Senorita_Babo
post Jan 28 2004, 07:26 PM
Post #2


kill is love...
*****

Group: Member
Posts: 395
Joined: Dec 2003
Member No: 84



yea..use opacity filter in the <img> tag
 
xmijungx
post Jan 28 2004, 07:33 PM
Post #3


* mee jung *
**

Group: Member
Posts: 23
Joined: Jan 2004
Member No: 1,609



how exactly do u do that.. show me a code. plzz ^_^
 
anne
post Jan 28 2004, 10:07 PM
Post #4


-_- THE ANGEL -_-
***

Group: Member
Posts: 84
Joined: Jan 2004
Member No: 291



QUOTE
style="filter:alpha(opacity=20);-moz-opacity:0.2" onMouseover="makevisible(this,0)" onMouseout="makevisible(this,1)"


place that inside your image tag...specify the opacity number...

or use this

QUOTE
<script language="JavaScript1.2">

//Highlight image script- By Dynamic Drive
//For full source code and more DHTML scripts, visit http://www.dynamicdrive.com
//This credit MUST stay intact for use

function makevisible(cur,which){
strength=(which==0)? 1 : 0.2

if (cur.style.MozOpacity)
cur.style.MozOpacity=strength
else if (cur.filters)
cur.filters.alpha.opacity=strength*100
}

</script>


hope this helps.
 
Riddik75
post Feb 2 2004, 04:45 PM
Post #5


Senior Member
***

Group: Member
Posts: 31
Joined: Feb 2004
Member No: 2,493



QUOTE
style="filter:alpha(opacity=20);-moz-opacity:0.2" onMouseover="makevisible(this,0)" onMouseout="makevisible(this,1)"


I put this is my image tag, and it worked, but the page now loads with an error... it's not that big of a deal, but i traced it to this. is there a way of fixing that?

<---perfectionist rolleyes.gif
 
xquizit
post Feb 2 2004, 06:27 PM
Post #6


wanderlust personified.
*******

Group: Official Designer
Posts: 7,515
Joined: Jan 2004
Member No: 797



CODE
<!-- begin code provided by createblog.com -->
<img src="imageurl" style="filter:alpha(opacity=50);">
<!-- end code provided by createblog.com -->


That's all you need. Just change the opacity setting to any number you wish between 1-100 (the lower the number, the more transparent the image becomes).
 
Riddik75
post Feb 2 2004, 06:35 PM
Post #7


Senior Member
***

Group: Member
Posts: 31
Joined: Feb 2004
Member No: 2,493



QUOTE(xquizit @ 02-2-2004, 06:27 PM)
That's all you need. Just change the opacity setting to any number you wish between 1-100 (the lower the number, the more transparent the image becomes).

It's perfect again! Thanks a million! biggrin.gif
 

Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: