Home Web Front-end HTML Tutorial 网页版的页面分享_html/css_WEB-ITnose

网页版的页面分享_html/css_WEB-ITnose

Jun 24, 2016 am 11:36 AM

这个页面的框架用的是JQueryMobile,具体使用的是百度分享内容。如果有问题请查看百度分享API

网址 http://share.baidu.com/code 

@{    ViewBag.Title = "";}@section jsheader{    <script src="../../Scripts/ShareCode/ShareCode.js" type="text/javascript"></script>}<div class="container-fluid loginAll" style="background-color: #f0efef;">    <div class="row">        <div class="col-xs-12">            <div class="row loginTitle">                <div class="col-xs-12">                    <div class="row">                        <div class="col-xs-2">                         <a href="@Url.Content("~/Personal/Index")"><img  class="img-responsive lazy"  src="/static/imghw/default1.png"  data-src="../../Content/images/left.png"  alt="网页版的页面分享_html/css_WEB-ITnose" ></a>                        </div>                        <div class="col-xs-8 loginTitleTxt">                            标题</div>                        <div class="col-xs-2"></div>                    </div>                </div>            </div>            <div class="row  ">            </div>            <div class="row"   style="max-width:90%">                <div class="col-xs-12" style="font-family: 微软雅黑">                    <div class="row">                    </div>                </div>            </div>            <div class="row">                <div class="col-xs-2">                </div>                <div class="col-xs-8">                    <span id="FXCode" class="fenxiangbut">分  享</span>                </div>                <div class="col-xs-2">                </div>            </div>            <div class="row" id="zzc" style="display: none;">            </div>            <div class="row" id="FXcontent" style="display: none;">                <div class="col-xs-1">                </div>                <div class="bdsharebuttonbox col-xs-10">                    <div class="row fenxiangtu">                        <div class="col-xs-3">                            <a href="#" class="bds_qzone" data-cmd="qzone" style="margin: 0px auto; float: none"                                title="分享到QQ空间"></a><span>QQ</span>                        </div>                        <div class="col-xs-3">                            <a href="#" class="bds_tsina" data-cmd="tsina" style="margin: 0px auto; float: none"                                title="分享到新浪微博"></a><span>新浪</span>                        </div>                        <div class="col-xs-3">                            <a href="#" class="bds_tqq" data-cmd="tqq" style="margin: 0px auto; float: none"                                title="分享到腾讯微博"></a><span>腾讯</span>                        </div>                        <div class="col-xs-3">                            <a href="#" class="bds_renren" data-cmd="renren" style="margin: 0px auto; float: none"                                title="分享到人人网"></a><span>人人</span>                        </div>                    </div>                    <div class="row fenxiangtu">                        <div class="col-xs-3">                            <a href="#" class="bds_tqf" data-cmd="tqf" style="margin: 0px auto; float: none"                                title="分享到腾讯朋友"></a><span>朋友</span>                        </div>                        <div class="col-xs-3">                            <a href="#" class="bds_sqq" data-cmd="sqq" style="margin: 0px auto; float: none"                                title="分享到QQ好友"></a><span>好友</span>                        </div>                        <div class="col-xs-3">                            <a href="#" class="bds_weixin" data-cmd="weixin" style="margin: 0px auto; float: none"                                title="分享到微信"></a><span>微信</span>                        </div>                        <div class="col-xs-3">                            <a href="#" class="bds_mail" data-cmd="mail" style="margin: 0px auto; float: none"                                title="分享到邮件分享"></a><span>邮件</span>                        </div>                    </div>                    <div class="row">                        <div class="col-xs-1">                        </div>                        <div class="col-xs-10">                            <span id="quxiaoShare">取消分享</span>                        </div>                        <div class="col-xs-1">                        </div>                    </div>                </div>                <div class="col-xs-1">                </div>            </div>        </div>    </div></div><script type="text/javascript">    var content = $("#InvitationCodeNum").text();    window._bd_share_config = {        "common": {            "bdText": "这是分享标题" + content,            "bdMini": "2",            "bdDesc": "这是分享内同" + content,            "bdMiniList": false,            "bdPic": content,            "bdUrl": "Url地址" + content + "&",                 "bdStyle": "1",            "bdSize": "32"        },        "share": {},        "image": {            "viewList": ["qzone", "tsina", "tqq", "renren", "weixin", "tqf", "sqq", "mogujie", "meilishuo", "mail"],            "viewText": "分享到:", "viewSize": "32"        },        "selectShare": {            "bdContainerClass": null,            "bdSelectMiniList": ["qzone", "tsina", "tqq", "renren", "weixin", "tqf", "sqq", "mogujie", "meilishuo", "mail"]        }    };    with (document) 0[(getElementsByTagName('head')[0] || body).appendChild(createElement('script')).src = 'http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion=' + ~(-new Date() / 36e5)];</script>
Copy after login

 

 

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Is HTML easy to learn for beginners? Is HTML easy to learn for beginners? Apr 07, 2025 am 12:11 AM

HTML is suitable for beginners because it is simple and easy to learn and can quickly see results. 1) The learning curve of HTML is smooth and easy to get started. 2) Just master the basic tags to start creating web pages. 3) High flexibility and can be used in combination with CSS and JavaScript. 4) Rich learning resources and modern tools support the learning process.

The Roles of HTML, CSS, and JavaScript: Core Responsibilities The Roles of HTML, CSS, and JavaScript: Core Responsibilities Apr 08, 2025 pm 07:05 PM

HTML defines the web structure, CSS is responsible for style and layout, and JavaScript gives dynamic interaction. The three perform their duties in web development and jointly build a colorful website.

Understanding HTML, CSS, and JavaScript: A Beginner's Guide Understanding HTML, CSS, and JavaScript: A Beginner's Guide Apr 12, 2025 am 12:02 AM

WebdevelopmentreliesonHTML,CSS,andJavaScript:1)HTMLstructurescontent,2)CSSstylesit,and3)JavaScriptaddsinteractivity,formingthebasisofmodernwebexperiences.

Gitee Pages static website deployment failed: How to troubleshoot and resolve single file 404 errors? Gitee Pages static website deployment failed: How to troubleshoot and resolve single file 404 errors? Apr 04, 2025 pm 11:54 PM

GiteePages static website deployment failed: 404 error troubleshooting and resolution when using Gitee...

What is an example of a starting tag in HTML? What is an example of a starting tag in HTML? Apr 06, 2025 am 12:04 AM

AnexampleofastartingtaginHTMLis,whichbeginsaparagraph.StartingtagsareessentialinHTMLastheyinitiateelements,definetheirtypes,andarecrucialforstructuringwebpagesandconstructingtheDOM.

How to use CSS3 and JavaScript to achieve the effect of scattering and enlarging the surrounding pictures after clicking? How to use CSS3 and JavaScript to achieve the effect of scattering and enlarging the surrounding pictures after clicking? Apr 05, 2025 am 06:15 AM

To achieve the effect of scattering and enlarging the surrounding images after clicking on the image, many web designs need to achieve an interactive effect: click on a certain image to make the surrounding...

HTML, CSS, and JavaScript: Essential Tools for Web Developers HTML, CSS, and JavaScript: Essential Tools for Web Developers Apr 09, 2025 am 12:12 AM

HTML, CSS and JavaScript are the three pillars of web development. 1. HTML defines the web page structure and uses tags such as, etc. 2. CSS controls the web page style, using selectors and attributes such as color, font-size, etc. 3. JavaScript realizes dynamic effects and interaction, through event monitoring and DOM operations.

How to distinguish between closing a browser tab and closing the entire browser using JavaScript? How to distinguish between closing a browser tab and closing the entire browser using JavaScript? Apr 04, 2025 pm 10:21 PM

How to distinguish between closing tabs and closing entire browser using JavaScript on your browser? During the daily use of the browser, users may...

See all articles