MyBB Community Forums

Full Version: Close the shoutbox when click on a link
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How can i close the shoutbox window when i click on a link, i have tried with the javascript code

<a href="javascript:window.close();">Close This Window</a> 

but it doesnt seems to work

http://theworld.6x.to
If the shoutbox opens a new browser window try the following code (you have to remove the blank space between java and script!):
<a href="javascript:self.close();">Close Window</a>