jQuery満足度星評価プラグイン特殊効果コードsharing_jquery
これは、jQuery をベースにした星評価エフェクトの例です。星エリア上でマウスをスライドさせると、コメントフォームでの使用に適したユーザーエクスペリエンスデザインです。フォームの送信内容。
共有された jQuery 満足度星評価プラグインの特殊効果コードは次のとおりです
<head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>满意度jQuery星级评分插件</title> <script type="text/javascript" src="js/jquery-1.4.2.min.js"></script> <script type="text/javascript" src="js/comment.js"></script> </head> <body> <style type="text/css"> *{margin:0;padding:0;list-style-type:none;} a,img{border:0;} body{font:12px/180% Arial, Helvetica, sans-serif;} /*quiz style*/ .quiz{border:solid 1px #ccc;height:270px;width:772px;} .quiz h3{font-size:14px;line-height:35px;height:35px;border-bottom:solid 1px #e8e8e8;padding-left:20px;background:#f8f8f8;color:#666;position:relative;} .quiz_content{padding-top:10px;padding-left:20px;position:relative;height:205px;} .quiz_content .btm{border:none;width:100px;height:33px;background:url(images/btn.gif) no-repeat;margin:10px 0 0 64px;display:inline;cursor:pointer;} .quiz_content li.full-comment{position:relative;z-index:99;height:41px;} .quiz_content li.cate_l{height:24px;line-height:24px;padding-bottom:10px;} .quiz_content li.cate_l dl dt{float:left;} .quiz_content li.cate_l dl dd{float:left;padding-right:15px;} .quiz_content li.cate_l dl dd label{cursor:pointer;} .quiz_content .l_text{height:120px;position:relative;padding-left:18px;} .quiz_content .l_text .m_flo{float:left;width:47px;} .quiz_content .l_text .text{width:634px;height:109px;border:solid 1px #ccc;} .quiz_content .l_text .tr{position:absolute;bottom:-18px;right:40px;} /*goods-comm-stars style*/ .goods-comm{height:41px;position:relative;z-index:7;} .goods-comm-stars{line-height:25px;padding-left:12px;height:41px;position:absolute;top:0px;left:0;width:400px;} .goods-comm-stars .star_l{float:left;display:inline-block;margin-right:5px;display:inline;} .goods-comm-stars .star_choose{float:left;display:inline-block;} /* rater star */ .rater-star{position:relative;list-style:none;margin:0;padding:0;background-repeat:repeat-x;background-position:left top;float:left;} .rater-star-item, .rater-star-item-current, .rater-star-item-hover{position:absolute;top:0;left:0;background-repeat:repeat-x;} .rater-star-item{background-position: -100% -100%;} .rater-star-item-hover{background-position:0 -48px;cursor:pointer;} .rater-star-item-current{background-position:0 -48px;cursor:pointer;} .rater-star-item-current.rater-star-happy{background-position:0 -25px;} .rater-star-item-hover.rater-star-happy{background-position:0 -25px;} .rater-star-item-current.rater-star-full{background-position:0 -72px;} /* popinfo */ .popinfo{display:none;position:absolute;top:30px;background:url(images/comment/infobox-bg.gif) no-repeat;padding-top:8px;width:192px;margin-left:-14px;} .popinfo .info-box{border:1px solid #f00;border-top:0;padding:0 5px;color:#F60;background:#FFF;} .popinfo .info-box div{color:#333;} .rater-click-tips{font:12px/25px;color:#333;margin-left:10px;background:url(images/comment/infobox-bg-l.gif) no-repeat 0 0;width:125px;height:34px;padding-left:16px;overflow:hidden;} .rater-click-tips span{display:block;background:#FFF9DD url(images/comment/infobox-bg-l-r.gif) no-repeat 100% 0;height:34px;line-height:34px;padding-right:5px;} .rater-star-item-tips{background:url(images/comment/star-tips.gif) no-repeat 0 0;height:41px;overflow:hidden;} .cur.rater-star-item-tips{display:block;} .rater-star-result{color:#FF6600;font-weight:bold;padding-left:10px;float:left;} </style> <center><br> <div class="quiz"> <h3>我要评论</h3> <div class="quiz_content"> <form action="" id="" method="post"> <div class="goods-comm"> <div class="goods-comm-stars"> <span class="star_l">满意度:</span> <div id="rate-comm-1" class="rate-comm"></div> </div> </div> <div class="l_text"> <label class="m_flo">内 容:</label> <textarea name="" id="" class="text"></textarea> <span class="tr">字数限制为5-200个</span> </div> <button class="btm" type="submit"></button> </form> </div><!--quiz_content end--> </div><!--quiz end--> </center> </body> </html>
オペレーションレンダリング:
上記は、jQuery 満足度スター評価プラグインの特殊効果コードです。気に入っていただければ幸いです。

ホットAIツール

Undresser.AI Undress
リアルなヌード写真を作成する AI 搭載アプリ

AI Clothes Remover
写真から衣服を削除するオンライン AI ツール。

Undress AI Tool
脱衣画像を無料で

Clothoff.io
AI衣類リムーバー

Video Face Swap
完全無料の AI 顔交換ツールを使用して、あらゆるビデオの顔を簡単に交換できます。

人気の記事

ホットツール

メモ帳++7.3.1
使いやすく無料のコードエディター

SublimeText3 中国語版
中国語版、とても使いやすい

ゼンドスタジオ 13.0.1
強力な PHP 統合開発環境

ドリームウィーバー CS6
ビジュアル Web 開発ツール

SublimeText3 Mac版
神レベルのコード編集ソフト(SublimeText3)

ホットトピック









フロントエンドのサーマルペーパーチケット印刷のためのよくある質問とソリューションフロントエンド開発におけるチケット印刷は、一般的な要件です。しかし、多くの開発者が実装しています...

スキルや業界のニーズに応じて、PythonおよびJavaScript開発者には絶対的な給与はありません。 1. Pythonは、データサイエンスと機械学習でさらに支払われる場合があります。 2。JavaScriptは、フロントエンドとフルスタックの開発に大きな需要があり、その給与もかなりです。 3。影響要因には、経験、地理的位置、会社の規模、特定のスキルが含まれます。

JavaScriptは現代のWeb開発の基礎であり、その主な機能には、イベント駆動型のプログラミング、動的コンテンツ生成、非同期プログラミングが含まれます。 1)イベント駆動型プログラミングにより、Webページはユーザー操作に応じて動的に変更できます。 2)動的コンテンツ生成により、条件に応じてページコンテンツを調整できます。 3)非同期プログラミングにより、ユーザーインターフェイスがブロックされないようにします。 JavaScriptは、Webインタラクション、シングルページアプリケーション、サーバー側の開発で広く使用されており、ユーザーエクスペリエンスとクロスプラットフォーム開発の柔軟性を大幅に改善しています。

同じIDを持つ配列要素をJavaScriptの1つのオブジェクトにマージする方法は?データを処理するとき、私たちはしばしば同じIDを持つ必要性に遭遇します...

この記事の視差スクロールと要素のアニメーション効果の実現に関する議論では、Shiseidoの公式ウェブサイト(https://www.shisido.co.co.jp/sb/wonderland/)と同様の達成方法について説明します。

Console.log出力の違いの根本原因に関する詳細な議論。この記事では、Console.log関数の出力結果の違いをコードの一部で分析し、その背後にある理由を説明します。 �...

JavaScriptを学ぶことは難しくありませんが、挑戦的です。 1)変数、データ型、関数などの基本概念を理解します。2)非同期プログラミングをマスターし、イベントループを通じて実装します。 3)DOM操作を使用し、非同期リクエストを処理することを約束します。 4)一般的な間違いを避け、デバッグテクニックを使用します。 5)パフォーマンスを最適化し、ベストプラクティスに従ってください。

フロントエンドのVSCodeと同様に、パネルドラッグアンドドロップ調整機能の実装を調べます。フロントエンド開発では、VSCODEと同様のVSCODEを実装する方法...
