Trying to tidy the forum up and have some commonality, I have noticed the privatesend.asp page when viewing in ?topic or ?reply the table which hold the input box is a lot smaller that the PM Buttons above. Can anyone suggest how we can stretch the table out to bring the right and left table extremities inline with the button edges above. ie 100% SEE image
Your line numbers may be slightly differnt than mine. If you can't figure out exactly where then let me know and I'll let you know the code around those spots.<
Look at line 162 and 169 in pm.view.asp. These are the two instances of width=50%, make them 100%. You can do a search by 50% and replace them to 100%.<
Thanks for the input, I did initially try texanmans suggestion prior to my request and it did not make a change. Leatherlips is spot on and I thank you..
Even more tidying up to stretch the Send to:, Subject: and Message input areas out to new 100% table area: 1. line 196 find: " <td bgColor=""" & strPopUpTableColor & """><input maxLength=""50"" name=""sendto"" value=""" & Request.Querystring("mname") & """ size=""50""> change to " <td bgColor=""" & strPopUpTableColor & """><input maxLength=""50"" name=""sendto"" value=""" & Request.Querystring("mname") & """ size=""100%"">
I have chosen 98% as it keeps a slight border between the message area and the table edge.
Thats started me thinking about the Screensize options that appear on post.asp, where we can change the input box according to screen size and the input box resizes to suit. With this in mind, I have found the option code for the screen size and wonder if this sort of option facility could be incorporated into privatesend.asp
Taken from post.asp line 538
" <select name=""SelectSize"" size=""1"" tabindex=""-1"" onchange=""resizeTextarea('" & strUniqueID & "')"">" & vbNewLine & _
" <option value=""1"""
if strSelectSize = "1" then Response.Write(" selected")
Response.Write ">640 x 480</option>" & vbNewLine & _
" <option value=""2"""
if strSelectSize = "2" or strSelectSize = "" then Response.Write(" selected")
Response.Write ">800 x 600</option>" & vbNewLine & _
" <option value=""3"""
if strSelectSize = "3" then Response.Write(" selected")
Response.Write ">1024 x 768</option>" & vbNewLine & _
" <option value=""4"""
if strSelectSize = "4" then Response.Write(" selected")
Response.Write ">1280 x 1024</option>" & vbNewLine & _
" </select>" & vbNewLine & _
" </font></td>" & vbNewLine & _
" </tr>" & vbNewLine
end if
quote:Originally posted by Andy Humm With this in mind, I have found the option code for the screen size and wonder if this sort of option facility could be incorporated into privatesend.asp
You sure can.
start the block in post.asp around 717 in my modded version from the line: if strRqMethod = "Edit" or strRqMethod = "EditTopic" or strRqMethod = "Forum" or strRqMethod = "EditForum" or _
all the way to: end if
and place it right after the block that starts at line 209-214 in privatesend.asp<