embed website using javascript


I am needing some javascript written to embed Website A into Website B.

In the past I used something like:

<script language="JavaScript" type="text/JavaScript">

if([url removed, login to view] == "Microsoft Internet Explorer") {

[url removed, login to view]("<object type='text/x-scriptlet' data='[url removed, login to view]' width='100%' height='100%'></object>")


Which worked but the problem I ran into is the height is cut off. The [url removed, login to view] page is sometimes very long and needs the height of the content displayed correctly on WEBSITE-B.com.

The javascript tag (that I am requesting you to code today) will be inserted into an ebay auction, so they do not allow this format:

<script language="JavaScript" src="http://something.com/some.js"></script>

The do allow this:

<script language="JavaScript" type="text/JavaScript"> [url removed, login to view]("<object type='text/x-scriptlet' data='' ETC

They also allow something like this:

<script language="JavaScript" src="[url removed, login to view];ai=c%7Cpxo%7Cmot%7Exn&bdrcolor=CF142B&cid=0&eksize=1&encode=ISO-8859-1&endcolor=FF0000&endtime=y&fbgcolor=777777&fntcolor=000000&fs=0&hdrcolor=FFFFFF&hdrimage=1&hdrsrch=n&img=y&lnkcolor=0066CC&logo=1&num=50&numbid=y&paypal=n&popup=y&prvd=1&query=Canon 75-300mm f/4-5.6 III USM EF Lens&r0=3&shipcost=y&sid=Canon 75-300mm f/4-5.6 III USM EF Lens&siteid=0&sort=MetaEndSort&sortby=endtime&sortdir=asc&srchdesc=y&tbgcolor=FFFFFF&title=Canon 75-300mm f/4-5.6 III USM EF Lens&tlecolor=888888&tlefs=0&tlfcolor=000000&track=tracking_id&width=600"></script>

Of course, I don't need all those vars, but it does serve to show what ebay accepts. If you choose to go this route

I could care less how you do code it as long as:

1) works across all browsers/platforms (assuming user has js on)

2) keep the code clean

3) needs to load site as quickly as possible (on the javascripts end).

4) display needs to display the full height and width as if seen from [url removed, login to view] in a regular browser.

5) no scroll bars please (firefox seems to throw scrollbars with the code I used in the past - above example code)

6) is user has js turned off within browser, give a small dialog box saying "please turn your javascript on within your browser to see this auction".

One thing I would like to see, but not a MUST, show a "loading page" image until the javascript fully loads the [url removed, login to view] page within [url removed, login to view] page. I have the image already.

I will send some working examples of which [url removed, login to view] will be used for [url removed, login to view] (which is ebay).

First person to get this done in a day wins the bid. You must show proof of working code by PM.

Taidot: J2EE, Java, Javascript, JSP

Näytä lisää: javascript embed website, embed website, embed website website, embed website javascript, embed website within website, javascript embed web page, embed site javascript, embed javascript website, javascript embed site, embed website ebay, embed web page javascript, javascript embed website within website, embed site within site, javascript embed website page, embed site site, embed site, website using javascript, object embed website, turn image into logo, today in javascript

Tietoa työnantajasta:
( 7 arvostelua ) West Lafayette, United States

Projektin tunnus: #119689