Banner

He has: 18 posts

Joined: Jul 2005

I have a page in HTML that I want to include a banner file in that pops up when the page loads. The banner itself is an ASP page. How would I go about adding that code into my HTML page so that it pops up before the page loads?

They have: 5,633 posts

Joined: Jan 1970

So you want someone to click through the banner in order to view the page? Or you just want a pop-up?

demonhale's picture

He has: 3,278 posts

Joined: May 2005

you can do a popup through javascript...

He has: 10 posts

Joined: Oct 2005

You should use javascript if you want a popup and php if you want people to have to click on the banner.

The Webmistress's picture

She has: 5,586 posts

Joined: Feb 2001

But bare in mind that pop-ups are annoying and a lot of people will have pop-up killers installed and wont see the banner!

demonhale's picture

He has: 3,278 posts

Joined: May 2005

theres a bunch of codes for immortal popups...

JeevesBond's picture

He has: 3,956 posts

Joined: Jun 2002

The Webmistress wrote: But bare in mind that pop-ups are annoying and a lot of people will have pop-up killers installed and wont see the banner!

Agreed (well apart from the spelling of "bear in mind" Smiling )!

Or is it a popin you're after? They're even more annoying, people on the net are usually looking for something specific so impeding their progress with an advert they never asked for is not going to be welcome.

This will probably cause the user to go straight back to the Search Engine results and look again.

a Padded Cell our articles site!

He has: 388 posts

Joined: Apr 2005

This guy hasnt replied and his question isn't vey clear (no offense hutch). I think this has turned into a thread for everyone to unload on popups Smiling Not that thats a bad thing.

JeevesBond's picture

He has: 3,956 posts

Joined: Jun 2002

Heh, perhaps that's why he hasn't replied.

Well sorry if we've put you off hutch, but popups are evil! Laughing out loud

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.