PDA

View Full Version : Various pages with 1 click



snaxs
April 14th, 2004, 02:11 AM
Hello.

I am making this site,, so what i want is that when you click the enter button on my splash page, to open a pop up and my main page with the swf inside at the same time., any tuts or help???
Thanks. :te:

Lost
April 14th, 2004, 02:22 AM
i think im kind of lost here. lol

they click enter on your main site, the main site goes to the main page and a pop shows? huh?

snaxs
April 14th, 2004, 02:26 AM
yes, it opens 2 new pages, a small window ( pop up ) and at the same time my main html page.

Lost
April 14th, 2004, 02:26 AM
yea use javascript

snaxs
April 14th, 2004, 04:06 AM
Yes i know that but i really don't know how.. do you know any tutorials ?? or maybe some examples ? so I can view the code?

Unit
April 14th, 2004, 06:20 PM
try...


<a href="main.html" onClick="window.open(flashpage.html,'height=400,width=200')"><img src="splash.jpg" /></a>

If that doesn't work, then I suppose it'd be possible to link to the main page, then have a function to open a new window that's called when the page loads.

snaxs
April 14th, 2004, 11:04 PM
Hey thanks yeah i think it will work but whats is the <img src="splash.jpg"/> doing there??? what links my pages is a enter button // should i remove it ?

nobody
April 14th, 2004, 11:13 PM
you can just replace the image tag that it's the example and replace it with your text, it'll do the same thing.

Hans Kilian
April 15th, 2004, 05:01 AM
I think you'll have a hard time with this idea, because it'll look very much like a pop-up ad. And everybody with a pop-up blocker won't see the pop-up window.

If you're designing for an intranet solution and you know that everybody accessing the site runs IE without a pop-up blocker, then go for it. But if you want everybody on the planet to be able to use the site, then I'd rethink the design.

snaxs
April 15th, 2004, 05:25 PM
S**T id never thought of that your rigth and i defenetly need my audience to see that pop up.. well anyways its good to learn how to do it but yes ill have to redesign that part... hans. thanks alot., and everybody/