Ross
eCreations Staff
Posts: 1,768
|
Post by Ross on Jan 23, 2006 16:10:40 GMT
Global Footer<script type="text/javascript"> <!-- /* preview with quick reply - by ross */ var mes = document.getElementsByName('message'); if(location.href.match(/ion=display/) && mes[0]) { var qrForm = mes[0].parentNode; var preview = '<input name="nextaction" type="hidden" value="post">'; preview += '<input type="submit" accesskey="p" value="Preview" onclick="qrForm.nextaction.value=\'preview\'; return true;" /> '; qrForm.removeChild(qrForm.lastChild) qrForm.innerHTML += preview; } //--> </script>Simply adds a 'Preview' button in the quick reply box
|
|
Richie
Veteran
^ Yes, That's me V_V
Posts: 624
|
Post by Richie on Jan 23, 2006 23:16:29 GMT
great code, except it also adds it to the "Email all" area & for some reason removes the "text box" there, any way to fix that?
|
|
Ross
eCreations Staff
Posts: 1,768
|
Post by Ross on Jan 24, 2006 0:06:03 GMT
I've edited in a location check which should stop that happening
|
|
Richie
Veteran
^ Yes, That's me V_V
Posts: 624
|
Post by Richie on Jan 24, 2006 0:14:06 GMT
I've edited in a location check which should stop that happening great, it works!
|
|