Log in

View Full Version : vbCode: Img and Code - scroll boxes, need help testing.


NgtCrwlr
02-27-2001, 09:10 AM
I'm hoping that I can get a few of you guys to check these two pages and let me know if they display properly.

I'm experimenting with CSS DIV tags to make scroll boxes for both (img) and (code) vbcodes. So far on IE5 they work perfect.

vBcode: (img)
http://www.mis-forums.com/vbbs/showthread.php?threadid=2965

vBcode: (mycode)
http://www.mis-forums.com/vbbs/showthread.php?threadid=2964

Also, can someone point me to why I creating a custom vBcode for (code) has no affect. That is why I had to use the name (mycode). I have a feeling that (code) is hard coded somewhere. The custom (img) vBcode tag worked fine

Anyway let me know what you think. I won't be able to respond to this thread until later this evening, I have to get some sleep. :D

Cheers!

Larry "NgtCrwlr" Mingus

02-27-2001, 09:16 AM
Looks ok to me, I'm on IE 5.5 though

02-27-2001, 12:47 PM
Doesn't look ok in Netscape (4.0) (the inline frame doesn't work)

In Netscape 6.0 it works, but the lines are far from eachother..it looks like there are 2 or 3 blank lines between each line

02-27-2001, 02:46 PM
I have a feeling that (code) is hard coded somewhere.

The (code) is hardcoded in the functions.php.

02-27-2001, 02:48 PM
In Netscape 6.0 it works, but the lines are far from eachother..it looks like there are 2 or 3 blank lines between each line

The (br)-tags must be stripped of the source code. I have the same problem with one of my own vbb codes.

02-27-2001, 07:52 PM
Thanks for the input guys, it's moocho appreciated.

Streicher, if I understand correctly, the problem (BR) tags are in the source code being displayed, not the (BR) tags in the source of the page? vB templates use a *lot* of (BR) tags.

If so then I assume I need to modify how vB parses the (PRE) tags for displaying the vbcode (code)? I'm guessing that vB is using nl2br and that needs to be changed?

Mas*Mind, just verifying, you're using Netscape 4.0 and not 4.x?

Cheers!
-Larry