Print Page | Close Window

Width & Height for RTE_popup_emoticons.asp

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=23681
Printed Date: 07 April 2026 at 9:39am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Width & Height for RTE_popup_emoticons.asp
Posted By: iSec
Subject: Width & Height for RTE_popup_emoticons.asp
Date Posted: 06 July 2007 at 6:17am

Which file allows me to change the width and height of the RTE_popup_emoticons.asp window?



-------------
"When it gets dark enough, you can see the stars"
-Charles A. Beard



Replies:
Posted By: freakyfred
Date Posted: 06 July 2007 at 5:29pm
is there a way to get a scroll bar on the pop up for emoticons? i have added about 600 and it looks messy


Posted By: iSec
Date Posted: 06 July 2007 at 8:57pm
Originally posted by freakyfred freakyfred wrote:

is there a way to get a scroll bar on the pop up for emoticons? i have added about 600 and it looks messy
 
That's why I want to make the window bigger. I added some new icons too.
To add a scroller, read through this thread: http://forums.webwiz.net/forum_posts.asp?TID=21107 - http://forums.webwiz.net/forum_posts.asp?TID=21107


-------------
"When it gets dark enough, you can see the stars"
-Charles A. Beard


Posted By: freakyfred
Date Posted: 07 July 2007 at 1:21pm
This was starting to annoy me and have the mult skin mod so didn't wanna go down that road using css to adjust sizes. The code below works on all browsers.. i have no idea if it is clean but it works and that's all i care about. I'm going to the pub.

To change the window size of  RTE_popup_emoticons.asp then go to  includes/message_form.inc on line 340 you will find

    If RTEenabled() <> "false" AND blnRTEEditor AND blnWYSIWYGEditor Then
        Response.Write(vbCrLf & "    <tr><td colspan=""3"" align=""center""><a href=""javascript:winOpener('RTE_popup_emoticons.asp" & strQsSID1 & "','emot',0,0,850,350)"" class=""smLink"">" & strTxtMore & "</a></td></tr>")
    Else
        Response.Write(vbCrLf & "    <tr><td colspan=""3"" align=""center""><a href=""javascript:winOpener('non_RTE_popup_emoticons.asp" & strQsSID1 & "','emot',0,0,850,350)"" class=""smLink"">" & strTxtMore & "</a></td></tr>")
    End If


You need to change the bit where is says 850,350 to the sizes you want. Mine is set at 850 width and 350 height. The do the following..


on RTE_popup_emoticons.asp  find 
<body bgcolor="#FFFFFF" text="#000000" marginheight="0" marginwidth="0" topmargin="0" leftmargin="0" OnLoad="self.focus();">
  

and replace with


<body bgcolor="#FFFFFF" text="#000000" marginheight="0" marginwidth="0" topmargin="0" leftmargin="0" OnLoad="self.focus();">
    <div style="overflow: auto; width:850px; height: 350px">


then find



</body>
</html>


and replace with


</div>
</body>
</html>



Now all you have to do is adjust the sizes in the div which is the following..


width:850px; height: 350px - set these to the same size as the above.

Hope that makes sense. works for me. Now I'm definitely going pub.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net