Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Points for COBOLDinasour

Posted on 2004-04-27
6
Medium Priority
?
229 Views
Last Modified: 2010-04-06
Thanks for your help in http://www.experts-exchange.com/Web/Web_Languages/Q_20967171.html
please reply here so i can transfer the points to you.
0
Comment
Question by:mohmedsh
[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
  • 3
  • 3
6 Comments
 
LVL 53

Expert Comment

by:COBOLdinosaur
ID: 10932037
One other idea occurred to me, but I don't know how feasible it is. If you do the iframe this way:

<iframe id="theIF" src="" style="height:1px;width:100%"></iframe>

Then you could set the height dynamically by doing the links this way:

<a href="somesite.com" target="theIF"
onClick="document.getElementById('theIF').style.height='700px'">
click for somesite</a>

You could set the height to the maximum for pages on that site.  Like I said I'm not sure of feasibility.  If there are a lot of sites, or there is a big rnage of page lengths on some of them it would probably be worse than scrolling, but if there is some consistency, it might be an option.  Of course they might change the page layouts and you would have to make changes when they did but it is a possibility.

Cd&
0
 
LVL 1

Author Comment

by:mohmedsh
ID: 10933692
Hmmm, that will be the same as setting the hight directly in the iframe.
I have another idea but i am not good in javascript. what is i opened a new browser window, and opened the url i want into it. In that case i think i can get the hight of the page within that browser. Fine if that is correct then we can pass the hight to the original browser and resize the iframe to it.
Is that possible?????
0
 
LVL 53

Accepted Solution

by:
COBOLdinosaur earned 1600 total points
ID: 10933921
I think that still gets a security violation.  The height is in the DOM for the opened page, but the scripting to reference it would still have to come from a page on your site, so it would still be cross-domain scripting.  :^(

Cd&
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!

 
LVL 1

Author Comment

by:mohmedsh
ID: 10933968
:) then  we have no more options. Thanks
0
 
LVL 53

Expert Comment

by:COBOLdinosaur
ID: 10934083
Glad I could help explore it; perhpas the next generation of browser will find a way to balance the need for security and privacy; with the need of developers to try and please outr clients.  

Thanks for the A. :^)

Cd&
0
 
LVL 1

Author Comment

by:mohmedsh
ID: 10934382
i do appreciate your help :)
0

Featured Post

Enroll in October's Free Course of the Month

Do you work with and analyze data? Enroll in October's Course of the Month for 7+ hours of SQL training, allowing you to quickly and efficiently store or retrieve data. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

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

What is Node.js? Node.js is a server side scripting language much like PHP or ASP but is used to implement the complete package of HTTP webserver and application framework. The difference is that Node.js’s execution engine is asynchronous and event…
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

610 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