doctorbill
asked on
xml url window resizing
I have the following code in an xml file which works perfectly:
<pageText><![CDATA[
<a href="http://www.linkedin.com/pub/dr-bill-vallins/26/2a6/8b6" target='_blank'><u>
Linkedin
]]></pageText>
All I need is to be able to open the window as a defined size. Any ideas ?
<pageText><![CDATA[
<a href="http://www.linkedin.com/pub/dr-bill-vallins/26/2a6/8b6" target='_blank'><u>
]]></pageText>
All I need is to be able to open the window as a defined size. Any ideas ?
ASKER
I have tried the following which opens the window but it DOESN'T resize it:
<pageText><![CDATA[
<a href="http://www.microsoft.com" target="popup" onclick="window.open('http://www.microsoft.com', 'popup', 'width=300,height=150'); return false"><u>
Alternative Web Site popup
</u></a>
]]></pageText>
<pageText><![CDATA[
<a href="http://www.microsoft.com" target="popup" onclick="window.open('http://www.microsoft.com', 'popup', 'width=300,height=150'); return false"><u>
Alternative Web Site popup
</u></a>
]]></pageText>
Did you try add the "resizable=1" parameter?
Like:
onclick="window.open('http://www.microsoft.com', 'popup', 'resizable=1,width=300,hei ght=150'); return false;"
Like:
onclick="window.open('http://www.microsoft.com', 'popup', 'resizable=1,width=300,hei
ASKER
this does not work
ASKER
This xml file is being fed into a flash cs3file and I am opening the url from this flash file. The popup works but no resizing
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
no solution - sorry
I'm sorry I could not help. Usually that open() method's parameters work fine in the HTML context.
ASKER
Thanks very much for trying - much appreciated. I will continue to try and enhance my flash skills and try to resolve this
ASKER
<pageText><![CDATA[
<a href="http://www.linkedin.com/pub/dr-bill-vallins/26/2a6/8b6" target='_blank'><u>
Linkedin
</u></a>
]]></pageText>