Solved

xml url window resizing

Posted on 2011-03-04
9
228 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
 

Author Comment

by:doctorbill
ID: 35056441
this does not work
0
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 

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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Introduction In my previous article (http://www.experts-exchange.com/Microsoft/Development/MS-SQL-Server/SSIS/A_9150-Loading-XML-Using-SSIS.html) I showed you how the XML Source component can be used to load XML files into a SQL Server database, us…
Browsing the questions asked to the Experts of this forum, you will be amazed to see how many times people are headaching about monster regular expressions (regex) to select that specific part of some HTML or XML file they want to extract. The examp…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

747 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now