Solved

xml url window resizing

Posted on 2011-03-04
9
231 Views
Last Modified: 2012-05-11
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
Comment
Question by:doctorbill
  • 6
  • 3
9 Comments
 

Author Comment

by:doctorbill
ID: 35035222
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
 

Author Comment

by:doctorbill
ID: 35035416
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
 
LVL 18

Expert Comment

by:zc2
ID: 35040787
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
NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

 

Author Comment

by:doctorbill
ID: 35056441
this does not work
0
 

Author Comment

by:doctorbill
ID: 35056468
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
 
LVL 18

Accepted Solution

by:
zc2 earned 500 total points
ID: 35058001
You probably should ask the question in a flash-related zone.
0
 

Author Closing Comment

by:doctorbill
ID: 35111384
no solution - sorry
0
 
LVL 18

Expert Comment

by:zc2
ID: 35111443
I'm sorry I could not help. Usually that open() method's parameters work fine in the HTML context.
0
 

Author Comment

by:doctorbill
ID: 35111538
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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Lync server 2013 or Skype for business Backup Service Error ID 4049 – After File Share Migration
Many times as a report developer I've been asked to display normalized data such as three rows with values Jack, Joe, and Bob as a single comma-separated string such as 'Jack, Joe, Bob', and vice versa.  Here's how to do it. 
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question