代码部署教程

1. 引入CSS

<link href=”css/style.css” rel=”stylesheet” type=”text/css” media=”all” />

2. 引入JS

<script type=”text/javascript” src=”js/jquery.min.js”>
</script>

<script src=”js/easyResponsiveTabs.js” type=”text/javascript”></script>

3. HTML代码

<div class=”main”>
<h1>

Mark Profile Widget</h1>

<div class=”content”>

<div class=”sap_tabs”>

<div id=”horizontalTab” style=”display: block; width: 100%; margin: 0px;”>

<script type=”text/javascript”>

$(document).ready(function () {
$(‘#horizontalTab’).easyResponsiveTabs({
type: ‘default’, //Types: default, vertical, accordion
width: ‘auto’, //auto or any width like 600px
fit: true, // 100% fit in a container
closed: ‘accordion’, // Start closed if in accordion view
activate: function(event) { // Callback function if tab is switched
var $tab = $(this);
var $info = $(‘#tabInfo’);
var $name = $(‘span’, $info);
$name.text($tab.text());
$info.show();
}
});
$(‘#verticalTab’).easyResponsiveTabs({
type: ‘vertical’,
width: ‘auto’,
fit: true
});
});
</script>

<div >

<div class=”port-left”>

<ul class=”resp-tabs-list”>

<img src=”images/1.jpg” alt=”” />

<li class=”resp-tab-item” aria-controls=”tab_item-0″ role=”tab”>

<span>

Details</span>

</li>

<li class=”resp-tab-item” aria-controls=”tab_item-1″ role=”tab”>

<span>

Social</span>

</li>

<li class=”resp-tab-item” aria-controls=”tab_item-2″ role=”tab”>

<span>

Hobbies</span>

</li>

</ul>

</div>

<div class=”port-right”>

<div class=”resp-tabs-container”>

<!– Tab 0 –>

<div class=”tab-1 resp-tab-content” aria-labelledby=”tab_item-0″>

<div class=”profile-content”>

<h2>

Mark Carter </h2>

<h4>

Email</h4>

<div class=”email-group”>

<div class=”email-icon”>

<span>

<img src=”./images/email1.png” alt=””>

</span>

</div>

<div class=”email-form”>

<form>

<input type=”text” class=”fb-ico” value=”markcarter@gmail.com” onfocus=”this.value = ”;” onblur=”if (this.value == ”) {this.value = ‘markcarter@gmail.com’;}”>

</form>

</div>

<div class=”clear”>

</div>

</div>

<h4>

Phone Number</h4>

<div class=”phone-group”>

<div class=”cell-icon”>

<span>

<img src=”./images/phone1.png” alt=””>

</span>

</div>

<div class=”cell-form”>

<form>

<input type=”text” value=”123-456-7890″ onfocus=”this.value = ”;” onblur=”if (this.value == ”) {this.value = ‘123-456-7890’;}”>

</form>

</div>

</div>

</div>

<div class=”clear”>

</div>

</div>

<!– Tab 1 –>

<div class=”tab-1 resp-tab-content” aria-labelledby=”tab_item-1″>

<div class=”social”>

<h2>

Mark Carter </h2>

<div class=”icon-up”>

<div class=”icon-1″>

<div class=”icon-png”>

<a href=”#”>

<span>

<img src=”./images/face1.png” alt=””>

</span>

</a>

</div>

<div class=”text”>

<label>

756</label>

<p>

Friends</p>

</div>

<div class=”clear”>

</div>

</div>

<div class=”icon-2″>

<div class=”icon-png”>

<a href=”#”>

<span>

<img src=”./images/in1.png” alt=””>

</span>

</a>

</div>

<div class=”text”>

<label>

3101</label>

<p>

Contacts</p>

</div>

<div class=”clear”>

</div>

</div>

<div class=”clear”>

</div>

</div>

<div class=”icon-down”>

<div class=”icon-3″>

<div class=”icon-png”>

<a href=”#”>

<span>

<img src=”./images/twit1.png” alt=””>

</span>

</a>

</div>

<div class=”text”>

<label>

4358</label>

<p>

Followers</p>

</div>

<div class=”clear”>

</div>

</div>

<div class=”icon-4″>

<div class=”icon-png”>

<a href=”#”>

<span>

<img src=”./images/google1.png” alt=””>

</span>

</a>

</div>

<div class=”text”>

<label>

923</label>

<p>

Uploads</p>

</div>

<div class=”clear”>

</div>

</div>

<div class=”clear”>

</div>

</div>

</div>

<div class=”clear”>

</div>

</div>

<!– Tab 2 –>

<div class=”tab-1 resp-tab-content” aria-labelledby=”tab_item-2″>

<div class=”hobby”>

<h2>

Mark Carter</h2>

<div class=”hobby-info”>

<h5>

Games</h5>

<p>

Lorem Ipsum is simply dummy text of the printing and typesetting industry.
Lorem Ipsum has been the industry’s standard dummy text ever.
</p>

<h5>

Music</h5>

<p>

Lorem Ipsum is simply dummy text of the printing and typesetting industry.
Lorem Ipsum has been the industry’s standard dummy text ever.
</p>

</div>

</div>

</div>

</div>

</div>

<div class=”clear”>

</div>

</div>

</div>

</div>

</div>

<p class=”footer”>

Copyright © 2016 Mark Profile Widget. All Rights Reserved | Design by <a href=”https://cxvn.com/” target=”_blank”>

w3layouts</a>

</p>

</div>

1.《简洁风格注册页面个人资料网页模板下载》援引自互联网,旨在传递更多网络信息知识,仅代表作者本人观点,与本网站无关,侵删请联系页脚下方联系方式。

2.《简洁风格注册页面个人资料网页模板下载》仅供读者参考,本网站未对该内容进行证实,对其原创性、真实性、完整性、及时性不作任何保证。

3.文章转载时请保留本站内容来源地址,https://www.cxvn.com/html/1460.html