Solved

xml url window resizing

Posted on 2011-03-04
9
232 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
Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

 

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

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

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

Suggested Solutions

Prologue It is often required to host multiple websites on a single instance of IIS, mostly in development environments instead of on production servers. I am sure it is not much a preferred solution on production servers but this is at least a pos…
If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

734 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