Simple Machines Community Forum

Customizing SMF => SMF Coding Discussion => Topic started by: Killer Possum on April 13, 2004, 01:21:35 PM

Title: [BUG]BBC Move Bug
Post by: Killer Possum on April 13, 2004, 01:21:35 PM
If there is a space before the move tag it activates the scroll bars :(

http://www.simplemachines.org/community/index.php?topic=9385.0

(this happens on the released versions too, not just this site)
Title: Re: [BUG]BBC Move Bug
Post by: Chris Cromer on April 13, 2004, 01:24:34 PM
I am not getting any scroll bars... must be your browser. :P
Title: Re: [BUG]BBC Move Bug
Post by: Oldiesmann on April 13, 2004, 01:25:16 PM
That's not really a bug...

Basically, the <marquee> tag (the HTML tag used for the move feature) can have several attributes, or none at all. Because the "width" attribute isn't defined, the width of the "scrolling area" (invisible - background color is another attribute, but I won't go into that right now) is the width of the entire post box area, so if you're adding a space before it, you're adding an additional space to the width of the post, which makes it do that. The <marquee> tag is quite complex really, but you could always edit subs.php and add a couple of attributes so you could specify the width.
Title: Re: [BUG]BBC Move Bug
Post by: Killer Possum on April 13, 2004, 01:35:33 PM
Ah, I C :)

Thanks for the help.

Quote from: Chris Cromer on April 13, 2004, 01:24:34 PM
I am not getting any scroll bars... must be your browser. :P

Well it is IE :P
Title: Re: [BUG]BBC Move Bug
Post by: [Unknown] on April 13, 2004, 02:16:47 PM
Then it's for sure your browser.  And, anyway, it doesn't matter because as I've said in the past, if you try to get me to do anything to the move tag I'll "accidently" remove it.

-[Unknown]
Title: Re: [BUG]BBC Move Bug
Post by: Chris Cromer on April 13, 2004, 02:20:57 PM
QuoteAnd, anyway, it doesn't matter because as I've said in the past, if you try to get me to do anything to the move tag I'll "accidently" remove it.
In that case... why don't you fix it? ;)
Title: Re: [BUG]BBC Move Bug
Post by: Peter Duggan on April 13, 2004, 02:59:41 PM
Since it's not W3C approved (so as bad as <blink> in that respect), IMHO it really shouldn't be there!
Title: Re: [BUG]BBC Move Bug
Post by: Oldiesmann on April 13, 2004, 03:28:20 PM
Why isn't <marquee> W3C approved? I know it tends to annoy some folks, but it's a lot of fun to play with and has been around for years. I knew <blink> wasn't, but that can be improvised by setting the scrollamount of a marquee to some ridiculously high value... ;)
Title: Re: [BUG]BBC Move Bug
Post by: Killer Possum on April 13, 2004, 03:45:10 PM
I wouldn't miss it either ;)

One of my users on my clan site likes to add the space to it and it's annoying :P Stupid IE!!!
Title: Re: [BUG]BBC Move Bug
Post by: Owdy on April 13, 2004, 04:59:00 PM
I hate that feature, its annoying. :P Where you need that, really? ;D