Help - Search - Members - Calendar
Full Version: Simple Html Help
Sal's RuneScape Forum > Everything... Not RuneScape > Tech Talk > Programming & Web Development
Thomas
Trying to fix the [glow] and [strike] tags on a forum I administrate. They don't work but I'm a noob at this stuff. Anyway here's the current codes:

[glow=red]this text is glowing[/glow]

<div style="width:100%; filter:glow(color=red, strength=4)">this text is glowing</div>

For strike I'd love the option to choose the colour it strikes out in (or to make it strike in just red would be fine):

[strike={option}]{param}[/strike]
<strike style="color: {option};">{param}</strike> This makes the word AND the strike go say red. slanty.gif


Also I'm looking for other fun bbcodes I could add; if you know of any that'd be lovely ohmy.gif

Cheers





Edit: ok it appears they work fine in IE. How do I make them work in FF?
gabtdw
Firefox doesn't have the filter property, that's an IE thing. The only filter Fx/Safari/Chrome/Opera has is the 'opacity:' property. Sorry, but now you know IE sucks smile.gif

EDIT: there's something called 'filter:progid:DXImageTransform.Microsoft.Glow(Color=red,Strength=4);' but I would think that only works for Windows with DirectX installed.
RE-EDIT: that only works for IE as well sad.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.