سلام
یه کدی مخوام که وقتی نشانه گر موس میره روی عکسها Title عکس شکلش عوض بشه ....
در یک سایت خارجی کدش رو دیدم اما نتونستم خودم درستش کنم .... کسی میتونه کمک کنه ...؟
اینم آدرس کدها : http://flowplayer.org/tools/demos/tooltip/index.html

سلام
یه کدی مخوام که وقتی نشانه گر موس میره روی عکسها Title عکس شکلش عوض بشه ....
در یک سایت خارجی کدش رو دیدم اما نتونستم خودم درستش کنم .... کسی میتونه کمک کنه ...؟
اینم آدرس کدها : http://flowplayer.org/tools/demos/tooltip/index.html

HTML codingYou need two things: the elements that show the tooltips when the cursor is placed on top of them, these elements are called triggers. You also need one or more tooltip elements. In this setup we have a single tooltip element that works for all of the triggers:
<!-- elements with tooltips -->
<div id="demo">
<img src="image1.jpg" title="The tooltip text #1"/>
<img src="image2.jpg" title="The tooltip text #2"/>
<img src="image3.jpg" title="The tooltip text #3"/>
<img src="image4.jpg" title="The tooltip text #4"/>
</div>
Trigger elements can be anything such as a, div, samp and table elements.
CSS coding
By default the Tooltip generates the tooltip element automatically and assigns the CSS class name tooltip to it. It should be initially hidden by the CSS by setting display: none. We have no specific styling for the trigger elements.
/* tooltip styling. by default the element to be styled is .tooltip */
.tooltip {
display:none;
background:transparent url(/tools/img/tooltip/black_arrow.png);
font-size:12px;
height:70px;
width:160px;
padding:25px;
color:#fff;
}
JavaScript coding
Tooltip activation starts by selecting the trigger elements with jQuery. Here we select all img tags that have a title attribute and are nested inside an element with id demo. We supply one argument for the tooltip initialization call which is a jQuery selector to the tooltip element.
$("#demo img[title]").tooltip();
منظورتو متوجه نشدیم داداش آدرس سایت رو بزار
اینم آدرس سایت : http://flowplayer.org/tools/demos/tooltip/index.html
منظورت همون tooltip هست؟
آره منظورش همونه ممنون میشم که کمکش کنی دوست خوبم ما هم نیاز داریم این رو

این که کاری نداره
توی قسمت اول که عکسها رو گذشته یک منو هست یا یک دیو که تمام استایل ها و جاوا اسکریپت بهش نسبت داده شده
وسط این باید عکسهاتونو بزارید
<div id="demo">
عکس ها در اینجا
</div>
بعد این کد رو بزارید توی قالب وبلاگتون بالای قالب
<script src="http://cdn.jquerytools.org/1.2.5/full/jquery.tools.min.js"></script>
<style>
.tooltip {
display:none;
background:transparent url(/tools/img/tooltip/black_arrow.png);
font-size:12px;
height:70px;
width:160px;
padding:25px;
color:#fff;
}
</style>
اخر هم این کد رو بعد عکس هاتون بزارید
<script type="text/javascript">
$("#demo img[title]").tooltip();
</script>
درود
دوستان پدر کد رو در آوردم نشد بذارم واسه همین لینک دانلودشو گذاشتم
من نمیدونم چرا نمیتونم کد بذارم نمیدونم مشکل از مورورگرمه یا بلد نیستم . من از اوپرا استفاده میکنم