Hello, I'm using a simple show-hide script on various IDs. The issue is as it stands right now each is a seperate JS that calls the document ready function via jQuery.

Is there a way to combine this into one more flexible script or at least into one script in some form or another. Thank you so much for your time in advance!

Below is an example:

<script type="text/javascript">
$(document).ready(function(){
$("#loadDummy7").hover(
function () {
$("#dummy7").show();
},
function () {
$("#dummy7").hide();
}
);


});

</script>
<script type="text/javascript">
$(document).ready(function(){
$("#loadDummy8").hover(
function () {
$("#dummy8").show();
},
function () {
$("#dummy8").hide();
}
);


});

</script>