//JS for new Fabrizio toolbar 4-19-2013... $(function() { $('#floatingbar').css({height: 0}).animate({ height: '38' }, 'slow'); }); var tWidth='235px'; // width (in pixels) var tHeight='20px'; // height (in pixels) var tcolour='transparent'; // background colour: var moStop=true; // pause on mouseover (true or false) var fontfamily = 'arial,sans-serif'; // font for content var tSpeed=1; // scroll speed (1 = slow, 5 = fast) // enter your ticker content here (use \/ and \' in place of / and ' respectively) //var content='- ♦ - ♦ -'; var content = ''; $.ajax({ url: 'http://www.musicianspage.com/news_jobs.rss', cache: false, dataType: 'xml', async: true, success: function(data){ //alert("success"); count = 0; // get the 'root' node for (var a = 0; a < data.childNodes.length; a++) { if (data.childNodes[a].nodeName == 'rss') { xmlContent = data.childNodes[a]; } } // find the channel node for (var i = 0; i < xmlContent.childNodes.length; i++) { if (xmlContent.childNodes[i].nodeName == 'channel') { xmlChannel = xmlContent.childNodes[i]; } } // for each item create a link and add the article title as the link text for (var x = 0; x < xmlChannel.childNodes.length; x++) { if (xmlChannel.childNodes[x].nodeName == 'item') { xmlItems = xmlChannel.childNodes[x]; var title, link = false; for (var y = 0; y < xmlItems.childNodes.length; y++) { if (xmlItems.childNodes[y].nodeName == 'title') { title = xmlItems.childNodes[y].lastChild.nodeValue; } else if (xmlItems.childNodes[y].nodeName == 'link') { link = xmlItems.childNodes[y].lastChild.nodeValue; } if ((title !== false && title != '') && link !== false) { content = content + '' + title + ' ♦ '; //alert(content); count++; title = false; link = false; } } } } if (count > 1) { startticker(); } } }); var cps=tSpeed; var aw, mq; var fsz = parseInt(tHeight) - 4; function startticker() { if (document.getElementById) { var tick = '