So maybe for some this is obvious, but I know for myself, and some others it isn't.

 

To embed your ning chat on any page of your ning network, or any website for that matter simply put your ning url in the code below, and paste it where you want it.

You can also, of course, change the size to fit your own needs.

 

<iframe src="http://YOURNINGURL/chat/index/popOutWindow" name="Chat" scrolling="no" frameborder="no" align="center" height="450px" width="450px" id="Chat"></iframe>

 

 

Hope this helped! :)

Views: 1187

Reply to This

Replies to This Discussion

Hey everyone,

I wanted to share the following popup chat code. Works very well for me!

 

The code - Put in your custom code box:

<script type="text/javascript">

// Popup Window Script (version 3.0) //Visit www.changchunstuff.com //Win Type: Pop Up | Session Only  

var popurls=new Array() popurls[0]="http://www.changchunstuff.com/chat/index/popOutWindowV4"

function openpopup(popurl){ var winpops=window.open(popurl,"","width=600,height=500,menubar,resizable") }

function get_cookie(Name) {   var search = Name + "="   var returnvalue = "";   if (document.cookie.length > 0) {     offset = document.cookie.indexOf(search)     if (offset != -1) { // if cookie exists       offset += search.length       // set index of beginning of value       end = document.cookie.indexOf(";", offset);       // set index of end of cookie value       if (end == -1)          end = document.cookie.length;       returnvalue=unescape(document.cookie.substring(offset, end))       }    }   return returnvalue; }

function loadornot(){ if (get_cookie('jkpopup')==''){ openpopup(popurls[Math.floor(Math.random()*(popurls.length))]) document.cookie="jkpopup=yes" } }

loadornot() </script>

-----------------------------------------------------------------------

One thing, Anyone know how to make it pop behind the main browser page?

I visited your site Andrew, The chat looks good,i see you have animation as well, looks like it's working great, Have a great week.

Best wishes Dave.

Nice

This is what I did with mine.

.xg_chat.chatModule #userListContainer {
    display: inline-block;
}
.xg_chat.chatModule .xg_chatWindow .xg_messageListHeading {
    display: none;
}
.xg_chat.chatModule .xg_chatWindow ul.xg_messageList {
    top: 2px !important;
    width: 750px !important;
right: 10px;
left: 5px !important;
box-shadow: 0px 2px 8px -2px #000;
background: #fff !important;
}
.xg_chat.chatModule .xg_chatWindow .xg_messageListFooter {
box-shadow: 0px 2px 8px -2px #000;
}
.xg_chat.chatModule .xg_chatWindow {
    background: none repeat scroll 0% 0% #e5e5e5 !important;
}

.xg_theme .xj_ad_below_header {
    padding-top: 0px !important;
box-shadow: none;
}
.xg_chat.chatModule .xg_info.xg_activeConversations {
    display: none;
}
.xg_chat.chatModule #userListContainer {
    border: none;
height: 100% !important;
}
.xg_chat .xg_bottomBar {
    position: absolute;
    bottom: 1px;
}

Anyone have any updated code on this? The first code doesn't seem to work any longer. Maybe because of chat program upgrades?

Here is the new code! Enjoy!

<iframe src="
http://YOURNINGURL/chat/index/popOutWindowV4" name="Chat" scrolling="no" frameborder="no" align="center" height="450px" width="450px" id="Chat"></iframe>

The URL needed a V4 at the end. 

And if I want to embed a chat in a private group, without it be available in another part of my Ning network? Is it possible?

I think it is not.

Hi!

When I use this code to insert chat into my mobile website, there's an issue with height.  How can that best be resovled? Can it be scaled to fit?  Thanks!

RSS

Latest Activity

Skye replied to Jen's discussion 'Jen's Running List - Updated 4/6/2013' in the group The Sandbox
"I have to say this seems to be a bit much, all I hear of are issues. This does not bring faith to…"
8 minutes ago

NC for Hire
Jen replied to Jen's discussion 'Jen's Running List - Updated 4/6/2013' in the group The Sandbox
"Allison, Do we need to submit support tickets? This is a critical issue. If we can't trust our…"
16 minutes ago
Danilo Junqueira replied to Danilo Junqueira's discussion 'Inform you that I am not getting, perform the following functions:'
"I've tried all options and the error continues. Called number 01732962 I am not able to add…"
16 minutes ago
Kos replied to Danilo Junqueira's discussion 'Inform you that I am not getting, perform the following functions:'
"If you have tried to clear your browsers cache and tried a diff. browser and still have problems, I…"
26 minutes ago
Kos replied to Kos's discussion '3.0 My Thoughts From A Non-Coder (edited 5/21/13)' in the group The Sandbox
"Edit to ask: is this a glitch in forum display? "
28 minutes ago
Andre Lacerda replied to Andre Lacerda's discussion 'How can I change the Blog Layout?' in the group The Sandbox
"Lets hope they are reading. Anyways I will open a ticket and see what they say."
1 hour ago
Kos replied to Andre Lacerda's discussion 'How can I change the Blog Layout?' in the group The Sandbox
"I interpreted that incorrectly.  You're right; many others have pointed out the wrapping…"
1 hour ago

NC for Hire
SweetPotato replied to Andre Lacerda's discussion 'How can I change the Blog Layout?' in the group The Sandbox
"This has to be a bug, i think Ning will fix this. I'd flagged it previously, as has Jen, so…"
1 hour ago

© 2013   Created by Ning.

Badges  |  Report an Issue  |  Terms of Service