Is there any other way besides an IFRAME to display a webpage within a webpage? I cannot use IFRAMES on ebay.
I am selling some fishing lures and they come in various colors, I add new colors every week and its becoming a real pain in the butt to modify 25 html files and add the new colors. An IFRAME works perfectly but ebay wont allow it in an auction.
example auction
http://cgi.ebay.com/ws/eBayISAPI.dll?Vi ... &rd=1&rd=1
display webpage within webpage?
display webpage within webpage?
Will Work For FSB
- morbidpete
- Posts: 7282
- Joined: Sat Mar 30, 2002 12:00 pm
- Location: W. Warwick RI
can you use php?
Code: Select all
<? php include('yourfile.htm') ?>- morbidpete
- Posts: 7282
- Joined: Sat Mar 30, 2002 12:00 pm
- Location: W. Warwick RI
also found this
founde it here
http://www.boutell.com/newfaq/creating/include.html
discusses server side and client side. thinking you can only use clent side. and i think java is your only option
Code: Select all
<script>
function clientSideInclude(id, url) {
var req = false;
// For Safari, Firefox, and other non-MS browsers
if (window.XMLHttpRequest) {
try {
req = new XMLHttpRequest();
} catch (e) {
req = false;
}
} else if (window.ActiveXObject) {
// For Internet Explorer on Windows
try {
req = new ActiveXObject("Msxml2.XMLHTTP");
} catch (e) {
try {
req = new ActiveXObject("Microsoft.XMLHTTP");
} catch (e) {
req = false;
}
}
}
var element = document.getElementById(id);
if (!element) {
alert("Bad id " + id +
"passed to clientSideInclude." +
"You need a div or span element " +
"with this id in your page.");
return;
}
if (req) {
// Synchronous request, wait till we have it all
req.open('GET', url, false);
req.send(null);
element.innerHTML = req.responseText;
} else {
element.innerHTML =
"Sorry, your browser does not support " +
"XMLHTTPRequest objects. This page requires " +
"Internet Explorer 5 or better for Windows, " +
"or Firefox for any system, or Safari. Other " +
"compatible browsers may also exist.";
}
}
</script>
http://www.boutell.com/newfaq/creating/include.html
discusses server side and client side. thinking you can only use clent side. and i think java is your only option
it would be stupid of ebay to let you use javascript ajax stuff to fetch data and spit it into an auction page or let you use an iframe because you could change the terms of an auction after someone placed a bid or purchased it. i seriously doubt they're dumb enough to allow javascript on their auction pages - if they are, i'll be amazed.