misscosmic
MIS
I have a kinda slideshow where a thumbnail triggers a larger image to show up on mouse over. I would like to have text under this larger image but I don't seem able to. Help very much appreciated
<div class="items">
<div class="item">
<a href=" target="blank" title="L’association L'Ortie"><img src="images_general/images_webdesign/lortie_small.jpg" id="pic1" onMouseover="ShowLarge('images_general/images_webdesign/lortie_big.jpg'); "/> </a> </div>
<div class="item">
<a href=" target="blank" title="shamanism"><img src="images_general/images_webdesign/shamanic_small.jpg" id="pic2" onMouseover="ShowLarge('images_general/images_webdesign/shamanic_big.jpg');"/></a> </div>
<script>
// execute your scripts when DOM is ready. this is a good habit
$(function() {
// initialize scrollable with mousewheel support
$(".scrollable").scrollable({ vertical: true, mousewheel: true });
});
function ShowLarge(name)
{
// This script swaps the pics on the right side
document.getElementById("pic3").src = name;
}
</script>
<div class="items">
<div class="item">
<a href=" target="blank" title="L’association L'Ortie"><img src="images_general/images_webdesign/lortie_small.jpg" id="pic1" onMouseover="ShowLarge('images_general/images_webdesign/lortie_big.jpg'); "/> </a> </div>
<div class="item">
<a href=" target="blank" title="shamanism"><img src="images_general/images_webdesign/shamanic_small.jpg" id="pic2" onMouseover="ShowLarge('images_general/images_webdesign/shamanic_big.jpg');"/></a> </div>
<script>
// execute your scripts when DOM is ready. this is a good habit
$(function() {
// initialize scrollable with mousewheel support
$(".scrollable").scrollable({ vertical: true, mousewheel: true });
});
function ShowLarge(name)
{
// This script swaps the pics on the right side
document.getElementById("pic3").src = name;
}
</script>