PDA

View Full Version : rss feed


edbr
02-13-2012, 05:45 AM
i have been trying to modify a script and have tied myself in circles.
i would like to open links in a new window as i am trying to promote the feed via an iframe, so before i go insane i wanted to ask is this possible?

im using a jquery pugin which adds a var
linktarget: '_blank

the feed write up is
// Add feed row
html += '<li class="rssRow '+row+'">' +
'<'+ options.titletag +'><a href="'+ entry.link +'" title="View this feed at '+ feeds.title +'">'+ entry.title +'</a></'+ options.titletag +'>'

i tried adding a function

function popcontact(URL) {
var popup_width = 600
var popup_height = 600
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,men ubar=0,resizable=1,width='+popup_width+',height='+ popup_height+'');");
}

and changing the lvars to linktarget: 'popcontact(URL) ' im getting a new full window but not a resized window