Deploy woocall to your website for free

Source: Internet
Author: User

Http://blog.csdn.net/zj1103/archive/2008/12/08/3475540.aspx

The embedded code of woocall can be stored anywhere in the source code of Your webpage, but we recommend that you put the code before </body> at the bottom of the source code,

Avoid conflicts with other code on your webpage as much as possible. The following describes how to deploy woocall.
 
1. Use the Web Editor to open the web page where you are about to deploy woocall and view the source code of the web page. Here, Dreamweaver is used as an example.

 
 
2. In the code Display Mode of Dreamweaver, we can see the source code of the webpage. Pull down the scroll bar of the code window,

At the bottom of the Code, find the </body> flag.
 
 

3. To embed woocall Into Your webpage, you must embed the embedded code of woocall here.

Copy the embedded code of your woocall and paste it to the front of </body>.

 
 
4. Finally, upload the updated web page, and you will find it in your browser,

Woocall is displayed on your webpage.

5. If woocall does not appear after the preceding operations, contact us.
 
Woocall advanced options:
1. Change the position of woocall on the page
Woocall is displayed on the right of the webpage by default. Do you want to move woocall to the left of the webpage,

You only need to add the following code before embedding the woocall code to implement this function.

<SCRIPT type = "text/JavaScript" Language = "JavaScript">
Sina_woocall_config = {};
Sina_woocall_config.sbarposi = 'l ';
</SCRIPT>

Sample Code insertion:
 

 
2. classify all woocalls on the website into the same chat room
Have you ever wondered whether to allow users on all pages on your website to communicate in the same chat room,

Of course, woocall can meet your needs. After you deploy woocall on the webpage,

Woocall automatically opens a new chat room based on the URL of the page you deploy,

The URL of the page on which woocall is located is the only benchmark for establishing a chat room in woocall.
If you want http://sports.sina.com.cn/global/ and http://sports.sina.com.cn/

All users in the woocall on the pages of these two URLs chat in the same chat room,

You can add the following code before embedded code of woocall.

<SCRIPT type = "text/JavaScript" Language = "JavaScript">
Sina_woocall_config = {};
Sina_woocall_config.urlcutcharlen = 26;
</SCRIPT>

The number 26 after urlcutcharlen indicates that woocall intercepts the First 26 characters of the URL of the page

Opened a benchmark for a new chat room, thus intercepting the First 26 in http://sports.sina.com.cn/global/

After the character is the http://sports.sina.com.cn/, through this configuration, no matter the user accesses the above two

Any one in the URL will enter the base room at http://sports.sina.com.cn.

Sample Code insertion:
 
 

This article from the csdn blog, reproduced please indicate the source: http://blog.csdn.net/zj1103/archive/2008/12/08/3475540.aspx

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.