?
Solved

Points for COBOLDinasour

Posted on 2004-04-27
6
Medium Priority
?
228 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
WordPress Tutorial 4: Recommended Plugins

Now that you have WordPress installed, understand the interface, and know how to install new parts, let’s take a look at our recommended plugins.

 
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

7 Extremely Useful Linux Commands for Beginners

Just getting started with Linux? Here's a quick start guide that has 7 commands that we believe will come in handy.

Question has a verified solution.

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

Preface This is the third article about the EE Collaborative Login Project. A Better Website Login System (http://www.experts-exchange.com/A_2902.html) introduces the Login System and shows how to implement a login page. The EE Collaborative Logi…
Introduction Since I wrote the original article about Handling Date and Time in PHP and MySQL several years ago, it seemed like now was a good time to update it for object-oriented PHP.  This article does that, replacing as much as possible the pr…
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…
Suggested Courses

752 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