Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Width & Height for RTE_popup_emoticons.asp
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Width & Height for RTE_popup_emoticons.asp

 Post Reply Post Reply
Author
iSec View Drop Down
Senior Member
Senior Member
Avatar

Joined: 13 February 2005
Status: Offline
Points: 1140
Post Options Post Options   Thanks (0) Thanks(0)   Quote iSec Quote  Post ReplyReply Direct Link To This Post Topic: Width & Height for RTE_popup_emoticons.asp
    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
Back to Top
freakyfred View Drop Down
Groupie
Groupie


Joined: 29 March 2007
Location: United Kingdom
Status: Offline
Points: 171
Post Options Post Options   Thanks (0) Thanks(0)   Quote freakyfred Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
iSec View Drop Down
Senior Member
Senior Member
Avatar

Joined: 13 February 2005
Status: Offline
Points: 1140
Post Options Post Options   Thanks (0) Thanks(0)   Quote iSec Quote  Post ReplyReply Direct Link To This Post 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
"When it gets dark enough, you can see the stars"
-Charles A. Beard
Back to Top
freakyfred View Drop Down
Groupie
Groupie


Joined: 29 March 2007
Location: United Kingdom
Status: Offline
Points: 171
Post Options Post Options   Thanks (0) Thanks(0)   Quote freakyfred Quote  Post ReplyReply Direct Link To This Post 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.

Edited by freakyfred - 07 July 2007 at 1:51pm
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.