Print Page | Close Window

Adding Scrollbars To Pop Up Smiley Win

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums Modifications
Forum Description: Mod's and Add-on's for Web Wiz Forums.
URL: https://forums.webwiz.net/forum_posts.asp?TID=21107
Printed Date: 28 March 2026 at 9:22am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Adding Scrollbars To Pop Up Smiley Win
Posted By: __n3o__
Subject: Adding Scrollbars To Pop Up Smiley Win
Date Posted: 22 August 2006 at 1:29pm
Can someone tell me which file controls the pop up window for the smileys from the RTE on the forum? Both the quick and full .... 

I have added loads more smileys and need the window to scroll.... Left, right, up and down...

Thanks



Replies:
Posted By: iSec
Date Posted: 23 August 2006 at 1:00am
RTE_popup_emoticons.asp
 
include the following in the <body> tag
include: scroll="yes"
 
that's all.


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


Posted By: __n3o__
Date Posted: 23 August 2006 at 1:58pm
... How on earth what that make the pop up window scroll...

I'm trying to find the page that has the JS that makes the window pop up, I can add scroll bars to the JS onClick event ....  Can someone tell me which page this is on?? Thanks...


Posted By: iSec
Date Posted: 23 August 2006 at 7:40pm
That's what's on my forum...I added many emoticons but the pop-up window wouldn't scroll until I placed that code within the body tag.
I'm not sure about your HTML skills but just go ahead and put that code on that page and you'll see that thats what you need....
 
you may also want to see this topic: http://forums.webwiz.net/forum_posts.asp?TID=20140 - http://forums.webwiz.net/forum_posts.asp?TID=20140


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


Posted By: __n3o__
Date Posted: 23 August 2006 at 7:52pm
Firstly thanks for the link dude.... 

Secondly my HTML & XHTML skills are pretty sharp, and I think you'll find thats a very redundant tag thats not valid anymore AND only works in that horrible browser IE ..  I was being very lazy and just wanted a quick answer - Thanks again for that thread


Posted By: iSec
Date Posted: 23 August 2006 at 8:05pm
Ok so whats the replacement for that redundant code then? I need it because i currently use that scroll="yes" code.

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


Posted By: __n3o__
Date Posted: 23 August 2006 at 8:07pm
Edited - To say I did it tonight 


Posted By: __n3o__
Date Posted: 23 August 2006 at 8:20pm
Right couldn't be arsed with the Javascript as its not my thing... So just used CSS...

Open up RTE_popup_emoticons.asp and go to line 168ish where the table starts....  wrap a <div> round the whole table with an id of smiley_scroll

EXample



<div id="smiley_scroll">
<table width="100%"  border="0" cellpadding="3" cellspacing="0" class="tableTopRow">
LOADS OF STUFF HERE
</table>
</div>



Now open up your style sheet (default_style.css) and add the following at the bottom of your style sheet



#smiley_scroll {
    width:450px;
    height:345px;
    overflow:scroll;
}



Voila... Works in FF and IE ...


Posted By: iSec
Date Posted: 23 August 2006 at 11:00pm
very neat. I'll put it on my forum once im home.

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



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