Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Adding Scrollbars To Pop Up Smiley Win
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Adding Scrollbars To Pop Up Smiley Win

 Post Reply Post Reply Page  12>
Author
__n3o__ View Drop Down
Groupie
Groupie
Avatar

Joined: 08 November 2005
Location: United Kingdom
Status: Offline
Points: 135
Post Options Post Options   Thanks (0) Thanks(0)   Quote __n3o__ Quote  Post ReplyReply Direct Link To This Post Topic: Adding Scrollbars To Pop Up Smiley Win
    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
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: 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
Back to Top
__n3o__ View Drop Down
Groupie
Groupie
Avatar

Joined: 08 November 2005
Location: United Kingdom
Status: Offline
Points: 135
Post Options Post Options   Thanks (0) Thanks(0)   Quote __n3o__ Quote  Post ReplyReply Direct Link To This Post 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...
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: 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
"When it gets dark enough, you can see the stars"
-Charles A. Beard
Back to Top
__n3o__ View Drop Down
Groupie
Groupie
Avatar

Joined: 08 November 2005
Location: United Kingdom
Status: Offline
Points: 135
Post Options Post Options   Thanks (0) Thanks(0)   Quote __n3o__ Quote  Post ReplyReply Direct Link To This Post 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
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: 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
Back to Top
__n3o__ View Drop Down
Groupie
Groupie
Avatar

Joined: 08 November 2005
Location: United Kingdom
Status: Offline
Points: 135
Post Options Post Options   Thanks (0) Thanks(0)   Quote __n3o__ Quote  Post ReplyReply Direct Link To This Post Posted: 23 August 2006 at 8:07pm
Edited - To say I did it tonight 

Edited by __n3o__ - 23 August 2006 at 8:44pm
Back to Top
__n3o__ View Drop Down
Groupie
Groupie
Avatar

Joined: 08 November 2005
Location: United Kingdom
Status: Offline
Points: 135
Post Options Post Options   Thanks (0) Thanks(0)   Quote __n3o__ Quote  Post ReplyReply Direct Link To This Post 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 ...


Edited by __n3o__ - 23 August 2006 at 8:21pm
Back to Top
 Post Reply Post Reply Page  12>

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.