Different visitor welcome pictures: capture visitor portraits using cookies

Source: Internet
Author: User
Haha, everybody. I finally got another article. I don't know if I miss me a day !! Comrades who have commented on this before should have already seen the results: as they can't hold off writing, they are bored to check the cookies recorded on the website. One of them is very familiar to everyone, this is the comment_author that we usually use to welcome guests.

Haha, everybody. I finally got another article. I don't know if I miss me a day !! Comrades who have commented on this before should have already seen the results: as they can't hold off writing, they are bored to check the cookies recorded on the website. One of them is very familiar to everyone, this is the comment_author that we usually use to welcome guests.

Haha, everybody. I finally got another article. I don't know if I miss me a day !!
Comrades who have commented on the results here should have seen the results:


As we couldn't help writing anything, we were bored with checking the cookies recorded on the website. One of them is very familiar to us, which is what we usually use to welcome visitors. comment_authorAnd the other is rarely used. comment_author_email
What can I do with comment_author_email? Used to capture the Avatar.
Now let's get the code and run the following code to your target Visitor:

 
 
 

If you want to implement a visitor's welcome screen like a QQ video like a butterfly, change the code to the following (the specific css value needs to be modified according to your topic)

 

Add css

.fkimg{ float: left; box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.46); margin: 5px 10px 10px 0; width: 68px; height: 68px;}

Well, that's all. Yesterday, the slogan was broken by a steamed stuffed bun, and its promise was fulfilled for welfare ..

In addition, I beg you not to break it because I have no new clothes.

Original address: Different visitor welcome screen: capture the visitor's portrait using cookies and thank the original author for sharing them.

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.