2014-11-04 68 views
0

這是我的頁面:http://www.candoor.ca/index-1.html 我使用的滑塊是slippry滑塊。可以在滑動滑塊圖像導航到頁面以外定義href =「」

下載如果我點擊它加載的公司簡介頁面橫幅圖像,而在HTML我有這樣的:

<ul id="slippry-demo"> 
 
    <li> 
 
    <a href="/cat_name/Commercial-Garage-Doors.aspx"> 
 
     <img src="img/commercial-industrial-doors.jpg" alt="Commercial and Industrial Doors"> 
 
    </a> 
 
    </li> 
 
    <li> 
 
    <a href="/cat_name/Loading-Dock-Products.aspx"> 
 
     <img src="img/loading-dock-products.jpg" alt="Loading Dock Products and Equipment"> 
 
    </a> 
 
    </li> 
 
    <li> 
 
    <a href="/cat_name/Roll-Up-Shutters.aspx"> 
 
     <img src="img/grilles-shutters.jpg" alt="Shutters and Grilles"> 
 
    </a> 
 
    </li> 
 
    <li> 
 
    <a href="/cat_name/Residential-Garage-Doors.aspx"> 
 
     <img src="img/residential-garage-doors.jpg" alt="Residential Garage Doors"> 
 
    </a> 
 
    </li> 
 
    <li> 
 
    <a href="/cat_name/Commercial-Door-Operators.aspx"> 
 
     <img src="img/garage-gate-operators.jpg" alt="Commercial Operators, Garage and Gate Openers"> 
 
    </a> 
 
    </li> 
 
    <li> 
 
    <a href="/about-candoor.aspx"> 
 
     <img src="img/authorized-distributor.jpg" alt="Authorized Distributor"> 
 
    </a> 
 
    </li> 
 
</ul>

回答

0

沒有你添加它會將空div做工精細試試這個:

<ul id="slippry-demo"> 
 
<li> 
 
<a href="/cat_name/Commercial-Garage-Doors.aspx" ><img src="img/commercial-industrial-doors.jpg" alt="Commercial and Industrial Doors"></a> 
 

 
</li> 
 
<li> 
 
<a href="/cat_name/Loading-Dock-Products.aspx" ><img src="img/loading-dock-products.jpg" alt="Loading Dock Products and Equipment"></a> 
 

 
</li> 
 
<li> 
 
<a href="/cat_name/Roll-Up-Shutters.aspx" ><img src="img/grilles-shutters.jpg" alt="Shutters and Grilles"></a> 
 

 
</li> 
 
<li> 
 
<a href="/cat_name/Residential-Garage-Doors.aspx"><img src="img/residential-garage-doors.jpg" alt="Residential Garage Doors"></a> 
 

 
</li> 
 
<li> 
 
<a href="/cat_name/Commercial-Door-Operators.aspx" ><img src="img/garage-gate-operators.jpg" alt="Commercial Operators, Garage and Gate Openers"></a> 
 

 
</li> 
 
<li> 
 
<a href="/about-candoor.aspx" ><img src="img/authorized-distributor.jpg" alt="Authorized Distributor"></a> 
 

 
</li> 
 
</ul>

+0

那不是空的Div。它包含滑塊圖像下方的標題。我剛剛刪除了p標籤中的文本,以便在此處發佈問題。 – 2014-11-04 09:49:58

+0

okeey對不起:)如果你想使用標題,你必須按照文檔: http://slippry.com/examples/portfolio/ – 2014-11-04 09:52:22

+0

我跟着他們,任何人都可以幫忙嗎? – 2014-11-04 17:29:20