installed with em fine:: question

This shoutbox, fully integrates in phpbb2, support smilies and bbcode
this shoutbox is a shoutbox written for phpbb2, therefor it makes uses of templates and language files

Moderator: Moderators

Forum rules
The content in this forum is dated Dec. 21 2005 and can be used as Archive only. This Forum is LOCKED and READ ONLY !

installed with em fine:: question

Postby dss on Thu 11. Dec, 2003 00:01

Hi,

first post.

I have this addition installed just fine. i wanted to add a simple 600 w, 275 h, frameless popup window using java's simple openwindo script and apply it to the 'shoutbox' link on the top of the frame.

unmodified, that link opens another page with a fairly cumbersome version of the shoutbox in it.

i modified the link to simply go to the shoutbox_view.php

so i can see that the link is accessible.

but the ability to add scripts, html, or really any type of addition is over my head.

i just want to allow users to open the shoutbox as a float, so they can enjoy the site, and monitor shouts as they go.

any idea how i might accomplish this?

dss

example of what i did so far
dss
Poster
Poster
 
Posts: 17
Joined: Wed 10. Dec, 2003 23:43

Postby dss on Fri 12. Dec, 2003 08:15

solved this problem, look to the above example to see how i handled it.

i never located the location of the link in the title bar, however, i did manage to use java**script's simplest script <Openwindow> with the icon in the header.

no <script> needs to be inserted into the header, so it's clean and simple. works fine.

Code: Select all
&nbsp;
<a href="#" onClick="MyWindow=window.open('http://www.yourdomain.com/yourphpBB2root/shoutbox.php',
'MyWindow','toolbar=no,location=no,directories=no,status=no,
menubar=no,scrollbars=auto,resizable=yes,
width=550,height=275,left=100,top=100'); return false;"
class="mainmenu"><img src="templates/subSilver/images/icon_mini_shoutbox.gif"
width="12" height="13" border="0" alt="shoutBOX" hspace="3" />shoutbox
</a>
&nbsp;


the trouble is to make the window 'perfect' in more than one common platform it needs to be 2 different sizes.

Mac standard settings: 500 wide x 225 tall
PC standard settings: 550 wide x 275 tall

anyone know how i can have the header determine the users OS and open the correct window for each platform?

nothing like a perfectly sized window.

dss
dss
Poster
Poster
 
Posts: 17
Joined: Wed 10. Dec, 2003 23:43

Postby BurninFingerTipz on Wed 29. Jun, 2005 09:20

Is there a way to make this pop-up automatically in a new window only once when a member views the forums?
BurninFingerTipz
Poster
Poster
 
Posts: 15
Joined: Wed 29. Jun, 2005 06:37


Return to Fully integrated shoutbox [2.0.6/EM]

Who is online

Users browsing this forum: No registered users and 1 guest

cron