vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   scrolling code/php/html boxes (https://vborg.vbsupport.ru/showthread.php?t=59681)

SiXXGuNNZ 01-04-2004 07:59 PM

scrolling code/php/html boxes
 
is this a hack?

https://vborg.vbsupport.ru/showpost....6&postcount=28

Xenon 01-04-2004 11:41 PM

nope, it's a template edit :)

Code:

<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

Quote:

Originally Posted by Xenon
nope, it's a template edit :)

Code:

<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 ;)


All times are GMT. The time now is 05:06 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01030 seconds
  • Memory Usage 1,729KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete