include document with scroll bars

This is a discussion on include document with scroll bars within the alt.comp.lang.php forums, part of the PHP Programming Forums category; i have used the include funtion in php before is there a way to include another file and limit the ...


Go Back   Usenet Forums > PHP Programming Forums > alt.comp.lang.php

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-13-2003
chris
 
Posts: n/a
Default include document with scroll bars

i have used the include funtion in php before

is there a way to include another file and limit the area it uses and have a
scroll bar to scroll through it - sort of like using frames but without
using frames

i hope that make scence

thanks in advance

chris


Reply With Quote
  #2 (permalink)  
Old 07-13-2003
Andy Hassall
 
Posts: n/a
Default Re: include document with scroll bars

On Mon, 14 Jul 2003 04:52:01 +0800, "chris" <asda@godknows.com> wrote:

>
>i have used the include funtion in php before
>
>is there a way to include another file and limit the area it uses and have a
>scroll bar to scroll through it - sort of like using frames but without
>using frames


<iframe> or <textarea>.

--
Andy Hassall (andy@andyh.co.uk) icq(5747695) (http://www.andyh.co.uk)
Space: disk usage analysis tool (http://www.andyhsoftware.co.uk/space)
Reply With Quote
  #3 (permalink)  
Old 07-14-2003
dP
 
Posts: n/a
Default Re: include document with scroll bars

On Mon, 14 Jul 2003 04:52:01 +0800, chris <asda@godknows.com> wrote:

> i have used the include funtion in php before
>
> is there a way to include another file and limit the area it uses and
> have a
> scroll bar to scroll through it - sort of like using frames but without
> using frames
>
> i hope that make scence
>
> thanks in advance
>
> chris
>
>
>


Another option would be to get some CSS going and place it in a CSS <div>,
example:

<div style="height:500px;width:400px;">
<?php include 'yourfilenamehere.txt'; ?>
</div>


Reply With Quote
  #4 (permalink)  
Old 07-14-2003
Voituk Vadim
 
Posts: n/a
Default Re: include document with scroll bars

Use CSS styles to set up ranges of layer or <IFRAME>

"chris" <asda@godknows.com> wrote in message
news:3f11c686$1@funnel.arach.net.au...
> i have used the include funtion in php before
>
> is there a way to include another file and limit the area it uses and have

a
> scroll bar to scroll through it - sort of like using frames but without
> using frames
>
> i hope that make scence
>
> thanks in advance
>
> chris
>
>



Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 06:24 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0