View Full Version : scrolling code/php/html boxes
SiXXGuNNZ
01-04-2004, 07:59 PM
is this a hack?
https://vborg.vbsupport.ru/showpost.php?p=456236&postcount=28
Xenon
01-04-2004, 11:41 PM
nope, it's a template edit :)
<br />
<span class="smallfont">
<b>PHP:</b>
</span><br />
<div style="border: solid 1px black; padding: 8px; background-color:white; color:black; width:600px; height:{$height}px; overflow:auto;">
<code style="white-space: nowrap" dir="ltr"><!-- php buffer start -->$code<!-- php buffer end --></code>
</div>
<br />
you have to replace {$height} with a fixed value, the one i used is a hack, and i'll release it in the next few days :)
SiXXGuNNZ
01-05-2004, 12:44 AM
nope, it's a template edit :)
<br />
<span class="smallfont">
<b>PHP:</b>
</span><br />
<div style="border: solid 1px black; padding: 8px; background-color:white; color:black; width:600px; height:{$height}px; overflow:auto;">
<code style="white-space: nowrap" dir="ltr"><!-- php buffer start -->$code<!-- php buffer end --></code>
</div>
<br />
you have to replace {$height} with a fixed value, the one i used is a hack, and i'll release it in the next few days :)thanks Xenon :)
Xenon
01-05-2004, 03:51 PM
you're welcome :)
Koutaru
01-05-2004, 07:28 PM
Was going to code this myself so thanks Xenon for saving me the time. Do I HAVE to code a height?
Xenon
01-05-2004, 08:23 PM
normally you don't have to code a height, but i wanted to preserv overlong code's as well.
i remember full files beeing posted here which meant scrolling several screens ;)
Gary King
01-06-2004, 12:49 AM
The problem, though is that the code in the [php] tags are hard to select and copy (in Opera anyways :p)
Xenon
01-07-2004, 05:09 PM
if opera cannot use dif-tags correctly, maybe the devs of opera should think of a bugfix ^^
Gary King
01-08-2004, 11:15 AM
No, like it doesn't scroll down when the text is too big for the textbox and when selecting text :)
Xenon
01-08-2004, 01:43 PM
well, but it should ;)
@Xenon
did you release it as well?
if yes - what is the name i have to look for?
Xenon
01-09-2004, 01:41 PM
i just posted it up here in this thread :)
i just posted it up here in this thread :)
i was looking for the template.
now it's clear -> bbcode_php
big thx for the hack
Xenon
01-09-2004, 08:22 PM
koa problem :)
tuanpig
02-05-2004, 08:00 AM
i need bbcode_code and bbcode_html
Xenon
02-05-2004, 05:02 PM
they are quite the same :)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.