TinyPortal

Development => Support => Topic started by: cepsi on February 21, 2009, 02:12:08 PM

Title: Flashchat in a pop up window
Post by: cepsi on February 21, 2009, 02:12:08 PM
im trying to get my flashchat to pop up in a new window (floating)  from an image in a TP block. Im using/trying to use the following code,

<a href="http://www.thepokerpod.com/podforum/chat/FlashChat_v508/chat/flashchat.php" onclick="window.open('http://www.thepokerpod.com/podforum/chat/FlashChat_v508/chat/flashchat.php','popup','width=600,height=400,scrollbars=yes,resizable=yes,toolbar=no,directories=no,location=no,menubar=no,status=no,left=50,top=0'); return false"><img border="0" src="http://www.thepokerpod.com/podforum/Themes/dark_4/images/Rollovers/Myarchive.png"></a>

in a html box, but im getting errors each time. Is there an error in the code or is this a flashchat prob? Thanks for any help.
(What im trying to acheive is the same popout that rebelrose (http://www.rebelrosenetworks.com/forum/index.php/topic,1779.msg8966.html#msg8966) has on her site when you click the chat image on the left)

thx for any help on this.

EDIT: this is what is coming up in my TP block with the above code;

http://www.thepokerpod.com/podforum/chat/FlashChat_v508/chat/flashchat.php','popup','width=600,height=400,scrollbars=yes,resizable=yes,toolbar=no,directories=no,location=no,menubar=no,status=no,left=50,top=0'); return false">

in text

Link to my site: http://www.thepokerpod.com
SMF version: SMF ver.1.1.8
TP version: TP ver. 1.0.5 BETA
Theme name and version: Dark_4
Title: Re: Flashchat in a pop up window
Post by: Renegd98 on February 21, 2009, 02:19:57 PM
Hey cepsi, I have seen you over at TPM also. Try using the search here for an answer or go to <a href="http://www.tinyportalmedia.com">TPM </a> and do a search. There are many topics there on flashchat integration.
Title: Re: Flashchat in a pop up window
Post by: cepsi on February 21, 2009, 02:24:57 PM
thx will check it out i didnt think to look there (everywhere but! ) lol

EDIT: PS did search here but its all re integration (or what ive found so far) all im trying to do is open it in a pop upwindow by clicking on an image from code in a TP block  >:D
Title: Re: Flashchat in a pop up window
Post by: ZarPrime on February 21, 2009, 06:02:26 PM
cepsi,

What kind of block are you using?  Try a script block instead.

ZarPrime
Title: Re: Flashchat in a pop up window
Post by: cepsi on February 21, 2009, 06:33:35 PM
thx zar, at the moment no blocks cos my website is kaput! lol doing a restore atm