homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Advertising / Pay Per Click Engines
Forum Library, Charter, Moderator: open

Pay Per Click Engines Forum

Inset iframe before div
insertBefore Menu

5+ Year Member

Msg#: 3647591 posted 2:01 am on May 12, 2008 (gmt 0)

How come the the following code is not working? Please help...

function InitMainMenu() {
var obj = document.getElementById("menuBar");
var iframeMain = document.createElement("IFRAME");
iframeMain.frameBorder = 0;
iframeMain.style.width = document.body.clientWidth;
iframeMain.src = "javascript:false;";
iframeMain.style.zIndex = 5;
iframeMain.style.position = "absolute";
obj.parentNode.insertBefore(iframeMain, obj);


Global Options:
 top home search open messages active posts  

Home / Forums Index / Advertising / Pay Per Click Engines
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved