Welcome to WebmasterWorld Guest from

Forum Moderators: bill & werty

Message Too Old, No Replies

Almost working ASP /JS to Html

5:17 pm on Apr 13, 2006 (gmt 0)

Junior Member

10+ Year Member

joined:Jan 19, 2003
votes: 0


Just about have my feeds working the way I want them. I am grabbing the feed, displaying on my web page with some formating. Works fine, link to article opens in a pop up created in java script in an medium window over top of site. You can read the article and still see the site underneath, close the window and go back to reading the feed summarys.

The Problem is that if you click back to the site before closing the popup the popup goes behind the main page. Then if you click on another link in the feed on the main page the article opens in my site page instead of generating another popup.

Any Ideas?

Javascript that creates Popup

function wopen(url, w, h)
// Fudge factors for window decoration space.
// In my tests these work well on all platforms & browsers.
w += 32;
h += 96;
var win = window.open(url,
'width=' + w + ', height=' + h + ', ' +
'location=no, menubar=no, ' +
'status=no, toolbar=no, scrollbars=yes, resizable=no');
win.resizeTo(w, h);
// -->

Feed template

ItemTemplate = "<tr><td><b><a href=" & """{LINK}target=""popup"" onClick= ""wopen('{LINK}', 640, 480); return false;""""" & ">{TITLE}</a></b><BR>{DESCRIPTION}<br><br></td></tr>"

Thanks for your thoughts



Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members