473,394 Members | 1,674 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

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

Hi,

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)

Thanks
Jiong
Jul 23 '05 #1
1 1416
"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.

/L
--
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Martin John Brindle | last post by:
Is it possible to return a value from a popup window? I really need something that can do this and the behaviour of the createpopup method is perfect except i can't work out how to return a value....
14
by: D. Alvarado | last post by:
Hello, I am trying to open a window containing an image and I would like the image to be flush against the window -- i.e. have no padding or border. Can I make this happen with a single call to a...
2
by: Sergey Poberezovskiy | last post by:
Hi, I need to show a popup on my Web Page, so I write: var oPop = window.createPopup() oPop.show(x,y,W,H); I have a problem with W =width and H = height of the popup window: When a user...
5
by: Simon Knox | last post by:
Hi I have a web app that has a legitimate use for pop up windows. My web app is an insurance quoting app. I use the window.open method to display another aspx page so that the user can check...
0
by: Angel | last post by:
I created as popup window using the createPopup() method. The innerHTML that will be displayed in the popup contains a textbox. For some reason I cannot key into the textbox. Is there a limitation...
3
by: John Walker | last post by:
Hi, I am using a popup window in my application and the problem I'm having is that even though I tell it to display before a while loop, it only displays after the while loop completes. Please...
2
by: Vivek | last post by:
I have two html files Parent.htm and Child .htm Following is the code inside the Parent.htm: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title></title>...
1
by: Doug | last post by:
Hello, I create a popup window using document.createPopup() Is there anyway to add a script node into this popup? For example I'd like to add <script type="text/javascript"...
1
by: gan | last post by:
here the code, now i want to apply the link for hole popup window, wherever i move the cursor inside the popup window it has to be show as a link how? please help me some one <html> <head>...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.