469,275 Members | 1,690 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,275 developers. It's quick & easy.

window.createPopup has a link in the popup, but this link is not clickable


I use createPopup and renders a link:
var oPopBody = oPopup.document.body;
oPopBody.style.backgroundColor = "lightyellow";
oPopBody.style.border = "solid black 1px";
oPopBody.innerHTML = '<a href="http://www.yahoo.com"
target="_blank">link <a>';
oPopup.show(0, 0, 200, 200);

I saw this popup up and the link renders correctly. But when I click on the
link, it does not take me to the page I specified.

How could I solve it? (I can not use windows.open(url) because WindowsXP SP2
will block that javascript function)

Jul 23 '05 #1
1 1348
"Jiong Feng" <fe*******@hotmail.com> writes:
I use createPopup and renders a link:

You also posted this message in the Microsoft Jscript group. Please
don't multipost (post same message independently to several groups).
If the message is relevant for more than one group (and no more than a
few), you should crosspost it (put all group's names in the Newsgroups
header) and set Followup-To to the most relevant group.

In this case, the Microsoft group is probably the best guess, since
createPopup is an IE-only feature.

Your question was answered in the other group.

Lasse Reichstein Nielsen - lr*@hotpop.com
DHTML Death Colors: <URL:http://www.infimum.dk/HTML/rasterTriangleDOM.html>
'Faith without judgement merely degrades the spirit divine.'
Jul 23 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Martin John Brindle | last post: by
14 posts views Thread by D. Alvarado | last post: by
2 posts views Thread by Sergey Poberezovskiy | last post: by
5 posts views Thread by Simon Knox | last post: by
reply views Thread by Angel | last post: by
3 posts views Thread by John Walker | last post: by
1 post views Thread by Doug | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.