Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Textarea the right method?
Old 03-10-2006, 06:29 AM Textarea the right method?
Skilled Talker

Posts: 95
Trades: 0
Ok, I have a site that the users must agree to the term and conditions in order to access it.

currently i have a form with a textarea which displays the conditions in a nice sized scrollable area. then two radio buttons one i agree the 2nd i disagree.

This all works fine, but i want to add some formatting to the conditions so its easier to read.

How can i do this? in a textarea i understand the formatting applies to everything in it. I wantto add some headings bold to make the sections easier to see.
higginbt is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 03-10-2006, 09:33 AM Re: Textarea the right method?
techwench's Avatar
Code Monkey

Posts: 1,449
Name: Danalyn
Location: Dallas, TX
Trades: 0
Code:
<div style="width: 500px; height: 300px; overflow: auto;">

<h1>Your TOS</h1>
<p>blah blah <b>bold blah</b> blah</p>

<h2>More TOS</h2>
<p>Blah</p>

</div>
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
techwench is offline
Reply With Quote
View Public Profile
 
Old 03-10-2006, 05:48 PM Re: Textarea the right method?
metho's Avatar
Ultra Talker

Posts: 481
Location: Gold Coast - Brisbane QLD, Australia
Trades: 0
The content of the conditions doesn't need to be part of a form. All you need is two elements, whether they be links, JS enabled radio group or a regular form with other fields. It's these elements which result in an action - not the content.
__________________
I do
Please login or register to view this content. Registration is FREE
based.
Spend a lot of time in
Please login or register to view this content. Registration is FREE
.
And
Please login or register to view this content. Registration is FREE
chews up the rest.
metho is offline
Reply With Quote
View Public Profile Visit metho's homepage!
 
Old 03-13-2006, 04:28 AM Re: Textarea the right method?
Skilled Talker

Posts: 95
Trades: 0
Thanks techwench.

In the end i went to a similar method to yours

Code:
 
<style type="text/css">
<!--
div.scroll {height: 200px; width: 400px; overflow: auto; border: 1px solid #666; background-color: #FFFFF; padding: 8px;}
.style11 { color: #FF0000; font-family: tahoma;
}
-->
</style>
higginbt is offline
Reply With Quote
View Public Profile
 
Old 03-14-2006, 05:21 AM Re: Textarea the right method?
Minaki's Avatar
Defies a Status

Posts: 1,626
Location: Guildford, UK
Trades: 0
Also, if you put the T's & C's in a textarea within the form, remember that data will be submitted back to the server and could cause a bit of a speed issue depending on how much data is in there.
__________________
Minaki Serinde MCP
"Wow, Linux is nearly on-par with Windows ME!"

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
Minaki is offline
Reply With Quote
View Public Profile Visit Minaki's homepage!
 
Old 03-14-2006, 03:03 PM Re: Textarea the right method?
AMysticWeb's Avatar
Experienced Talker

Posts: 38
Trades: 0
I would go with the <Div> option as well. You could try an agree to submit script. Example Here


BTW TechWench: Great handle.
__________________
Stop by for FrontPage form tutorials
and form script examples. Mike

Please login or register to view this content. Registration is FREE
AMysticWeb is offline
Reply With Quote
View Public Profile
 
Old 03-15-2006, 02:49 AM Re: Textarea the right method?
ChipJohns's Avatar
I don't know! Do you?

Posts: 488
Name: Chip Johns
Location: Savannah Georgia
Trades: 0
Or if you do not need to know the results just use a link..


decline - link to a page for decline
accept - link goes to the page..

make them condom links and most definitely add the goto
file to your robots.txt file so that they do not show up in the
search enginjes (if they can be accessed directly through
the url, people would be able to bypass and go directly
to the file.)

go to G or Y! and make sure the pages are not indexed
or the accept decline could be sidestepped..
ChipJohns is offline
Reply With Quote
View Public Profile Visit ChipJohns's homepage!
 
Old 03-16-2006, 05:25 AM Re: Textarea the right method?
Skilled Talker

Posts: 95
Trades: 0
Ok thanks people i never had a problem with the submitting it was just the formatting. of the text. Whcih i solved thanks to teckwench.

the form doesnt post information other than which radio button was pressed.
Then it already did what ClipJohns has suggested.

If the user clicks accept then a temp cookie is created and the user is sent to the next page.

if the user clicks decline then they get the message they cant use the car hire system unless they accept the terms and conditions.

Thank you all for your help, time and ideas but this problem has been solved
higginbt is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Textarea the right method?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.26447 seconds with 12 queries