Trying to have a clickable item when using Marquee to show the body of the item when clicked

2018-02-06 22:09:12

I need my items to be clickable and display the body of the item. The items are scrolling using a marquee. The marquee could have several items. Right now I have the following code but stuck on where to make my item clickable to display only the body on the same page.

$(document).ready(function() {

var html = '';

var mHTML="

var eHTML="


html += "


operation: "GetListItems",

async: false,

listName: "HotNews",

CAMLViewFields: "",

CAMLQuery: "" +

"" +