PC Review


Reply
Thread Tools Rate Thread

How do I insert a scrollable textbox?

 
 
=?Utf-8?B?YW5kcmV3MjA=?=
Guest
Posts: n/a
 
      30th Nov 2005
I am trying to insert a lot of text to one of the pages on my website, and
what i want to do is put it all in a scrollable textbox, with up and down
buttons so that the actual page-length remains the same. It all seemed quite
simple in my mind, but it proved quite a challenge since the form textbox
isn't doing what i want it to do. Any suggestions?

p.s. I am using frontpage 2003
 
Reply With Quote
 
 
 
 
Kevin Spencer
Guest
Posts: n/a
 
      30th Nov 2005
What kind of textbox are you using 9there are 2 kinds), and what is it doing
that you don't want it to do?

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
If you push something hard enough,
it will fall over.
- Fudd's First Law of Opposition

"andrew20" <(E-Mail Removed)> wrote in message
news:C9ADFBB8-08B2-40C0-A5ED-(E-Mail Removed)...
>I am trying to insert a lot of text to one of the pages on my website, and
> what i want to do is put it all in a scrollable textbox, with up and down
> buttons so that the actual page-length remains the same. It all seemed
> quite
> simple in my mind, but it proved quite a challenge since the form textbox
> isn't doing what i want it to do. Any suggestions?
>
> p.s. I am using frontpage 2003



 
Reply With Quote
 
Thomas A. Rowe
Guest
Posts: n/a
 
      30th Nov 2005
Use an IFrame, however this is not a good idea if your site is index by search engines.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================

"andrew20" <(E-Mail Removed)> wrote in message
news:C9ADFBB8-08B2-40C0-A5ED-(E-Mail Removed)...
>I am trying to insert a lot of text to one of the pages on my website, and
> what i want to do is put it all in a scrollable textbox, with up and down
> buttons so that the actual page-length remains the same. It all seemed quite
> simple in my mind, but it proved quite a challenge since the form textbox
> isn't doing what i want it to do. Any suggestions?
>
> p.s. I am using frontpage 2003



 
Reply With Quote
 
=?Utf-8?B?YW5kcmV3MjA=?=
Guest
Posts: n/a
 
      30th Nov 2005
The thing is that i can't manage to turn it into a textbox with a scroll bar
on the side. I don't want a simple table with text in it, but one that
contains the text within a set width and hight, and u can scroll down to view
the information inside it. How do I do that?

"Kevin Spencer" wrote:

> What kind of textbox are you using 9there are 2 kinds), and what is it doing
> that you don't want it to do?
>
> --
> HTH,
>
> Kevin Spencer
> Microsoft MVP
> ..Net Developer
> If you push something hard enough,
> it will fall over.
> - Fudd's First Law of Opposition
>
> "andrew20" <(E-Mail Removed)> wrote in message
> news:C9ADFBB8-08B2-40C0-A5ED-(E-Mail Removed)...
> >I am trying to insert a lot of text to one of the pages on my website, and
> > what i want to do is put it all in a scrollable textbox, with up and down
> > buttons so that the actual page-length remains the same. It all seemed
> > quite
> > simple in my mind, but it proved quite a challenge since the form textbox
> > isn't doing what i want it to do. Any suggestions?
> >
> > p.s. I am using frontpage 2003

>
>
>

 
Reply With Quote
 
Thomas A. Rowe
Guest
Posts: n/a
 
      30th Nov 2005
Use an IFrame

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================

"andrew20" <(E-Mail Removed)> wrote in message
news:7C8CB853-E4AD-400F-804A-(E-Mail Removed)...
> The thing is that i can't manage to turn it into a textbox with a scroll bar
> on the side. I don't want a simple table with text in it, but one that
> contains the text within a set width and hight, and u can scroll down to view
> the information inside it. How do I do that?
>
> "Kevin Spencer" wrote:
>
>> What kind of textbox are you using 9there are 2 kinds), and what is it doing
>> that you don't want it to do?
>>
>> --
>> HTH,
>>
>> Kevin Spencer
>> Microsoft MVP
>> ..Net Developer
>> If you push something hard enough,
>> it will fall over.
>> - Fudd's First Law of Opposition
>>
>> "andrew20" <(E-Mail Removed)> wrote in message
>> news:C9ADFBB8-08B2-40C0-A5ED-(E-Mail Removed)...
>> >I am trying to insert a lot of text to one of the pages on my website, and
>> > what i want to do is put it all in a scrollable textbox, with up and down
>> > buttons so that the actual page-length remains the same. It all seemed
>> > quite
>> > simple in my mind, but it proved quite a challenge since the form textbox
>> > isn't doing what i want it to do. Any suggestions?
>> >
>> > p.s. I am using frontpage 2003

>>
>>
>>



 
Reply With Quote
 
=?Utf-8?B?YW5kcmV3MjA=?=
Guest
Posts: n/a
 
      30th Nov 2005
What's an IFrame?


"Thomas A. Rowe" wrote:

> Use an IFrame
>
> --
> ==============================================
> Thomas A. Rowe (Microsoft MVP - FrontPage)
> ==============================================
> If you feel your current issue is a results of installing
> a Service Pack or security update, please contact
> Microsoft Product Support Services:
> http://support.microsoft.com
> If the problem can be shown to have been caused by a
> security update, then there is usually no charge for the call.
> ==============================================
>
> "andrew20" <(E-Mail Removed)> wrote in message
> news:7C8CB853-E4AD-400F-804A-(E-Mail Removed)...
> > The thing is that i can't manage to turn it into a textbox with a scroll bar
> > on the side. I don't want a simple table with text in it, but one that
> > contains the text within a set width and hight, and u can scroll down to view
> > the information inside it. How do I do that?
> >
> > "Kevin Spencer" wrote:
> >
> >> What kind of textbox are you using 9there are 2 kinds), and what is it doing
> >> that you don't want it to do?
> >>
> >> --
> >> HTH,
> >>
> >> Kevin Spencer
> >> Microsoft MVP
> >> ..Net Developer
> >> If you push something hard enough,
> >> it will fall over.
> >> - Fudd's First Law of Opposition
> >>
> >> "andrew20" <(E-Mail Removed)> wrote in message
> >> news:C9ADFBB8-08B2-40C0-A5ED-(E-Mail Removed)...
> >> >I am trying to insert a lot of text to one of the pages on my website, and
> >> > what i want to do is put it all in a scrollable textbox, with up and down
> >> > buttons so that the actual page-length remains the same. It all seemed
> >> > quite
> >> > simple in my mind, but it proved quite a challenge since the form textbox
> >> > isn't doing what i want it to do. Any suggestions?
> >> >
> >> > p.s. I am using frontpage 2003
> >>
> >>
> >>

>
>
>

 
Reply With Quote
 
Thomas A. Rowe
Guest
Posts: n/a
 
      30th Nov 2005
An IFrame in a inline frame that you insert on a page, then you can load another page within the
IFrame and allow the content to be scrolled independently of the main page. See FP Help.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================

"andrew20" <(E-Mail Removed)> wrote in message
news:1B1B01B5-7AA5-43B1-A083-(E-Mail Removed)...
> What's an IFrame?
>
>
> "Thomas A. Rowe" wrote:
>
>> Use an IFrame
>>
>> --
>> ==============================================
>> Thomas A. Rowe (Microsoft MVP - FrontPage)
>> ==============================================
>> If you feel your current issue is a results of installing
>> a Service Pack or security update, please contact
>> Microsoft Product Support Services:
>> http://support.microsoft.com
>> If the problem can be shown to have been caused by a
>> security update, then there is usually no charge for the call.
>> ==============================================
>>
>> "andrew20" <(E-Mail Removed)> wrote in message
>> news:7C8CB853-E4AD-400F-804A-(E-Mail Removed)...
>> > The thing is that i can't manage to turn it into a textbox with a scroll bar
>> > on the side. I don't want a simple table with text in it, but one that
>> > contains the text within a set width and hight, and u can scroll down to view
>> > the information inside it. How do I do that?
>> >
>> > "Kevin Spencer" wrote:
>> >
>> >> What kind of textbox are you using 9there are 2 kinds), and what is it doing
>> >> that you don't want it to do?
>> >>
>> >> --
>> >> HTH,
>> >>
>> >> Kevin Spencer
>> >> Microsoft MVP
>> >> ..Net Developer
>> >> If you push something hard enough,
>> >> it will fall over.
>> >> - Fudd's First Law of Opposition
>> >>
>> >> "andrew20" <(E-Mail Removed)> wrote in message
>> >> news:C9ADFBB8-08B2-40C0-A5ED-(E-Mail Removed)...
>> >> >I am trying to insert a lot of text to one of the pages on my website, and
>> >> > what i want to do is put it all in a scrollable textbox, with up and down
>> >> > buttons so that the actual page-length remains the same. It all seemed
>> >> > quite
>> >> > simple in my mind, but it proved quite a challenge since the form textbox
>> >> > isn't doing what i want it to do. Any suggestions?
>> >> >
>> >> > p.s. I am using frontpage 2003
>> >>
>> >>
>> >>

>>
>>
>>



 
Reply With Quote
 
Kevin Spencer
Guest
Posts: n/a
 
      30th Nov 2005
Hi Andrew,

One solution is to use a div and set the style height and width, then set
the overflow style to either "auto" or "scroll." The difference is that if
it is "auto" and the text fits inside, it will not have a scroll bar, but if
it is "scroll" it will always have a scroll bar, even if one is not
necessary.

Example:

<div style="width:200px;height:200px;overflow:auto">
<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
Quisque sapien felis, ullamcorper sed, mattis et, tempus dignissim, lorem.
Nulla elementum dignissim orci.
Nulla risus sem, vehicula nec, eleifend sit amet, iaculis at, augue.
Suspendisse nibh.
Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere
cubilia Curae; Sed tincidunt felis.
Duis rutrum leo ac justo. Ut mollis leo eget velit. Integer justo orci,
cursus id, vestibulum sit amet, molestie id, tortor.
Donec urna nunc, condimentum ut, viverra nec, adipiscing at, dolor.
Integer dolor sem, tempor id, tincidunt id, hendrerit non, ligula. Maecenas
justo.
Pellentesque bibendum turpis at arcu. Nulla facilisi. In non eros.
Suspendisse eu velit.</p>

<p>Vivamus scelerisque semper purus. Curabitur facilisis lacinia dolor.
Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
Vestibulum ultricies. Curabitur velit elit, dignissim quis, sagittis a,
imperdiet et, lorem.
Pellentesque elit augue, rhoncus eget, lobortis a, imperdiet vel, magna.
Fusce egestas.
Donec cursus tristique diam. Vestibulum ante ipsum primis in faucibus orci
luctus et ultrices posuere cubilia Curae;
Quisque gravida convallis enim. Cras ut urna in nisl tincidunt egestas.
Etiam sed nunc.</p>
</div>

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
If you push something hard enough,
it will fall over.
- Fudd's First Law of Opposition

"andrew20" <(E-Mail Removed)> wrote in message
news:7C8CB853-E4AD-400F-804A-(E-Mail Removed)...
> The thing is that i can't manage to turn it into a textbox with a scroll
> bar
> on the side. I don't want a simple table with text in it, but one that
> contains the text within a set width and hight, and u can scroll down to
> view
> the information inside it. How do I do that?
>
> "Kevin Spencer" wrote:
>
>> What kind of textbox are you using 9there are 2 kinds), and what is it
>> doing
>> that you don't want it to do?
>>
>> --
>> HTH,
>>
>> Kevin Spencer
>> Microsoft MVP
>> ..Net Developer
>> If you push something hard enough,
>> it will fall over.
>> - Fudd's First Law of Opposition
>>
>> "andrew20" <(E-Mail Removed)> wrote in message
>> news:C9ADFBB8-08B2-40C0-A5ED-(E-Mail Removed)...
>> >I am trying to insert a lot of text to one of the pages on my website,
>> >and
>> > what i want to do is put it all in a scrollable textbox, with up and
>> > down
>> > buttons so that the actual page-length remains the same. It all seemed
>> > quite
>> > simple in my mind, but it proved quite a challenge since the form
>> > textbox
>> > isn't doing what i want it to do. Any suggestions?
>> >
>> > p.s. I am using frontpage 2003

>>
>>
>>



 
Reply With Quote
 
=?Utf-8?B?YW5kcmV3MjA=?=
Guest
Posts: n/a
 
      30th Nov 2005
Brilliant! that's exactly what i wanted to do. I knew it was something
simple, but just couldn't figure out what it was. Thanks a bunch Kevin!

"Kevin Spencer" wrote:

> Hi Andrew,
>
> One solution is to use a div and set the style height and width, then set
> the overflow style to either "auto" or "scroll." The difference is that if
> it is "auto" and the text fits inside, it will not have a scroll bar, but if
> it is "scroll" it will always have a scroll bar, even if one is not
> necessary.
>
> Example:
>
> <div style="width:200px;height:200px;overflow:auto">
> <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
> Quisque sapien felis, ullamcorper sed, mattis et, tempus dignissim, lorem.
> Nulla elementum dignissim orci.
> Nulla risus sem, vehicula nec, eleifend sit amet, iaculis at, augue.
> Suspendisse nibh.
> Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere
> cubilia Curae; Sed tincidunt felis.
> Duis rutrum leo ac justo. Ut mollis leo eget velit. Integer justo orci,
> cursus id, vestibulum sit amet, molestie id, tortor.
> Donec urna nunc, condimentum ut, viverra nec, adipiscing at, dolor.
> Integer dolor sem, tempor id, tincidunt id, hendrerit non, ligula. Maecenas
> justo.
> Pellentesque bibendum turpis at arcu. Nulla facilisi. In non eros.
> Suspendisse eu velit.</p>
>
> <p>Vivamus scelerisque semper purus. Curabitur facilisis lacinia dolor.
> Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
> Vestibulum ultricies. Curabitur velit elit, dignissim quis, sagittis a,
> imperdiet et, lorem.
> Pellentesque elit augue, rhoncus eget, lobortis a, imperdiet vel, magna.
> Fusce egestas.
> Donec cursus tristique diam. Vestibulum ante ipsum primis in faucibus orci
> luctus et ultrices posuere cubilia Curae;
> Quisque gravida convallis enim. Cras ut urna in nisl tincidunt egestas.
> Etiam sed nunc.</p>
> </div>
>
> --
> HTH,
>
> Kevin Spencer
> Microsoft MVP
> ..Net Developer
> If you push something hard enough,
> it will fall over.
> - Fudd's First Law of Opposition
>
> "andrew20" <(E-Mail Removed)> wrote in message
> news:7C8CB853-E4AD-400F-804A-(E-Mail Removed)...
> > The thing is that i can't manage to turn it into a textbox with a scroll
> > bar
> > on the side. I don't want a simple table with text in it, but one that
> > contains the text within a set width and hight, and u can scroll down to
> > view
> > the information inside it. How do I do that?
> >
> > "Kevin Spencer" wrote:
> >
> >> What kind of textbox are you using 9there are 2 kinds), and what is it
> >> doing
> >> that you don't want it to do?
> >>
> >> --
> >> HTH,
> >>
> >> Kevin Spencer
> >> Microsoft MVP
> >> ..Net Developer
> >> If you push something hard enough,
> >> it will fall over.
> >> - Fudd's First Law of Opposition
> >>
> >> "andrew20" <(E-Mail Removed)> wrote in message
> >> news:C9ADFBB8-08B2-40C0-A5ED-(E-Mail Removed)...
> >> >I am trying to insert a lot of text to one of the pages on my website,
> >> >and
> >> > what i want to do is put it all in a scrollable textbox, with up and
> >> > down
> >> > buttons so that the actual page-length remains the same. It all seemed
> >> > quite
> >> > simple in my mind, but it proved quite a challenge since the form
> >> > textbox
> >> > isn't doing what i want it to do. Any suggestions?
> >> >
> >> > p.s. I am using frontpage 2003
> >>
> >>
> >>

>
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
insert scrollable image sig_UVA Microsoft Powerpoint 0 19th Mar 2008 05:11 PM
Insert text into a TextBox =?Utf-8?B?RGV2ZWxvcGVy?= Microsoft Dot NET Framework Forms 0 16th Sep 2004 10:23 PM
Insert From Textbox Stephen Green Microsoft Frontpage 6 24th Aug 2004 07:17 AM
Scrollable textbox Jan Kronsell Microsoft Powerpoint 1 8th Apr 2004 06:44 PM
[BUG?] TextBox.Text.Insert(...) -> TextBox.SelectionStart = 0 Peter B Microsoft Dot NET Compact Framework 1 2nd Mar 2004 12:18 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:08 AM.