Page 1 of 1

How to adjust window size

Posted: Mon Sep 16, 2002 4:56 pm
by Oliver
for the smiley popup.

Now I've added some extra smileys the window size is too small (eg horizontal scrollbar) and I'd like to make it a bit bigger. I've seen in functions_post.php the javascript part for it, but I can't find how to set the size of this window :(

Help please :)

Thanks in advance,

Olli

Posted: Mon Sep 16, 2002 6:50 pm
by nexialys
simple... where do you think you have to look at when you activate the smilies popup ?!

posting.php... and if you are in the posting page, where the activation take place ?!... in posting_body.tpl...

so look at this:

Code: Select all

				<!-- BEGIN switch_smilies_extra -->
				<tr align="center"> 
				  <td colspan="{S_SMILIES_COLSPAN}"><span  class="nav"><a href="{U_MORE_SMILIES}" onclick="window.open('{U_MORE_SMILIES}', '_phpbbsmilies', 'HEIGHT=300,resizable=yes,scrollbars=yes,WIDTH=250');return false;" target="_phpbbsmilies" class="nav">{L_MORE_SMILIES}</a></span></td>
				</tr>
				<!-- END switch_smilies_extra -->

HEIGHT=300
WIDTH=250

:) :)

ya ya, thanks!, i know.. :)

Posted: Mon Sep 16, 2002 10:03 pm
by Oliver
Thanks :P :P :P

Posted: Tue Sep 17, 2002 8:44 pm
by Colin
that worked for me, too :)

thanks 8)