have u tried using javascript to see if that makes a difference?
get your hyperlink to call a js function
<a href="javascript:showpopup()">my link<a>
and your js function would have something like this in it
function showpopup()
{
window.open (" http://www.bbc.co.uk","mywindo...);
}
alternatively, if that doesnt work, open up a blank page then write your html code in there which automatically loads the page of your choice
function showpopup()
{
window.open ("","mywindow1","status=1,width=350,height=150");
document.write('Generate Your Code Here');
}
sample code you can use to generate - just check this out
http://www.tips-tricks.com/automa.asp
|
|
Expert:
|
nidhi
|
|
Date:
|
Oct 08, 2007
|
|
Time:
|
07:14
|
|
|
|
Votes: Good (0) | Bad (0) Login to rate this answer
|
|
|
Nidhi,
That first function that you gave me doesn't seem to work. It is giving me an error, it is telling me that an Object is expected on line 1, character 1.
J
|
|
Expert:
|
john2
|
|
Date:
|
Oct 11, 2007
|
|
Time:
|
03:50
|
|
|
|
Votes: Good (0) | Bad (0) Login to rate this answer
|
|
John,
I think you were really close in the code snip you posted. I've had most of my success using the following without it being destroyed by "most" pop-up blockers: <a href=" http://www.castagna.net" target="_blank">Castagna.net web site</a>
Let me know if this works for you...
Take care,
Ric
|
|
Expert:
|
rcastagna
|
|
Date:
|
Oct 11, 2007
|
|
Time:
|
08:28
|
|
|
|
Votes: Good (0) | Bad (0) Login to rate this answer
|
|
|
Thanks Ric,
I think that it worked. I'll let you know if I find out otherwise.
J
|
|
Expert:
|
john2
|
|
Date:
|
Oct 11, 2007
|
|
Time:
|
08:52
|
|
|
|
Votes: Good (0) | Bad (0) Login to rate this answer
|
|
Hi John, I see you got the problem resolved now
regarding the code though, not sure whats going wrong there, I cut/pasted from my sample
We could do with some <CODE> style tags so it doesnt interfere with any sample html code posted
<HTML>
<head><title>js popup quomon example</title>
</head>
<SCRIPT LANGUAGE="JavaScript1.2">
function showpopup()
{
window.open (" http://www.bbc.co.uk","mywindo...);
}
</SCRIPT>
<BODY>
<H1>JavaScript Popup Example</H1>
hello
<A HREF="javascript:showpopup()">my link<A>
</BODY>
</HTML>
|
|
Expert:
|
nidhi
|
|
Date:
|
Oct 12, 2007
|
|
Time:
|
14:40
|
|
|
|
Votes: Good (0) | Bad (0) Login to rate this answer
|
|
|
|
|
|
|
This question has been answered, and points have been rewarded to the following experts:
You're welcome however to comment or give additional information or if you wish, you have the ability to write an Answer Summary for this question by clicking on the "Answer Summaries" Tab.
|
|