Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 238
  • Last Modified:

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 ?
0
doctorbill
Asked:
doctorbill
  • 6
  • 3
1 Solution
 
doctorbillAuthor Commented:
Sorry - the above code should read:

<pageText><![CDATA[
<a href="http://www.linkedin.com/pub/dr-bill-vallins/26/2a6/8b6" target='_blank'><u>
Linkedin
</u></a>
]]></pageText>

0
 
doctorbillAuthor Commented:
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>
0
 
zc2Commented:
Did you try add the "resizable=1" parameter?

Like:
onclick="window.open('http://www.microsoft.com', 'popup', 'resizable=1,width=300,height=150'); return false;"
0
Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

 
doctorbillAuthor Commented:
this does not work
0
 
doctorbillAuthor Commented:
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
0
 
zc2Commented:
You probably should ask the question in a flash-related zone.
0
 
doctorbillAuthor Commented:
no solution - sorry
0
 
zc2Commented:
I'm sorry I could not help. Usually that open() method's parameters work fine in the HTML context.
0
 
doctorbillAuthor Commented:
Thanks very much for trying - much appreciated. I will continue to try and enhance my flash skills and try to resolve this
0

Featured Post

Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

  • 6
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now