Make the Chat button open in a new window.

Started by Dr Web, January 04, 2009, 03:00:32 PM

Previous topic - Next topic

Dr Web

I added a Chat button to my SMF 2.0 B4 forum, but, I want it to open in a new window, so I searched this forum and I found this topic below, I tried the code of the 5th post of the topic, but, it doesn't work, how can I do that?

http://www.simplemachines.org/community/index.php?topic=230644.0

Thanks for any help.
Never approach a bull from the front, a horse from the rear, or an idiot from any direction ;D

codebirth

#1
Try replacing with this instead

'href' => 'http://www.yoursite.com/chat" target="_blank',

It works for me

Dr Web

Never approach a bull from the front, a horse from the rear, or an idiot from any direction ;D

Advertisement: