Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
MyBB Popup Links?
#1
Hi All,

In free time I tend to create websites on different topics. I recently went onto fansites for games.

In this new site, I am putting in a radio. I need a radio that will not reload while browsing the forum, so putting the radio player code in the header or footer would be a bad idea.

I came up with a new idea. Remember when you open up a chat window of a company? When you click the link, The chat will open in a new window, at the defined size to the chat script.

Does anyone know what code I need to make a page load in a certain size new window when the link is clicked?

Thanks for any assistance,

-GBD.
Reply
#2
MyBB's Buddy List does that.

I'm sure you could nick the coding for it, and implement it for your radio.

EDIT:

Code:
<a href="#" onclick="MyBB.popupWindow('{$mybb->settings['bburl']}/misc.php?action=buddypopup', 'buddyList', 350, 350);">{$lang->welcome_open_buddy_list}</a>

I assume this is what you are looking for. I'm sure it is easy to adapt.

EDIT:

Code:
<a href="#" onclick="MyBB.popupWindow('URL OF RADIO', 350, 350);"><img src="RADIO BUTTON URL" /></a>
Reply
#3
Thank you, That helped alot, and it worked. The fact you made an edit and simply told me what to change was very handy. Thanks once again.
Reply
#4
No problem. Good luck with your forum.
Reply
#5
http://mcompute.co.uk/showthread.php?tid=142

see this i hope u get more info
[Image: lt79ucY.png]
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How To Install MyBB | MyBB Installation Guide BreShiE 2 1,416 03-10-2012, 06:33 AM
Last Post: BreShiE
  MyBB question @OMNI or any other mybb Guru's 0xE9 13 29,614 07-28-2011, 01:29 PM
Last Post: Pompano
  How to Make your MYBB Central Plugin Compatible with new Mybb Billy Mays 3 2,134 07-12-2011, 06:40 PM
Last Post: Billy Mays
  Post Issue with links kickhsc 2 904 01-25-2011, 09:01 PM
Last Post: Dii xOx
  PopUp Alert for Private Message on Mybb? Reality 3 1,806 09-10-2010, 02:10 PM
Last Post: Robbieava

Forum Jump:


Users browsing this thread: 3 Guest(s)