Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 295243
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T06:26:25+00:00 2026-05-12T06:26:25+00:00

How does images.google.com render its frames?? I have two servers, that have external web

  • 0

How does images.google.com render its frames??

I have two servers, that have external web viewable content, and an internal search engine that only admins can use. The external content cannot be edited, it was created with some proprietary technology. What I want to do is allow my internal admins to see a bar that allows them to perform administrative functions on the external site (index) by appending an “admin bar” to the bottom of the page, much like images.google.com appends a frame to the beginning of websites.

Using this code below I have figured out how to do this if the two were on the same server, rendering the external site in a frame and dynamically sizing that frame with javascript, but I cannot figure out how to do this in my situation because the two sites are on different servers/domains (which cause a javascript permission error).

Quite a few people have implemented similar features (images.google, the diggbar, facebook’s bar, etc.), so i know it’s possible, I just can’t get any info on how to approach the problem. Any help is greatly appreciated

<html>
<head> <title>Parent frame</title> </head>

<body onload=”resizeFrame(document.getElementById(’childframe’))” bgcolor=”#cccccc”>

<script type=”text/javascript”>
// Firefox worked fine. Internet Explorer shows scrollbar because of frameborder
function resizeFrame(f) {
f.style.height = f.contentWindow.document.body.scrollHeight + “px”;
}
</script>

<p>Parent frame.</p>
<p>Parent frame.</p>
<p>Parent frame.</p>
<p>Parent frame.</p>

<p>
<iframe frameborder=0 border=0 src=”./child-frame.html” name=”childframe” id=”childframe”>
</iframe>
</p>

</body>
</html> 
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T06:26:25+00:00Added an answer on May 12, 2026 at 6:26 am

    View the source of Google!

    <html>
      <head>
        <meta http-equiv="content-type" content="text/html; charset=UTF-8">
        <title> Google Image Result for http://people.mozilla.com/~cbeard/labs/images/test-pilot.png
        </title>
        <style>
        html
        {
            height: 100%;
        }
        body
        {
            margin: 0;
            font: 62.5% arial, sans-serif;
            height: 100%;
            overflow: hidden;
        }
        a, a:visited
        {
            color: #00c;
        }
        div
        {
            font-size: 130%;
        }
        #details
        {
            float: left;
            margin-top: 10px;
        }
        #details p
        {
            padding: 0;
            margin: 0 0 2px;
        }
        img
        {
            border: none;
        }
        #outer-separator
        {
            clear: both;
            width: 100%;
            border-bottom: 2px solid #404040;
            border-top: 1px solid #a0a0a0;
            margin: 10px 0 0;
            padding: 0;
            font-size: 1px;
            overflow: hidden;
        }
        #separator
        {
            background: #eaeaea;
            height: 3px;
        }
        table
        {
            font-size: 100%;
        }
        </style>
      </head>
      <body>
        <table cellpadding=0 cellspacing=0 height="100%" width="100%">
          <tr height="1%">
            <td style="top:0;width:100%">
              <div class=std style="background:#ebeff9;padding:6px 8px">
                <a href="http://images.google.com/imghp?hl=en">
                  <img src=/images/isr_g.png style="padding:0;margin:0;vertical-align:middle;border:0" title="Go to Google Images Home" alt="Go to Google Images Home" width=72 height=24>
                </a>
                <form style="display:inline" method=GET action="/images">
                  <input type=hidden name=gbv value="2">
                  <input type=hidden name=hl value="en">
                  <input type=hidden name=sa value="3">&nbsp;
                  <input type=text name=q size=41 maxlength=2048 value="test" title="Search images">&nbsp;
                  <input type=submit name="btnG" style="margin:0 2px 0 5px" value="Search images">
                </form>&nbsp;
                <a id=b2r href="/images?q=test&amp;gbv=2&amp;hl=en" onclick="if(history.length>1){history.back();return false}return true;" style="vertical-align:40%">Back to image results
                </a>
              </div>
              <table cellpadding=0 cellspacing=0 width="100%">
                <tr>
                  <td>
                    <a href="http://people.mozilla.com/~cbeard/labs/images/test-pilot.png" id=thumbnail>
                      <img src="http://tbn0.google.com/images?q=tbn:KLm4Rocmahp8wM:http://people.mozilla.com/~cbeard/labs/images/test-pilot.png" width=88 height=80 style="float:left;margin:10px 10px 0;border:1px solid" alt="See full size image">
                    </a>
                    <div id=details>
                      <p style="margin-bottom:4px">
                        <a href="http://people.mozilla.com/~cbeard/labs/images/test-pilot.png" style="font-size:115%;font-weight:bold">See full size image
                        </a>
                      </p>
                      <p>360 x 327 - 110k - png - 
                        <span style="color:green">people.mozilla.com/.../
                          <wbr>images/test-pilot.png
                        </span>
                      </p>
                      <p>Image may be subject to copyright.
                      </p>
                      <p>Below is the image at: 
                        <a href="http://labs.mozilla.com/tag/testpilot/">labs.mozilla.com/
                          <wbr>tag/testpilot/
                        </a>
                      </p>
                    </div>
                  <td align=right valign=bottom>
                    <div style="padding-right:8px">
                      <a href="http://labs.mozilla.com/tag/testpilot/" style="text-decoration:none">
                        <u>Remove frame
                        </u>&nbsp;
                        <img src=/images/isr_c.gif style="margin-bottom:-2px" height=15 width=15 alt="">
                      </a>
                    </div>
              </table>
              <div id=outer-separator>
                <div id=separator>
                </div>
              </div>
          <tr>
            <td>
              <iframe scrolling=auto id=rf src="http://labs.mozilla.com/tag/testpilot/" frameborder=0 allowtransparency=true style="width:100%;height:100%">
              </iframe>
        </table>
      </body>
    <script>var a = document.getElementById('rf');a && a.contentWindow && a.contentWindow.focus();</script>
    </html>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 203k
  • Answers 203k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer Both compilers are right here; the behavior for your case… May 12, 2026 at 8:36 pm
  • Editorial Team
    Editorial Team added an answer You should be able to modify the scoring with a… May 12, 2026 at 8:36 pm
  • Editorial Team
    Editorial Team added an answer When you read keyboard input with scanf(), the input is… May 12, 2026 at 8:36 pm

Related Questions

Let's say I query for http://images.google.com.sg/images?q=sky&imgcolor=black and I get all the black color sky,
Google Images is the best example. Once you follow an image, a frame remains
I am trying to read an image that resides somewhere on the web from
I have an Applet which is loading images over a http connection using URLConnection.

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.