jQuery Plugin – jQzoom
今天馬老師來介紹一個微星科技的網頁有利用到的技術 – jQzoom,大家可以先到微星的官網參考這個效果
現在的網頁已經儘可能的把一些不需要使用Flash的地方,利用Javascript、CSS或HTML5的技術取代,這樣不斷可以減輕網頁的負載和流量,更可以達到SEO(搜尋引擎最佳化)的效果。
所以因應而生的jQuery相關技術作品就越來越多了,好吧!廢話不多說,請看馬老師製作的範例頁面與範例檔案下載,這個範例應用到的網頁程式碼和說明如下,大家可以參考我所輸入的一些註解來更改成自己想要的形式:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>jQzoom Sample</title> <script type="text/javascript" src="js/jquery-1.6.js"></script> <script type="text/javascript" src="js/jquery.jqzoom-core.js"></script> <link rel="stylesheet" type="text/css" href="css/jquery.jqzoom.css"> <style type="text/css"> *{margin:0;padding:0;}/* 把HTML中所有邊界和填充歸零 */ #layout{margin-left:auto;margin-right:auto;width: 500px;}/* 定義主板面寬度和置中 */ #big {width: 500px; height:350px;}/* 定義大圖版面寬、高 */ #small {width: 500px; height:100px;}/* 定義小圖版面寬、高 */ ul#thumblist{display:block;}/* 定義超連結清單顯示方式 */ ul#thumblist li{float:left;margin-right:2px;list-style-image: none;list-style-type: none;}/* 定義清單項目浮動、間距、不顯示項目符號與圖片 */ ul#thumblist li a{display:block;border:1px solid #CCC;}/* 定義超連結項目顯示方式、邊框 */ ul#thumblist li a.zoomThumbActive{border:1px solid red;}/* 定義目前檢視項目邊框,套用在第一張縮圖上(本類別為js使用,更換名稱後會失去效果) */ .jqzoom{float:left; text-decoration:none;}/* 套用在欲放大顯示的圖片連結上(本類別為js使用,更換名稱後會失去效果) */ </style> <script type="text/javascript"> $(document).ready(function() { $('.jqzoom').jqzoom({zoomType: 'reverse',alwaysOn:false,zoomWidth:400,zoomHeight:324,showEffect:'fadein'}); }); /* 放大顯示照片效果設定共有以下選項可修改 zoomType:共有standard、reverse、drag、innerzoom四種效果(預設值standard) zoomWidth:照片放大顯示區域寬(預設值300) zoomHeight:照片放大顯示區域高(預設值300) xOffset:放大顯示區域橫向位移(預設值10) yOffset:放大顯示區域縱向位移(預設值0) position:放大顯示區域位置,可以使用right,left,top,bottom這些設定(預設值right) preloadImages:如果設定成true,會在網頁載入時會預先把所有大張的圖片都預先載入進來(預設值true) preloadText:載入中顯示的文字(預設值:Loading zoom) title:如果設定成true,會在放大顯示區域上方顯示圖片的title(預設值:true) lens:如果設定成true,會在滑鼠移動時顯示放大區域範圍(預設值:true) imageOpacity:設定圖像的不透明度,需將zoomType設定成reverse模式(預設值:0.4) showEffect:設定放大區塊的淡入效果,共有show,fadein這兩個效果(預設值:show) hideEffect:設定放大區塊的淡出效果,共有hide,fadeout這兩個效果(預設值:hide) fadeinSpeed:設定淡入效果速度,可以使用fast,slow或輸入數值來控制(預設值:slow) fadeoutSpeed:設定淡出效果速度,可以使用fast,slow或輸入數值來控制(預設值:2000) */ </script> </head> <body> <div id="layout"> <div id="big"> <a class="jqzoom" href="images/big/msi_b1.jpg" title="微星筆記型電腦" rel='msi'><img src="images/small/msi_s1.jpg" width="400" height="320" title="微星筆記型電腦側面照" style="border: 3px solid #666;" /></a> </div> <div id="small"> <ul id="thumblist"> <li class="zoomThumbActive"><a href='javascript:void(0);' rel="{gallery: 'msi', smallimage: 'images/small/msi_s1.jpg',largeimage: 'images/big/msi_b1.jpg'}"> <img src="images/thumbnail/msi_t1.jpg" width="70" height="56" /></a></li> <li><a href='javascript:void(0);' rel="{gallery: 'msi', smallimage: 'images/small/msi_s2.jpg',largeimage: 'images/big/msi_b2.jpg'}"> <img src="images/thumbnail/msi_t2.jpg" width="70" height="56" /></a></li> <li><a href='javascript:void(0);' rel="{gallery: 'msi', smallimage: 'images/small/msi_s3.jpg',largeimage: 'images/big/msi_b3.jpg'}"> <img src="images/thumbnail/msi_t3.jpg" width="70" height="56" /></a></li> <li><a href='javascript:void(0);' rel="{gallery: 'msi', smallimage: 'images/small/msi_s4.jpg',largeimage: 'images/big/msi_b4.jpg'}"> <img src="images/thumbnail/msi_t4.jpg" width="70" height="56" /></a></li> <li><a href='javascript:void(0);' rel="{gallery: 'msi', smallimage: 'images/small/msi_s2.jpg',largeimage: 'images/big/msi_b5.jpg'}"> <img src="images/thumbnail/msi_t5.jpg" width="70" height="56" /></a></li> </ul> </div> </div> </body> </html>
註:本範例所使用的圖片版權屬於微星科技公司所有。
비아그라 25mg
비아그라 25mg에 대한 진상: 작동 방식 및 기대 사항
https://www.overthemonster.com/users/shepparduvg897
https://viastoer.blogspot.com/2024/07/blog-post_87.html
https://rosy-parrot-dc4vlr.mystrikingly.com/blog/a97919b6a91
https://chestnut-reindeer-dc4vl8.mystrikingly.com/blog/4a63f35750a
https://xn--kb-ro2i3ru49at1jokm7ma.mystrikingly.com/blog/60b39c009c0
https://tinted-rabbit-dc4vlt.mystrikingly.com/blog/261480ec452
https://xn--gq-2e2i723b91ktjas9l307b.mystrikingly.com/blog/98d0ef9131d
비아그라(성분명: 실데나필)는 발기부전 치료제로 많은 사용자에게 도움을 주고 있습니다. 사용자 리뷰를 통해 비아그라의 장점과 단점을 종합적으로 살펴보겠습니다.
비아그라의 장점과 단점: 사용자 리뷰
https://naveridbuy.blogspot.com/2024/07/blog-post_7.html
https://garnet-giraffe-dc4vlq.mystrikingly.com/blog/f7087d2c3de
News on Derek Chauvin’s murder trial for the death of George Floyd, the verdict and the resulting reaction. Chauvin, who was convicted of second- and third-degree murder, as well as second-degree manslaughter, stood up quickly after the judge ordered his bail revoked and compliantly placed his hands to be handcuffed before he was led out of the courtroom. He faces up to 75 years in prison when he returns for sentencing in eight weeks. However, under Minnesota law, the sentences are likely to run concurrently, meaning Chauvin would serve no more than 40 years in prison. Chauvin’s team is again pushing for what’s known as a Schwartz hearing to probe alleged bias, because they say the juror didn’t honestly answer a question on the jury selection questionnaire about whether he had attended any protests against police brutality after Floyd’s death.
https://andrepapi472887.ezblogz.com/58187418/cnbc-stock-news
Watson has apologized for the pain caused and those “triggered” by the situation, but has maintained his innocence throughout. Deshaun Watson threw two touchdown passes and Kareem Hunt ran for another as the Cleveland Browns shut out the Arizona Cardinals, 27-0. In her conclusion, Robinson cited Watson’s lack of remorse as a factor in her decision. Watson apologized for the first time “to all the women that I have impacted” before making his Browns’ debut in an exhibition in Jacksonville. Akins recorded career-best totals in receptions (37), receiving yards (495) and touchdowns (five) in 15 games (three starts) last season. Some in attendance at the half-empty stadium came to try to make a point, as Hannah McNair did. Others, from Houston and Cleveland, came to show support for Watson, believing, with the legal process complete, he should be able to move on. Many more, it seemed, were just there for a football game, and not as morality play. And Watson was there to play football.
긴장해서 안 서요
긴장해서 안 서는 몇 가지 대안
Headquartered in Toronto, Hotspex Media’s team of brand builders and strategic media planners have worked with a number of leading global brands that include names like Under Armour, Panasonic, and The Home Depot. On Clutch, they’re also one of the most-reviewed media buying agencies and their clients have praised them for their knowledge, dogged determination, and collaborative approach. By strategically placing ads, they help companies reach their target audience in the most effective and cost-efficient manner. The media buyer negotiates rates and placement positions with publishers or ad networks that align with the business objectives and budget of their clients. For effective advertising campaigns, media buyers work with copywriters, art directors, and account managers in advertising agencies or in-house marketing departments. Additionally, they monitor and analyze the effectiveness and ROI of ads.
https://jaidenlacy343158.bluxeblog.com/58635945/digital-marketing-development
Leverage our software development expertise to build custom applications, modernize legacy systems, and build powerful API integrations. Being one of the most reliable PHP development company in Abroad and in INDIA, Dean Infotech provides highly interactive, tailored and dynamic websites and web applications with the customized business solutions. We offer the business solutions that offer maximum ROI to fulfil the business requirements. Our team of professionals takes up the challenge with the intent of delivering robust and dynamic web applications. What is PEAR in PHP? Leverage our software development expertise to build custom applications, modernize legacy systems, and build powerful API integrations. Expand your project capabilities with software developers well-versed in more programming languages, both server-side and front-end. Your project will be delivered end to end by a multi-competent team that works following a shared approach and best practices.
https://www.multichain.com/qa/user/naveridbuy
비아그라 효능과 남성 자신감의 회복
비아그라의 효능과 남성 자신감의 회복
https://xn--kg-ro2i3ru49at1jokm7ma.mystrikingly.com/blog/9697eee35e3
비아그라 성분
비아그라의 효능 발휘: 성분 종합 가으드
https://gajweor.pixnet.net/blog/post/157629283
cheap finasteride for sale – purchase cardura generic uroxatral 10mg drug
https://xn--zw-hd0j5a097plop.mystrikingly.com/blog/b1c8e7f6713
https://xn--ky-ro2i3ru49at1jokm7ma.mystrikingly.com/blog/9a2125e8aee
https://www.overthemonster.com/users/shepparduvg897
https://www.bluebirdbanter.com/users/naveridbuy
https://carmine-elephant-dc4vlj.mystrikingly.com/blog/e5454126880
비아그라 크기 변화
비아그라와 남성 성기 크기: 사실과 오해
https://puce-ant-dc4vl4.mystrikingly.com/blog/07d8feb6cde
https://viastoer.blogspot.com/2024/07/blog-post_41.html
20대 비아그라
20대와 비아그라: 이해하고 올바르게 사용하는 방법
인도 비아그라
인도의 비아그라: 사용을 둘러싼 법적 및 윤리적 고려 사항