Welcome to WebmasterWorld Guest from

Forum Moderators: incrediBILL

Message Too Old, No Replies

DHTML pop up and an Iframe

Iframe DHTML pop up



1:21 pm on Apr 11, 2009 (gmt 0)

5+ Year Member

I'm not a very strong code creater. In fact I do a really bad job and have some pretty dumb ideas.

But Dumb Ideas may not always be so dumb and even a dope like me has a good day.

Since pop up blockers are killing even the pop ups that are part of a site. (And there is a lot of surfers that just aren't smart enough to turn it off.)

I got to thinking that if a pop up could be created with DHTML and have an Iframe ebedded into it.

Is this even possible ?


1:30 pm on Apr 11, 2009 (gmt 0)

5+ Year Member

Can you expand on "created with DHTML"? All popups, in my opinion, are created with "DHTML", via JavaScript. What are you proposing that's different? Other than that, an iframe is just an independent window inside another; the first window must be done as a traditional popup, so it's no different. Unless I'm just not grasping the concept.


2:17 pm on Apr 11, 2009 (gmt 0)

5+ Year Member

I really have a bad time understanding my own thoughts and even a harder time explaining what goes on in my head. Tolerate me, I'm harmless..

Let me try and be more clear...

Popups became such a nuisance that smart surfers now run popup stoppers and popup blockers. Even Google and Yahoo have added free popup blocking to their toolbars.

The newest tool many entrepreneurs are now using to get around the blocking is referred to as an “unblockable” popup, because it loads in the same page the visitor is already viewing instead of a separate window.

so I thought of a nice pop up that appears in the browser with a cool, semi-transparent look. When you look at the shadow of the object, you can still see the background.

But instead of a clickable area... It actually displays an Iframe.

I have more than 1 site and if I can " overlap " my sites.. Well, it would help make my life easier.


2:27 pm on Apr 11, 2009 (gmt 0)

5+ Year Member

It sounds like you're talking about a modal dialog [google.com].


2:55 pm on Apr 11, 2009 (gmt 0)

5+ Year Member

The idea here is to disable all the elements in an html document and present a dialog which must be "processed" by the user before any other actions can be taken.

I don't want to disable or force the user to click on anything.

What I want to do is have a pop up load in the same page but with an Iframe to another of my sites.

By not having to open a new window, I don't have to worry about pop up blockers.


3:35 pm on Apr 11, 2009 (gmt 0)

WebmasterWorld Senior Member swa66 is a WebmasterWorld Top Contributor of All Time 10+ Year Member

Add an element with JS, use CSS to give it absolute positioning so it doesn't influence the other elements on your page, and have a close button in it that removes the added element with JS


4:23 pm on Apr 11, 2009 (gmt 0)

5+ Year Member


Featured Threads

Hot Threads This Week

Hot Threads This Month