Help :S:S:S

liunx

Guest
I was woundering how would i create a box that i could update every so often and the box would stay the same size but when i done so much text there would be a scroll bar so the people cold explore past posts that i may have made to update the site. <br />
<br />
Thats the best way i can describe what i want lol :D<!--content-->i suppose you could use an <iframe><br />
<br />
<!-- m --><a class="postlink" href="http://www.htmlhelp.com/reference/html40/special/iframe.html">http://www.htmlhelp.com/reference/html4 ... frame.html</a><!-- m --> <br />
<br />
<br />
or i think you can do something where you put scrollbars into <div> tags - but I haven't tried this before<!--content--><FORM METHOD="POST"><br />
<TEXTAREA ROWS="13" COLS="45">Type your text here. When there is not enough space for your text the scroller will appear. Also You can change the width of this box.</TEXTAREA></P><br />
</FORM><br />
<br />
<br />
That code should work. I just whipped it up out of Frontpage with some modfitications.<!--content-->Thanks thats exactly what i needed im glad you understood :d<!--content-->Originally posted by Fr0ZeN <br />
<FORM METHOD="POST"><br />
<TEXTAREA ROWS="13" COLS="45">Type your text here. When there is not enough space for your text the scroller will appear. Also You can change the width of this box.</TEXTAREA></P><br />
</FORM><br />
<br />
<br />
That code should work. I just whipped it up out of Frontpage with some modfitications. <br />
<br />
I think this is good but i dont want people to be able to change the text inside of the box how do i change it so that no-one can change the text?? <br />
<br />
I take it has something to do with <br />
<br />
<FORM METHOD="POST"> <--- what do i change that to?<br />
<br />
Also on top of that is there anyway to change the back gorund and the scroll bar colours (the scroll bar colours can i also use them for the main page? not just the text box)<!--content-->the method attribute in the <form> tag is completely unnecessary - unless you want to send the information on that form to another page that is.<br />
<br />
<br />
type disabled into the <textarea> tag - this prevents users form typing into it.<br />
<br />
I think you can control the look of the textarea by using CSS (style-sheets), but I'm not too sure about that.<br />
<br />
<br />
I think you would be better off using <iframe> instead.<!--content-->Originally posted by Horus_Kol <br />
the method attribute in the <form> tag is completely unnecessary - unless you want to send the information on that form to another page that is.<br />
<br />
<br />
type disabled into the <textarea> tag - this prevents users form typing into it.<br />
<br />
I think you can control the look of the textarea by using CSS (style-sheets), but I'm not too sure about that.<br />
<br />
<br />
I think you would be better off using <iframe> instead. <br />
<br />
Well using the iframe i found on that site you gave me <br />
<br />
<IFRAME Width="200" Height="400"><br />
Im going to see how this works and if it does well done to all of those <br><br />
that helped me <br> <br />
thanks once agai<br><br />
i'd like to thank my mum and dad and everyone around me <br />
</IFRAME><br />
<br />
It doesnt allow me to have text so do you know how to get around that then?<br />
Tell me where im going wrong<!--content--><iframe> calls a html page as its source:<br />
<br />
<br />
<iframe src='http://www.htmlforums.com/archive/index.php/content.html' width='200' height='400'><br />
In here is alternative text in case the browser doesn't support frames.<br />
</iframe><br />
<br />
<br />
<br />
It is kind of similar to the older <frameset> and <frame> tags, except that these are being deprecated, while <iframe> (which is an inline frame) is a new addition to html.<!--content-->Originally posted by Horus_Kol <br />
<iframe> calls a html page as its source:<br />
<br />
<br />
<iframe src='http://www.htmlforums.com/archive/index.php/content.html' width='200' height='400'><br />
In here is alternative text in case the browser doesn't support frames.<br />
</iframe><br />
<br />
<br />
<br />
It is kind of similar to the older <frameset> and <frame> tags, except that these are being deprecated, while <iframe> (which is an inline frame) is a new addition to html. <br />
<br />
Sorry im new to frames your going to have to explain it a bit better so i can include text :D<!--content-->frames were created to allow people to piece together various html pages into a single one on the browser.<br />
<br />
originally, this was done by using a frameset page:<br />
<br />
<br />
<html><br />
<head><br />
<title>Blah</title><br />
</head><br />
<br />
<frameset rows='100, 25%, *'><br />
<frame src='http://www.htmlforums.com/archive/index.php/top_row.html'><br />
<br />
<frameset cols='33%, 33%, *')<br />
<frame src='http://www.htmlforums.com/archive/index.php/mid_left.html'><br />
<frame src='http://www.htmlforums.com/archive/index.php/mid_mid.html'><br />
<frame src='http://www.htmlforums.com/archive/index.php/mid_right.html'><br />
</frameset><br />
<br />
<frame src='http://www.htmlforums.com/archive/index.php/btm_row.html'><br />
</frameset><br />
</html><br />
<br />
<br />
See how the <frameset> tag replaces the <body> of a page. There wouldn't be anything else in the frameset page either.<br />
You can also divide rows and columns into further frames - although it is recommended to keep it as simple as possible.<br />
<br />
There are problems with framesets, and it has actually been bumped of the recent standards recommendations from w3c.<br />
<br />
It is probably (this is new) going to be replaced by the <iframe> - this is a an inline frame, which allows you to insert a html page anywhere within another one:<br />
<br />
<br />
<html><br />
<head><br />
<title>Blah</title><br />
</head><br />
<br />
<body><br />
<h1>Welcome to my website</h1><br />
<br />
<p>Some generic text you want on each page</p><br />
<br />
<iframe src='http://www.htmlforums.com/archive/index.php/content.html'><br />
If the browser does not support frames, then the text<br />
inside these tags will be rendered instead.<br />
<br />
If the browser does support frames, then you will<br />
see your content.html page being rendered.<br />
</iframe><br />
<br />
<p>More code can be written here too</p><br />
</body><br />
</html><br />
<br />
<br />
and that is frames in a nutshell.<br />
<br />
HK<!--content-->Originally posted by Horus_Kol <br />
frames were created to allow people to piece together various html pages into a single one on the browser.<br />
<br />
originally, this was done by using a frameset page:<br />
<br />
<br />
<html><br />
<head><br />
<title>Blah</title><br />
</head><br />
<br />
<frameset rows='100, 25%, *'><br />
<frame src='http://www.htmlforums.com/archive/index.php/top_row.html'><br />
<br />
<frameset cols='33%, 33%, *')<br />
<frame src='http://www.htmlforums.com/archive/index.php/mid_left.html'><br />
<frame src='http://www.htmlforums.com/archive/index.php/mid_mid.html'><br />
<frame src='http://www.htmlforums.com/archive/index.php/mid_right.html'><br />
</frameset><br />
<br />
<frame src='http://www.htmlforums.com/archive/index.php/btm_row.html'><br />
</frameset><br />
</html><br />
<br />
<br />
See how the <frameset> tag replaces the <body> of a page. There wouldn't be anything else in the frameset page either.<br />
You can also divide rows and columns into further frames - although it is recommended to keep it as simple as possible.<br />
<br />
There are problems with framesets, and it has actually been bumped of the recent standards recommendations from w3c.<br />
<br />
It is probably (this is new) going to be replaced by the <iframe> - this is a an inline frame, which allows you to insert a html page anywhere within another one:<br />
<br />
<br />
<html><br />
<head><br />
<title>Blah</title><br />
</head><br />
<br />
<body><br />
<h1>Welcome to my website</h1><br />
<br />
<p>Some generic text you want on each page</p><br />
<br />
<iframe src='http://www.htmlforums.com/archive/index.php/content.html'><br />
If the browser does not support frames, then the text<br />
inside these tags will be rendered instead.<br />
<br />
If the browser does support frames, then you will<br />
see your content.html page being rendered.<br />
</iframe><br />
<br />
<p>More code can be written here too</p><br />
</body><br />
</html><br />
<br />
<br />
and that is frames in a nutshell.<br />
<br />
HK <br />
<br />
Thats exactly what i needed thanks once again. <br />
<br />
Whats the easiest way to position this on the page??<!--content-->position an <iframe>? simplest would be to use tables<br />
<br />
it would be more proper to use dhtml i suppose - but i can't help with that.<!--content-->
 
Back
Top