TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

April 18, 2024, 07:37:17 PM

Login with username, password and session length
Members
  • Total Members: 3,885
  • Latest: Growner
Stats
  • Total Posts: 195,164
  • Total Topics: 21,219
  • Online today: 203
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online
  • Users: 0
  • Guests: 83
  • Total: 83

Flashchat in a pop up window

Started by cepsi, February 21, 2009, 02:12:08 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

cepsi

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 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

Renegd98

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.

cepsi

#2
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

ZarPrime

cepsi,

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

ZarPrime

cepsi

thx zar, at the moment no blocks cos my website is kaput! lol doing a restore atm