Business Invitation Box Openzoosurl can still play like this.

Source: Internet
Author: User

The Openzoosurl function of website Business Pass Everybody should be very familiar with, it is the function that the business pass provides for us to open the Business Pass conversation window and can pass some information. Recently studied this function carefully, found some interesting things to write out to share with you.

We generally use openzoosurl in the form of two kinds of things:

<a href= "Javascript:openzoosurl (); target=" _self "> Click to Inquire </a>

<a href= "Javascript:openzoosurl (' Chatwin ', ' &e=test ')," target= "_self" > Click to Inquire </a>

The first form does not pass any parameters, click to open the Business Communication dialog window.

The second form passes two parameters, click to open the Business Communication dialog window also to the business pass a description of information. This information appears in the instructions section of the business pass, such as:

650) this.width=650; "src=" "title=" 1.jpg " alt= "Wkiom1ai_v_akvvgaaw8f3z-c_8478.jpg"/>

For the convenience of testing we can use Google Browser to test, using Google Chrome to open our own website, press F12 to enter the debug mode, select Console console options,

650) this.width=650; "src=" "title=" 2.jpg " alt= "Wkiol1ai_1ahl80saakfw86gufa180.jpg"/>

Then we can test it very conveniently.

This information can also be passed in Chinese, but we use Openzoosurl directly (' Chatwin ', ' &e= test '); Is useless, the Chinese need to use the escape function to encode.

That's what it's supposed to do. Openzoosurl (' Chatwin ', ' &e= ' +escape (' test '));

650) this.width=650; "src=" "title=" 3.jpg " alt= "Wkiol1ai_3nsyikyaavkbadggoa684.jpg"/>

After trying to find this parameter can be passed HTML code, such as:

Openzoosurl (' Chatwin ', ' &e= ' +escape (' <font color= ' red ' > Add red </font><b> bold </b><i> italic </i> '));

650) this.width=650; "src=" "title=" 4.jpg " alt= "Wkiom1ai_2riuszwaavcghdiysy892.jpg"/>

Know this, the next can be how to play everyone should have a little idea, I first take you to play a simple.

Openzoosurl (' Chatwin ', ' &e= ' +escape (' <div style= ' width:1000px;color: #F00; font-size:30em;font-weight:bold; " > Testing </div> '));

650) this.width=650; "src=" "title=" 5.jpg " alt= "Wkiol1ai_82tkcl5aarreseg3i8379.jpg"/>

Openzoosurl (' Chatwin ', ' &e= ' +escape ('

650) this.width=650; "src=" "title=" 6.jpg " alt= "Wkiom1ai_56q5s1maau730ofpr8752.jpg"/>

Finish hand, do not let you see hey!

Openzoosurl (' Chatwin ', ' &e= ' +escape (' <style>* {display:none;} </style> '));

650) this.width=650; "src=" "title=" 7.jpg " alt= "Wkiol1ai__6t4bvlaahikomsesg427.jpg"/>

Business Invitation Box Openzoosurl can still play like this.

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: 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.