GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   html code question... (https://gfy.com/showthread.php?t=957247)

qwe 03-07-2010 03:37 PM

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?

qwe 03-07-2010 05:33 PM

any1?......

Waddymelon 03-07-2010 05:47 PM

the magic 8-ball says... No

Go4it 03-07-2010 06:09 PM

Google html frames! Should be possible.

Cyber Fucker 03-07-2010 06:12 PM

In the same window/tab?

ColetteX 03-07-2010 06:44 PM

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

Cyber Fucker 03-07-2010 07:17 PM

Quote:

Originally Posted by ColetteX (Post 16927997)
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

no shit :1orglaugh I remember the times when I was 15 or so and I went to cyber cafe to surf the web for some info (I had no internet at home)... most computers were occupied by some crazy folks plaing Quake deathmatches and the ones that weren't ....I were opening a browser to get a bukkake of porn sites till everything was freezing... :1orglaugh

fatfoo 03-07-2010 08:10 PM

Good luck finding your answer.

BIGTYMER 03-07-2010 08:28 PM

Iframes are your friend.

webboy21 03-08-2010 02:23 AM

I think the answer has been giving...no...unless you mean in page with an iframe ;)

qwe 03-08-2010 11:08 AM

no, not in the same page... one page will be seen and the second one in the background

sarettah 03-08-2010 11:25 AM

Quote:

Originally Posted by qwe (Post 16929466)
no, not in the same page... one page will be seen and the second one in the background

You can do it on the first click without any scripting that should trigger a popup blocker.

ColetteX 03-08-2010 11:33 AM

it is great how almost every sponsors has tours with some consoles and popunders but nobody is willing to help

ColetteX 03-08-2010 11:34 AM

and i have forgot it is nasty man i do not approve your shit

qwe 03-08-2010 04:23 PM

Quote:

Originally Posted by sarettah (Post 16929523)
You can do it on the first click without any scripting that should trigger a popup blocker.

and how do you do that without any java scripts ?

HomerSimpson 03-08-2010 04:47 PM

Quote:

Originally Posted by qwe (Post 16930415)
and how do you do that without any java scripts ?

not possible...
iframe or javascript is the only solution...

sarettah 03-08-2010 04:48 PM

Quote:

Originally Posted by qwe (Post 16930415)
and how do you do that without any java scripts ?

I didnt say without any scripts. I said without any scripts that will trigger a popup blocker.

sarettah 03-08-2010 08:54 PM

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.

sarettah 03-09-2010 06:48 AM

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

sarettah 03-09-2010 01:40 PM

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

sarettah 03-09-2010 04:57 PM

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.

BillyHoe 03-09-2010 08:45 PM

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