Hi,
im using the following code to display my XBL (Xbox Live) gamercard on my website.
[code]
function gamercard() {
// shortcut reference to the document object
d = document;
// if the modalContainer object already exists in the DOM, bail out.
if(d.getElementById(“div”)) return;
// create the modalContainer div as a child of the BODY element
divObj = d.getElementsByTagName(“body”)[0].appendChild(d.createElement(“div”));
divObj.id = “modalContainer”;
iframeObj = divObj.appendChild(d.createElement(“iframe”));
iframeObj.id = “gamertag”;
//set properties for iframe
iframeObj.allowtransparency = “true”;
iframeObj.scrolling = “no”;
iframeObj.frameBorder = “0”;
iframeObj.height = “140”;
iframeObj.width = “204”;
iframeObj.marginwidth = “0”;
iframeObj.marginheight = “0”;
//set the source of the iframe
iframeObj.src = “http://gamercard.xbox.com/Oracle%20Of%20All.card”;
}
unfortunatley the following commands will not work in MSIE:
iframeObj.scrolling = “no”;
iframeObj.frameBorder = “0”;
does anyone know how i can get around this??
To see an example visit [url]www.gamershq.com.au
help is greatly appreciated
/– Oracle Of All