6個Web前端非常精美的flash+xml焦點圖(附源碼),webxml

來源:互聯網
上載者:User

6個Web前端非常精美的flash+xml焦點圖(附源碼),webxml

1.  flash+xml焦點圖代碼




源碼下載 /  線上示範

 

 

2. 開源flash+xml相簿組件



 

源碼下載 /  線上示範

3. 可關閉及重複播放泰山壓頂廣告



 

源碼下載/   線上示範

4. 立體flash滑塊

能在支援 FireFox、Chrome、Safari、傲遊、搜狗、360瀏覽器。



 

源碼下載 /   線上示範

5.  平滑切換型flash



 

源碼下載/   線上示範

 

6. 翻頁效果顯示flash



 

源碼下載/   線上示範


Flash+XML焦點圖的製作方法

給你一個我常用的JS指令碼吧。
調用語句:
<div id="lad">
<script type="text/javascript" src="flash.js"></script>
</div>
同時要設定好lad的樣式,主要要設定好寬度,然後圖片的高度會自動按比例縮放的。

flash.js的內容:
//圖片滾動展示 Start
//counts為顯示數量//
var counts = 5;
//大圖//
img1 = new Image();
img1.src = 'images/lad-1.gif';
img2 = new Image();
img2.src = 'images/lad-2.gif';
img3 = new Image();
img3.src = 'images/lad-3.gif';
img4 = new Image();
img4.src = 'images/lad-4.gif';
img5 = new Image();
img5.src = 'images/lad-5.gif';

var smallImg = new Array();
//小圖
smallImg[0] = 'images/smallimg1.gif';
smallImg[1] = 'images/smallimg2.gif';
smallImg[2] = 'images/smallimg3.gif';
smallImg[3] = 'images/smallimg4.gif';
smallImg[4] = 'images/smallimg5.gif';

//連結地址
url1 = new Image();
url1.src = '1.html';
url2 = new Image();
url2.src = '2.html';
url3 = new Image();
url3.src = '3.html';
url4 = new Image();
url4.src = '4.html';
url5 = new Image();
url5.src = '5.html';
//alt值
alt1 = new Image();
alt1.alt = 'alt資訊';
alt2 = new Image();
alt2.alt = 'alt資訊';
alt3 = new Image();
alt3.alt = 'alt資訊';
alt4 = new Image();
alt4.alt = 'alt資訊';
alt5 = new Image();
alt5.alt = 'alt資訊';
var nn = 1;
var ke......餘下全文>>
 
flash+xml焦點圖 插入asp頁面為何沒顯示,要就顯示flash,沒顯示圖片??賜教

1. 這是圖片地址不正確導致的,你看看載入的圖片地址是否正確,此處跟普通圖片路徑是不相同的,要相對於FLASH地址而言才行;
2. 還要看看是否IE瀏覽器是不支援載入FLASH圖片,換個Firefox,如果也一樣,就是肯是第1點提到的的情況了;
3. 圖片儲存格式,通常儲存RGB格式才可以顯示;
 

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

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.