Solved

xml url window resizing

Posted on 2011-03-04
9
234 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

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

What You Need to Know when Searching for a Webhost Provider
Create a Windows 10 custom Image with custom task bar and custom start menu using XML for deployment.
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…

623 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