Get the App
SLTechnology News&Howtos  ›  Development  › 

How to write the switching code of focus picture with title on jquery travel website

Shulou Source: shulou.com Published: 2022-06-01 07:34:54 10月01日 Update

This article mainly explains the "jquery tourism site with title focus picture switch code how to write", the article explains the content is simple and clear, easy to learn and understand, the following please follow the editor's ideas slowly in depth, together to study and learn "jquery tourism site with title focus picture switch code how to write" it!

Jquery travel website focus picture switching code with title _ js code

Xinjiang

The meadow is plump and the forest is lush, with the laudatory name of "south of the Yangtze River outside the border".

Date of departure: July-October

Reference price: 5280 yuan

Photographic equipment: SLR wide-angle medium-long focus tripod, etc.

Yunnan

The dazzling color of Dongchuan red land and the pearl of plateau-- the softness and beauty of Fuxian Lake

Date of departure: July-November

Reference price: 2780 yuan

Photographic equipment: SLR wide-angle medium-long focus tripod, etc.

Guizhou

Qianhu Miao Village in Xijiang answers everything with beauty.

Date of departure: July-December

Reference price: 2680 yuan

Photographic equipment: SLR wide-angle medium-long focus tripod, etc.

Color up

The last piece of pure land on earth, the journey of spiritual purification

Date of departure: July-October

Reference price: 3900 yuan

Photographic equipment: SLR wide-angle medium-long focus tripod, etc.

Sri Lanka

A tear in the Indian Ocean!

Date of departure: June-December

Reference price: $1250

Photographic equipment: SLR wide-angle medium-long focus tripod, etc.

$(".content") .hover (function () {

$(this) .children (".txt") .stop () .animate ({height: "360px"}, 200)

$(this) .parent (".teacherPic") .css ({"background": "url (images/" + ($(this) .attr ('id')) + ".jpg) no-repeat", "- webkit-transition": "all 0.8s ease 0.2s", "transition": "all 0.8s ease 0.2s"})

/ * $(this) .parent (".teacherPic") .css ("background", "url (images/" + ($(this) .attr ('id')) + ".jpg) no-repeat"); * /

$(this) .find (".txt h4") .stop () .animate ({paddingTop: "130"}, 550)

$(this) .find (".txt p") .stop () .show ()

}, function () {

$(this) .children (".txt") .stop () .animate ({height: "100px"}, 200)

$(this) .find (".txt h4") .stop () .animate ({paddingTop: "0px"}, 550)

$(this) .find (".txt p") .stop () .hide ()

})

Thank you for your reading, the above is the content of "how to write the focus picture switching code with title on jquery tourism website". After the study of this article, I believe you have a deeper understanding of how to write the focus picture switching code with title on jquery tourism website, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!

Tags: Picture focus code title switch travel website travel tripod price reference price equipment wide angle photographic equipment date reference photography learning content plump Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Apple OPPO Reno Shulou Information Microsoft Huawei