![]() |
html code question...
let's say i load index.html, is it possible to make it open up 2 different html pages without using any type of popup scripts to avoid popup blockers?
|
any1?......
|
the magic 8-ball says... No
|
Google html frames! Should be possible.
|
In the same window/tab?
|
you mean iframe and that is no problem. or you mean page that will open two pages that will open two pages that will open two pages and so and thats nasty
|
Quote:
|
Good luck finding your answer.
|
Iframes are your friend.
|
I think the answer has been giving...no...unless you mean in page with an iframe ;)
|
no, not in the same page... one page will be seen and the second one in the background
|
Quote:
|
it is great how almost every sponsors has tours with some consoles and popunders but nobody is willing to help
|
and i have forgot it is nasty man i do not approve your shit
|
Quote:
|
Quote:
iframe or javascript is the only solution... |
Quote:
|
if you go to http://www.cooterville.com on your first click in a window will launch to sexier.com and go under in IE. In FF it should open in a new tab but the focus should remain on the main tab.
After the first click the site should behave normally. Just using a little css with a touch of script but none that most popup blockers I know of would notice. There is a transparent image across the entire page with an href attached that opens in a new window using target=_blank. There is an onclick event that hides the transparent gif so the main page will be usable. Then on the page that is launched there is a self blur line of script in the header so it puts itself under, or in the case of ff loses focus on the new tab that was opened. Took about 10 minutes to put together and test. Watch out. I have it in the footer of the theme so right now it will reload the transparent gif every time you go to a new page and therefore you will get another popunder if you continue to click around and on and on and on. Gonna go into the template and fix that. |
I will be taking the example I did above in a little while because I really do not want a popunder on that particular site.
I have a plain jane test example of the same thing at http://www.partyafterdark.com/poptest/firstpage.htm |
Ok, well I guess that just impressed the hell out of everybody...lol.
Anyway, here is another way to do pretty much the same thing but perhaps more inline with the original question. On this one. I have 2 divs on the main page. On the first div I have the main content for the page and on the second div I have an enter href, like a warning page would have it. The first div is hidden at load time and the second div is not. The href is pointed at my second page with the target opening in _blank and the self.blur at top (just like the original example). There is an onclick event which hides the second div and shows the main content. Seems to work fine as a popunder in the 5 minutes of testing I gave it. http://www.partyafterdark.com/poptest/firstpage1.htm |
Ok, last note on this. In IE if I change the popup blocker to high it will block the new window. However, at that setting every target=_blank gets blocked which would make a lot of sites out there pretty much unusable.
So, it is blocked by some browsers. I think to get around everything you have to do it smokey the bear style. |
You can use an onload tag....
You can use a timed Javascript.... You can use an Iframe.... You can use hover targets.... There are several ways to do it. Keep in mind if you use a hover , onload, onexit or javascript you're probably gonna trigger a popup blocker. |
| All times are GMT -7. The time now is 10:33 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123