Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Here goes... I have a link on

Status
Not open for further replies.

Oceanic7777

Technical User
Mar 30, 2001
14
US
Here goes...


I have a link on a page (.shtml) to a form that I have created. (The form and confirmation page are both html pages since the front page form utility doesn't seem to work with .shtml)

I have it set up so that when the link is clicked upon, a new window will open.

Here is an example of the html code that I am using for this link.

<a href=&quot;formname.html&quot; onclick=&quot;NewWindow(this.href, 'name','550','585','no');return false;&quot; onMouseOver=&quot; window.status='Contact Us '; return true&quot; onMouseOut=&quot;window.status=' '; return true&quot;>

As you can see I also have coding to display a message on mouse over in the status bar.

But the form (which is inside of a fluid table) contains a comment box.. When the form is submitted, the user is sent to a custom confirmation page (in the same window as the form) that displays the input that they entered in the form (including comments). But if the comments are too long, the table will run off the bounds of the page and you can only see as far as the bounds specified in the linking code.

Is there a way to make the window automatically resize according to the size of the table (in the confirmation page)?


 
Basically the data from the comments feild in the form makes the table go off the screen. Actually I don't want to resize the window automatically, but I want to make the data from feilds wrap so that they make separate lines rather than continue on on line indefinitely....(thus making the table go off the screen)

help?!!!

Thanks!!!
 
Ok, it appears that I've found the problem! All the data I was testing the form with was jiberrish..... (ex. adfakjsdf;klajs;haghadhakjfhadslfajghlakjsdf). Well, one post that I read made me realize that jibberish does not have any spaces in it. So the text was not wrapping. But in normal data entered in a comment field, there are spaces! So it wraps!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top