Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: Confirmation box in Javascript containing alot of text


Message #1 by "Duncan Falconer" <dfalconer@g...> on Tue, 2 Oct 2001 14:50:29
If it's IE only, it migth be a good idea to open up a modalDialog
(http://www.msdn.microsoft.com/workshop/author/dhtml/reference/methods/showM
odalDialog.asp)


/Robert



-----Original Message-----
From: Alex Shiell, ITS, EC, SE [mailto:alex.shiell@s...] 
Sent: den 2 oktober 2001 16:53
To: javascript
Subject: [javascript] RE: Confirmation box in Javascript containing alot of
text


theres nothing extra you can do with confirm and alert - you need a new
window.

If you want to have a scrolling section within a window, you can either use
an IFrame, or have a DIV with a specified size and "overflow-y:scroll" in
the style or class.  Neither are supported by older browsers though.

-----Original Message-----
From: Duncan Falconer [mailto:dfalconer@g...]
Sent: 02 October 2001 15:50
To: javascript
Subject: [javascript] Confirmation box in Javascript containing alot of
text


I have a form which submits a subscription request, when the user clicks 
submit i want to pop up a box which asks then to agree to the terms and 
conditions (4 pages worth) related to the subscription. I want the T&C's 
to be in form where the user scroll up and down them to read them and then 
clicks a yes no button. I though of doing this through a confirm() 
function but there appears to be no way to make the confirm message have 
scroll bars (like when you agree to a license when installing software) am 
i going  about this the wrong way. 
please help, i am not sure if i need to start mucking about with pop up 
windows etc.

  Return to Index