is there a way to get a banner transparent? |
![]() ![]() |
is there a way to get a banner transparent? |
![]()
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??
|
|
|
![]()
Post
#2
|
|
![]() kill is love... ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 395 Joined: Dec 2003 Member No: 84 ![]() |
yea..use opacity filter in the <img> tag
|
|
|
![]()
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 ^_^
|
|
|
![]()
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. |
|
|
![]()
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 ![]() |
|
|
![]()
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). |
|
|
![]()
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! ![]() |
|
|
![]() ![]() |