Home > Web Front-end > JS Tutorial > jq realizes the sliding switching effect of text on the right side of the picture displayed on the left_jquery

jq realizes the sliding switching effect of text on the right side of the picture displayed on the left_jquery

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-05-16 15:47:34
Original
2023 people have browsed it

Share a jQuery code for sliding text on the left side of the picture and on the right side. This is a list image control image sliding switching code based on jQuery. The rendering is as follows:

Let me share with you the sliding switching effect of displaying pictures on the left and text on the right based on jq. Use div css to arrange the form and borrow jq to achieve special effects. I won’t go into details. Please see the code below.

html code:


1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

31

32

33

34

35

36

37

38

39

40

41

42

43

44

45

46

47

48

49

50

51

52

53

54

55

56

57

58

59

60

61

62

63

64

65

66

67

68

69

70

71

72

73

74

75

76

77

78

79

80

81

82

83

84

85

86

87

88

89

90

91

92

93

94

95

96

97

98

99

100

101

102

103

104

105

106

107

108

109

110

111

112

113

114

115

116

117

118

119

120

121

122

123

124

125

126

127

128

129

130

131

132

133

134

135

136

137

138

139

140

141

142

143

144

145

146

147

148

149

150

151

152

153

154

155

156

157

158

159

160

161

162

163

164

165

166

167

168

169

170

171

172

173

174

175

176

177

178

179

180

181

182

183

184

185

186

187

188

189

190

<div class="index-new w1200 mt30">

    <div class="indexadd mt50 mb60">

      <div id="banners" class="ui-banner">

        <ul class="ui-banner-slides">

          <li><a href=""><img src="images/simgd.jpg" alt="NEW! Get Heart Smart With Essential Omega III" title="NEW! Get Heart Smart With Essential Omega III" /></a></li>

          <li><a href=""><img src="images/simgd.jpg" alt="NEW! Support Your Skin on a Cellular Level" title="NEW! Support Your Skin on a Cellular Level" /></a></li>

          <li><a href=""><img src="images/simgd.jpg" alt="NEW! Indulge in Luxury With Royal Spa" title="NEW! Indulge in Luxury With Royal Spa" /></a></li>

          <li><a href=""><img src="images/simgd.jpg" alt="NEW! Get paid to shop with Cashback" title="NEW! Get paid to shop with Cashback" /></a></li>

          <li><a href=""><img src="images/simgd.jpg" alt="NEW! Radiation Protection at its Best" title="NEW! Radiation Protection at its Best" /></a></li>

          <li><a href=""><img src="images/simgd.jpg" alt="Unleash the Power of Isotonix Today" title="Unleash the Power of Isotonix Today" /></a></li>

          <li><a href=""><img src="images/simgd.jpg" alt="Motives is Changing the Face of UK Beauty" title="Motives is Changing the Face of UK Beauty" /></a></li>

          <li><a href=""><img src="images/simgd.jpg" alt="Get a Taste of Spring" title="Get a Taste of Spring" /></a></li>

          <li><a href=""><img src="images/simgd.jpg" alt="Try Isotonix OPC-3 Today for Better Health" title="Try Isotonix OPC-3 Today for Better Health" /></a></li>

          <li><a href=""><img src="images/simgd.jpg" alt="Feel like a princess with Royal Spa" title="Feel like a princess with Royal Spa" /></a></li>

          <li><a href=""><img src="images/simgd.jpg" alt="Stay energised with Isotonix for the Queen's Jubilee" title="Stay energised with Isotonix for the Queen's Jubilee" /></a></li>

          <li><a href=""><img src="images/simgd.jpg" alt="WorldStores - Top Brands Delivered Next Day" title="WorldStores - Top Brands Delivered Next Day" /></a></li>

        </ul><!--ui-banner-slides end-->

        <ul class="ui-banner-slogans">

          <li class="ui-line">

            <div class="ullinehover">

              <div class="ui-bnnerimg floatLeft">

                <img src="images/simg.jpg" alt="" width="103" />

              </div>

              <div class="ui-bnnerp floatRight">

                <h3 style="margin-top: 8px;">设计院开展扶贫济困募捐活动</h3>

                <p>

                  根据总局文明委《关于开展扶贫济困募捐活动的通知》精神,在总局机关和直属单位

                  开展扶贫济困募捐活动。

                </p>

              </div>

            </div>

          </li>

          <li class="ui-line">

            <div class="ullinehover">

              <div class="ui-bnnerimg floatLeft">

                <img src="images/simg.jpg" alt="" width="103" />

              </div>

              <div class="ui-bnnerp floatRight">

                <h3 style="margin-top: 8px;">设计院开展扶贫济困募捐活动</h3>

                <p>

                  根据总局文明委《关于开展扶贫济困募捐活动的通知》精神,在总局机关和直属单位

                  开展扶贫济困募捐活动。

                </p>

              </div>

            </div>

          </li>

          <li class="ui-line">

            <div class="ullinehover">

              <div class="ui-bnnerimg floatLeft">

                <img src="images/simg.jpg" alt="" width="103" />

              </div>

              <div class="ui-bnnerp floatRight">

                <h3 style="margin-top: 8px;">设计院开展扶贫济困募捐活动</h3>

                <p>

                  根据总局文明委《关于开展扶贫济困募捐活动的通知》精神,在总局机关和直属单位

                  开展扶贫济困募捐活动。

                </p>

              </div>

            </div>

          </li>

          <li class="ui-line">

            <div class="ullinehover">

              <div class="ui-bnnerimg floatLeft">

                <img src="images/simg.jpg" alt="" width="103" />

              </div>

              <div class="ui-bnnerp floatRight">

                <h3 style="margin-top: 8px;">设计院开展扶贫济困募捐活动</h3>

                <p>

                  根据总局文明委《关于开展扶贫济困募捐活动的通知》精神,在总局机关和直属单位

                  开展扶贫济困募捐活动。

                </p>

              </div>

            </div>

          </li>

          <li class="ui-line">

            <div class="ullinehover">

              <div class="ui-bnnerimg floatLeft">

                <img src="images/simg.jpg" alt="" width="103" />

              </div>

              <div class="ui-bnnerp floatRight">

                <h3 style="margin-top: 8px;">设计院开展扶贫济困募捐活动</h3>

                <p>

                  根据总局文明委《关于开展扶贫济困募捐活动的通知》精神,在总局机关和直属单位

                  开展扶贫济困募捐活动。

                </p>

              </div>

            </div>

          </li>

          <li class="ui-line">

            <div class="ullinehover">

              <div class="ui-bnnerimg floatLeft">

                <img src="images/simg.jpg" alt="" width="103" />

              </div>

              <div class="ui-bnnerp floatRight">

                <h3 style="margin-top: 8px;">设计院开展扶贫济困募捐活动</h3>

                <p>

                  根据总局文明委《关于开展扶贫济困募捐活动的通知》精神,在总局机关和直属单位

                  开展扶贫济困募捐活动。

                </p>

              </div>

            </div>

          </li>

          <li class="ui-line">

            <div class="ullinehover">

              <div class="ui-bnnerimg floatLeft">

                <img src="images/simg.jpg" alt="" width="103" />

              </div>

              <div class="ui-bnnerp floatRight">

                <h3 style="margin-top: 8px;">设计院开展扶贫济困募捐活动</h3>

                <p>

                  根据总局文明委《关于开展扶贫济困募捐活动的通知》精神,在总局机关和直属单位

                  开展扶贫济困募捐活动。

                </p>

              </div>

            </div>

          </li>

          <li class="ui-line">

            <div class="ullinehover">

              <div class="ui-bnnerimg floatLeft">

                <img src="images/simg.jpg" alt="" width="103" />

              </div>

              <div class="ui-bnnerp floatRight">

                <h3 style="margin-top: 8px;">设计院开展扶贫济困募捐活动</h3>

                <p>

                  根据总局文明委《关于开展扶贫济困募捐活动的通知》精神,在总局机关和直属单位

                  开展扶贫济困募捐活动。

                </p>

              </div>

            </div>

          </li>

          <li class="ui-line">

            <div class="ullinehover">

              <div class="ui-bnnerimg floatLeft">

                <img src="images/simg.jpg" alt="" width="103" />

              </div>

              <div class="ui-bnnerp floatRight">

                <h3 style="margin-top: 8px;">设计院开展扶贫济困募捐活动</h3>

                <p>

                  根据总局文明委《关于开展扶贫济困募捐活动的通知》精神,在总局机关和直属单位

                  开展扶贫济困募捐活动。

                </p>

              </div>

            </div>

          </li>

          <li class="ui-line">

            <div class="ullinehover">

              <div class="ui-bnnerimg floatLeft">

                <img src="images/simg.jpg" alt="" width="103" />

              </div>

              <div class="ui-bnnerp floatRight">

                <h3 style="margin-top: 8px;">设计院开展扶贫济困募捐活动</h3>

                <p>

                  根据总局文明委《关于开展扶贫济困募捐活动的通知》精神,在总局机关和直属单位

                  开展扶贫济困募捐活动。

                </p>

              </div>

            </div>

          </li>

          <li class="ui-line">

            <div class="ullinehover">

              <div class="ui-bnnerimg floatLeft">

                <img src="images/simg.jpg" alt="" width="103" />

              </div>

              <div class="ui-bnnerp floatRight">

                <h3 style="margin-top: 8px;">设计院开展扶贫济困募捐活动</h3>

                <p>

                  根据总局文明委《关于开展扶贫济困募捐活动的通知》精神,在总局机关和直属单位

                  开展扶贫济困募捐活动。

                </p>

              </div>

            </div>

          </li>

          <li class="ui-line">

            <div class="ullinehover">

              <div class="ui-bnnerimg floatLeft">

                <img src="images/simg.jpg" alt="" width="103" />

              </div>

              <div class="ui-bnnerp floatRight">

                <h3 style="margin-top: 8px;">设计院开展扶贫济困募捐活动</h3>

                <p>

                  根据总局文明委《关于开展扶贫济困募捐活动的通知》精神,在总局机关和直属单位

                  开展扶贫济困募捐活动。

                </p>

              </div>

            </div>

          </li>

        </ul><!--ui-banner-slogans end-->

      </div>

    </div>

  </div>

Copy after login

Display renderings:

The above is the entire content of this article, I hope you all like it.

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template