Log in

View Full Version : Glow/Shadow.


platnum
07-07-2004, 01:29 AM
I'm not sure if I missed this or not, it could already be made... But I was only able to find something close to it for 2.x.x (I need it for 3.0.3)

I was just wondering if someone could make a glow/shadow hack... Allowing you to add a glow or shadow when posting a message. Maybe a glow dropdown menu below the [Color] drop down :D(Same with shadow)

Thanks :D

platnum
07-10-2004, 02:33 PM
I'm not sure if I missed this or not, it could already be made... But I was only able to find something close to it for 2.x.x (I need it for 3.0.3)

I was just wondering if someone could make a glow/shadow hack... Allowing you to add a glow or shadow when posting a message. Maybe a glow dropdown menu below the [Color] drop down :D(Same with shadow)

Thanks :D
Anyone? :-s

SmasherMaster
07-10-2004, 03:02 PM
Someone could modify the Font Color hack to allow glow and otehr effects in posts. Actually, i'll look into that...

bonnmac
07-10-2004, 04:16 PM
Anyone? :-s
this is what i did for glow works great in 3.02 added a new bbcode
tag=glow replacment=<div style="width:100%; filter:glow(color={option}, strength=4)">{param}</div>[/glow] example=this text is glowing use option =yes

bonnmac
07-10-2004, 04:18 PM
for shadow try this
vB Code tag:

shadow

vB Code replacement:

Code:

<table style="filter:shadow(color={option}, direction=225)">{param}</table>

vB Code example:

this text drops shadow

Use {option} ?:

Yes

platnum
07-10-2004, 04:58 PM
Whoa!

Amazing! It works like a charm :D:D:D
Thanks soooooooo very much bonnmac !!!..& SmasherMaster !

SmasherMaster
07-10-2004, 05:30 PM
No way to have the font color hack to display glow and font as well...too complicated for my blood...Oh well.

I didn't know you needed the shadow vb code ;) lol!

chevy01xtreme
07-12-2004, 06:45 PM
thanks guys..works great also

Andreas
07-12-2004, 07:30 PM
> <div style="width:100%; filter:glow(color={option}, strength=4)">{param}</div>
Invalid. DIV does not have an attribute "filter".

This won't work as there is no glow/shadow in (X)HTML.

chevy01xtreme
07-12-2004, 08:01 PM
> <div style="width:100%; filter:glow(color={option}, strength=4)">{param}</div>
Invalid. DIV does not have an attribute "filter".

This won't work as there is no glow/shadow in (X)HTML.
<div style="width:100%; filter:glow(color={option}, strength=4)">{param}</div>


i used teh code he posted ubove which is the one i just reposted and it works for me

Andreas
07-12-2004, 08:09 PM
Hmm ... you're right. It's not invalid but it doesn't work.


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html dir="ltr" lang="en">
<head>
<title>Test for Glow</title>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
</head>
<body>
<div style="width:100%; filter:glow(color=green, strength=4)">This text should glow</div>
</body>
</html>


Edit: The markup itself is valid, but the CSS doesn't seem to be, see http://jigsaw.w3.org/css-validator/

chevy01xtreme
07-12-2004, 08:29 PM
Hmm ... you're right. It's not invalid but it doesn't work.


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html dir="ltr" lang="en">
<head>
<title>Test for Glow</title>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
</head>
<body>
<div style="width:100%; filter:glow(color=green, strength=4)">This text should glow</div>
</body>
</html>


Edit: The markup itself is valid, but the CSS doesn't seem to be, see http://jigsaw.w3.org/css-validator/
o to let u know i added this to the custom vb codes,so it does work....it lets u use test

that where he meant to install it

Andreas
07-12-2004, 08:32 PM
Can you give me a link to your site so I can test it?

ap0c
07-12-2004, 08:53 PM
Can you give me a link to your site so I can test it?works for me also

http://www.apocalypselives.com/forum/misc.php?do=bbcode

<div style="width:100%; filter:glow(color={option}, strength=4)">{param}</div>

Andreas
07-12-2004, 08:59 PM
Sorry, but this doesn't work either.

chevy01xtreme
07-12-2004, 09:11 PM
Can you give me a link to your site so I can test it?
www.s-10owners.com

sabret00the
07-12-2004, 10:24 PM
the only way to do a div that works cross browser it to use layers. :(

ap0c
07-12-2004, 10:30 PM
ah, the annoying netscape/mazolla bug. use ie:devious:

Andreas
07-12-2004, 10:34 PM
It's not a bug. Filters are no standard - it's proprietary Microsoft crap.

Oldfart
07-25-2004, 07:00 AM
It's not a bug. Filters are no standard - it's proprietary Microsoft crap.

Whatever, IE users byfar outnumber Netscape and Mozilla combined. Don't use IE then don't use the hacks, simple as that.

sabret00the
07-28-2004, 10:01 AM
it would be good if someone could develop a cross browser solution though