473,545 Members | 2,744 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Non editable text box

Can anyone help me to decide the best way to do this please.

I'm writing an intranet and I need to put something like a non-editable
scrolling text box on the home page where daily announcements can be placed.
I've tried adding a scrolling text box, but I am not sure how to make it
non-editable. Is there any way I can fill the textbox using something like
textstream? I would imagine one person in the organisation would be in
charge of adding this text somehow. I'm a bit lost in trying to find the
best method.

Thanks
Laura TD
Jul 22 '05 #1
16 7517
laura wrote on 19 apr 2005 in microsoft.publi c.inetserver.as p.general:
I'm writing an intranet and I need to put something like a
non-editable scrolling text box on the home page where daily
announcements can be placed. I've tried adding a scrolling text box,
but I am not sure how to make it non-editable. Is there any way I can
fill the textbox using something like textstream? I would imagine one
person in the organisation would be in charge of adding this text
somehow. I'm a bit lost in trying to find the best method.


This is not a n serverside asp question, asp has no textboxes,
so please follow up on a clientside code NG.

I think you want HTML:

<iframe src='...' style='width:50 0px;height:500p x;'></iframe>
--
Evertjan.
The Netherlands.
(Replace all crosses with dots in my emailaddress)

Jul 22 '05 #2
Thanks for your input, I am working in ASP and thinking that I might find
that the object TextStream might do what I need to do, but not sure how to
put this on my ASP/HTML page. I was looking for ASP suggestions, if
possible... I would be most grateful.

Laura TD
"Evertjan." <ex************ **@interxnl.net > wrote in message
news:Xn******** ************@19 4.109.133.29...
laura wrote on 19 apr 2005 in microsoft.publi c.inetserver.as p.general:
I'm writing an intranet and I need to put something like a
non-editable scrolling text box on the home page where daily
announcements can be placed. I've tried adding a scrolling text box,
but I am not sure how to make it non-editable. Is there any way I can
fill the textbox using something like textstream? I would imagine one
person in the organisation would be in charge of adding this text
somehow. I'm a bit lost in trying to find the best method.


This is not a n serverside asp question, asp has no textboxes,
so please follow up on a clientside code NG.

I think you want HTML:

<iframe src='...' style='width:50 0px;height:500p x;'></iframe>
--
Evertjan.
The Netherlands.
(Replace all crosses with dots in my emailaddress)

Jul 22 '05 #3
"laura" <re*****@group. com> wrote in message
news:%2******** ********@tk2msf tngp13.phx.gbl. ..
: Thanks for your input, I am working in ASP and thinking that I might find
: that the object TextStream might do what I need to do, but not sure how to
: put this on my ASP/HTML page. I was looking for ASP suggestions, if
: possible... I would be most grateful.

Nope. ASP can send output to the client but the client determines how it's
rendered based on client-side code.

Ex.

Response.Write "some text..."

ASP sent it to the client and the client displayed: some text...

If you then want the background-color to be light blue, you can do this:

Response.Write "<span style=""backgro und-color: #eef"">some text...</span>"

Response.Write sent the string to the client but the browser rendered the
client-side inline CSS style and changed the background-color between the
<span></span> tags to light blue. As far as ASP is concerned it sent this:
xxxxxxxxxxxxxxx xxxxxx.

Textstream is used with the file system object to read/write to text files.
It's probably not what you're looking for.
If you have standardized on IE, then this will work.
http://kiddanger.com/lab/marquee1.html

If not, then you'll need to follow up in a javascript/dhtml NG.

--
Roland Hall
/* This information is distributed in the hope that it will be useful, but
without any warranty; without even the implied warranty of merchantability
or fitness for a particular purpose. */
Technet Script Center - http://www.microsoft.com/technet/scriptcenter/
WSH 5.6 Documentation - http://msdn.microsoft.com/downloads/list/webdev.asp
MSDN Library - http://msdn.microsoft.com/library/default.asp
Jul 22 '05 #4
Thanks, I don't want scrolling text so will have to rethink this. I could
allow the person in charge of the Notices to update a text file from which I
could then use TextStream to output this to the web page. It doesn't seem
very slick though. An uneditable scrolling text box on the HTML page would
be ideal, if it were possible.

Thanks for your help
Laura TD
"Roland Hall" <nobody@nowhere > wrote in message
news:uB******** ******@TK2MSFTN GP12.phx.gbl...
"laura" <re*****@group. com> wrote in message
news:%2******** ********@tk2msf tngp13.phx.gbl. ..
: Thanks for your input, I am working in ASP and thinking that I might
find
: that the object TextStream might do what I need to do, but not sure how
to
: put this on my ASP/HTML page. I was looking for ASP suggestions, if
: possible... I would be most grateful.

Nope. ASP can send output to the client but the client determines how
it's
rendered based on client-side code.

Ex.

Response.Write "some text..."

ASP sent it to the client and the client displayed: some text...

If you then want the background-color to be light blue, you can do this:

Response.Write "<span style=""backgro und-color: #eef"">some
text...</span>"

Response.Write sent the string to the client but the browser rendered the
client-side inline CSS style and changed the background-color between the
<span></span> tags to light blue. As far as ASP is concerned it sent
this:
xxxxxxxxxxxxxxx xxxxxx.

Textstream is used with the file system object to read/write to text
files.
It's probably not what you're looking for.
If you have standardized on IE, then this will work.
http://kiddanger.com/lab/marquee1.html

If not, then you'll need to follow up in a javascript/dhtml NG.

--
Roland Hall
/* This information is distributed in the hope that it will be useful, but
without any warranty; without even the implied warranty of merchantability
or fitness for a particular purpose. */
Technet Script Center - http://www.microsoft.com/technet/scriptcenter/
WSH 5.6 Documentation -
http://msdn.microsoft.com/downloads/list/webdev.asp
MSDN Library - http://msdn.microsoft.com/library/default.asp

Jul 22 '05 #5
"laura" <re*****@group. com> wrote in message
news:O0******** *****@TK2MSFTNG P12.phx.gbl...
: Thanks, I don't want scrolling text so will have to rethink this. I could
: allow the person in charge of the Notices to update a text file from which
I
: could then use TextStream to output this to the web page. It doesn't seem
: very slick though. An uneditable scrolling text box on the HTML page would
: be ideal, if it were possible.

Laura...

A marquee is a non-editable scrolling text box. If you're referring to
scrollable, then that's on-demand scrolling with scrollbars.

That would be something like this:
http://kiddanger.com/lab/fsoscrollable.asp

--
Roland Hall
/* This information is distributed in the hope that it will be useful, but
without any warranty; without even the implied warranty of merchantability
or fitness for a particular purpose. */
Technet Script Center - http://www.microsoft.com/technet/scriptcenter/
WSH 5.6 Documentation - http://msdn.microsoft.com/downloads/list/webdev.asp
MSDN Library - http://msdn.microsoft.com/library/default.asp
Jul 22 '05 #6
oops.. sorry.. I meant that I did not want the marquee effect of 'scrolling'
text.. my mistake. I do want my users to be able to scroll up and down, (not
sideways) in a scrollable text box (with scrollbar). I want to feed the box
with non-editable data, probably from a text file or some other way that is
easy for one person to update on a daily basis. I had thought of them
creating a text file and then the ASP textstream reading it into the text
box.

Laura
"Roland Hall" <nobody@nowhere > wrote in message
news:ez******** ******@TK2MSFTN GP15.phx.gbl...
"laura" <re*****@group. com> wrote in message
news:O0******** *****@TK2MSFTNG P12.phx.gbl...
: Thanks, I don't want scrolling text so will have to rethink this. I
could
: allow the person in charge of the Notices to update a text file from
which
I
: could then use TextStream to output this to the web page. It doesn't
seem
: very slick though. An uneditable scrolling text box on the HTML page
would
: be ideal, if it were possible.

Laura...

A marquee is a non-editable scrolling text box. If you're referring to
scrollable, then that's on-demand scrolling with scrollbars.

That would be something like this:
http://kiddanger.com/lab/fsoscrollable.asp

--
Roland Hall
/* This information is distributed in the hope that it will be useful, but
without any warranty; without even the implied warranty of merchantability
or fitness for a particular purpose. */
Technet Script Center - http://www.microsoft.com/technet/scriptcenter/
WSH 5.6 Documentation -
http://msdn.microsoft.com/downloads/list/webdev.asp
MSDN Library - http://msdn.microsoft.com/library/default.asp

Jul 22 '05 #7
laura wrote:
oops.. sorry.. I meant that I did not want the marquee effect of
'scrolling' text.. my mistake. I do want my users to be able to
scroll up and down, (not sideways) in a scrollable text box (with
scrollbar). I want to feed the box with non-editable data, probably
from a text file or some other way that is easy for one person to
update on a daily basis. I had thought of them creating a text file
and then the ASP textstream reading it into the text box.


So what do you need help with? Opening the text file with a textstream
object? Do a search at www.aspfaq.com for examples. Search for
FileSystemObjec t.

Bob Barrows
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.
Jul 22 '05 #8
On Tue, 19 Apr 2005 13:28:51 +0100, "laura" <re*****@group. com> wrote:
oops.. sorry.. I meant that I did not want the marquee effect of 'scrolling'
text.. my mistake. I do want my users to be able to scroll up and down, (not
sideways) in a scrollable text box (with scrollbar). I want to feed the box
with non-editable data, probably from a text file or some other way that is
easy for one person to update on a daily basis. I had thought of them
creating a text file and then the ASP textstream reading it into the text
box.
I think you still want an iframe. See:

http://www.htmlcodetutorial.com/frames/_IFRAME.html
http://www.codeave.com/html/code.asp?u_log=5048
http://www.cs.tut.fi/~jkorpela/html/iframe.html

By the way, it's the first three links when Googling "HTML iframe".
And it's still client side code.

Jeff

"Roland Hall" <nobody@nowhere > wrote in message
news:ez******* *******@TK2MSFT NGP15.phx.gbl.. .
"laura" <re*****@group. com> wrote in message
news:O0******** *****@TK2MSFTNG P12.phx.gbl...
: Thanks, I don't want scrolling text so will have to rethink this. I
could
: allow the person in charge of the Notices to update a text file from
which
I
: could then use TextStream to output this to the web page. It doesn't
seem
: very slick though. An uneditable scrolling text box on the HTML page
would
: be ideal, if it were possible.

Laura...

A marquee is a non-editable scrolling text box. If you're referring to
scrollable, then that's on-demand scrolling with scrollbars.

That would be something like this:
http://kiddanger.com/lab/fsoscrollable.asp

--
Roland Hall
/* This information is distributed in the hope that it will be useful, but
without any warranty; without even the implied warranty of merchantability
or fitness for a particular purpose. */
Technet Script Center - http://www.microsoft.com/technet/scriptcenter/
WSH 5.6 Documentation -
http://msdn.microsoft.com/downloads/list/webdev.asp
MSDN Library - http://msdn.microsoft.com/library/default.asp


Jul 22 '05 #9
Thank you everyone for help with this - I am in the middle of trying to work
out various other things in ASP at the same time and am getting a little
punch-drunk. I think that I am going to be able to use either DIV or the
example at http://kiddanger.com/lab/fsoscrollable.asp after all. It seems to
be just what I want, just have to learn how to modify it and import the text
I need. Once again thanks and sorry for being slightly dim.. it's all new to
me and can get confusing.

Laura TD

"Bob Barrows [MVP]" <re******@NOyah oo.SPAMcom> wrote in message
news:uf******** ******@TK2MSFTN GP10.phx.gbl...
laura wrote:
oops.. sorry.. I meant that I did not want the marquee effect of
'scrolling' text.. my mistake. I do want my users to be able to
scroll up and down, (not sideways) in a scrollable text box (with
scrollbar). I want to feed the box with non-editable data, probably
from a text file or some other way that is easy for one person to
update on a daily basis. I had thought of them creating a text file
and then the ASP textstream reading it into the text box.


So what do you need help with? Opening the text file with a textstream
object? Do a search at www.aspfaq.com for examples. Search for
FileSystemObjec t.

Bob Barrows
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.

Jul 22 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

17
3838
by: black tractor | last post by:
HI there.. l was just wondering, if l place a "table" in the "editable region" of my template, will the text, graphics placed inside the this "table" MOVE BY ITSELF?? l mean, recently l had a "table" insert in my "editable region", have it placed in the "center" of the page.. while it display correctly on my browser, with setting at...
1
14515
by: Oliver Hoehle | last post by:
Hello! This ist the source-code for an editable combobox implemented with HTML,CSS and Javascript. I have tested it with IE and Mozilla. But I don't know, if it will work in other browsers (Opera, Konqueror, etc.) So I need your feedback... Regards
4
2545
by: Javier Gomez | last post by:
I have a query field which is a non editable field because is a function's result. Due to I need to edit the information, Can you please suggest me any solution for this problem?? (No matter which one) I tryed to duplicate this field , (copying into a new temporally field) but no success....... continues non editable field :-(((
4
1787
by: Stephan Bour | last post by:
Hi, I have a datagrid databound to a SQL query. I'd like to allow editing of some columns but not all. Is there a way to turn off the conversion of the datagrid cells to textboxes for some columns when the Edit button is pressed? Thank you, Stephan.
6
10604
by: Hako | last post by:
Hello All, I have a function to set readonly or editable of a textctrl. I'd like to make the textctrl initial set readonly and use other event funciton to set editable of the textctrl but it always can editable. How to set a textctrl can editable or readonly? Any Ideas? (see short snippet below) Thanks.
7
10264
by: Benton | last post by:
Hi there, I have a text box which will receive its value from a pop-up date picker. The user should not be able to edit this field with the keyboard or mouse. I am using ASP.NET. If I set the readonly property of the textbox to true, it won't let the user change it and it can receive its value from the pop-op calendar, just what I need....
1
2393
by: Joe Spears | last post by:
Hi I want to display a datagrid summary of a datatable. The grid will not show all the fields, but when the user selects a row, I want the other controls (text boxes) to also bind to the same row that is selected in the grid. However, the controls will bind to ALL of the fields, where the grid will only show some of them. I want to be able...
1
4911
by: planetthoughtful | last post by:
Hi All, I have a web page that presents records in a table, with one row per record. I'd like to put an edit button next to each record, such that if a user clicks on the edit button next to a particular record, that record becomes an editable form. I'm assuming this can be achieved via JavaScript, and I'm wondering if
3
1486
by: AshishMishra16 | last post by:
Hi Friends, What is the way to iterate the Table and Make all the input types editable on the click of a checkbox. Here is what My Requirement is : <table id="adSearchTable" cellspacing="3"> <thead> <tr class="tableheader" style="height: 15px;">
0
7502
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7692
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7946
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
7791
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6026
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
3491
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3470
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1045
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
744
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.