View Single Post
Old 28-02-2005, 19:21   #6
DrAlimentado
Moderator
 
Join Date: Apr 2003
Location: the cookie jar.
Posts: 1,568
Default


I forgot about the preview reply page.

The same thing applies but the javascript called is 'openPreview()' in the 'inc_code.js' external script.
Here's a modified inc_code.js where I have changed this:
Quote:
quote:
function OpenPreview()
{
if (document.PostTopic.Message) {
if (trim(document.PostTopic.Message.value)=="") {
alert("Nothing to Preview!")
return false
}
popupWin = window.open('pop_preview.asp', 'preview_page', 'scrollbars=yes,width=750,height=450')
return true
}
}
to this:

Quote:
quote:
function OpenPreview()
{
if (document.PostTopic.Message) {
if (trim(document.PostTopic.Message.value)=="") {
alert("Nothing to Preview!")
return false
}
popupWin = window.open('pop_preview.asp', 'preview_page', 'scrollbars=yes,width=750,height=450,resizable=yes ')
return true
}
}

Download Attachment: [img]icon_paperclip.gif[/img] inc_code.zip
441Bytes

I doubt it will fuck anything but test and use at own peril

DrAlimentado is offline   Reply With Quote