pop-up window from a pop-up window

kearsefreak's picture

They have: 39 posts

Joined: Sep 2001

Hey guys,

Can you help me?

Please check out this site http://www.ojhanssen.com

Go to the Forums............

SEE?????

The Forums are supposed to open up in another 600x600 window....

can you help me with this? I can't figure it out....

kf

Busy's picture

He has: 6,151 posts

Joined: May 2001

the link didnt work

but you can either use Javascript to open a sized window, or use target=_new etc to open a full window.

kearsefreak's picture

They have: 39 posts

Joined: Sep 2001

currently there is a javascript on that link to open a sized window but see, it doesn't work........ARGHHHHH!

i'm new to the tell=target........could you explain a bit for me?

thanks busy

kf

Busy's picture

He has: 6,151 posts

Joined: May 2001

The target option is limited, where as it just opens a new window

link name

the target= name can be anything, there are some key words like, _new, _parent etc but if you use a word the browser doesnt reconise it will (usually) open in a new window.

If you want a sized window without toolbars etc you'll need to use Javascript, something like

open

just add location=no,resizeable=no,scrollbars=no etc before the width and height part, dont use quotes but place before the quote before the width

if your going to use a javascript popup, use a noscript link as well, as people do surf with javascript turned off (mostly to avoid the pop up banners etc)

Suzanne's picture

She has: 5,507 posts

Joined: Feb 2000

zerocattle.com/examples/popUp.html

That's a page with the JavaScript function (in the tag) that allows the user without JavaScript enabled to be able to use the link regardless, without you having to resort to tags.

It's based on the tutorials for popup windows at irt.org (actual tutorial links on that page).

Smiling Suzanne

They have: 18 posts

Joined: Oct 2001

For an example of the correct coding, take a look at http://www.brathay-lodge.com - go to the bedroom pictures and click on them. Alternatively, take a look at the coding for the homepage at http://www.cumbria.uk.com which has a pop-up of a fixed size.

Hope this helps,

Paul

Business Forum - Sport Forum - Travel Forum
Participation in our forums is rewarded with free ads!

kearsefreak's picture

They have: 39 posts

Joined: Sep 2001

i'll give it a shot and report back

kf

kearsefreak's picture

They have: 39 posts

Joined: Sep 2001

me again

I took a look at your lodge site and that's what I CAN do.....what I'm trying to do is make a pop-up window by clicking on link WITHIN another pop-up window.....

for instance in your lodge site, when the jpe of the room comes up in the pop-up? then imagine that your 'close this window' link, when clicked, opened another window......

that's what I'm trying to do......

can you help........?

kf

Suzanne's picture

She has: 5,507 posts

Joined: Feb 2000

Put the popup code in the file that opens in the first popup window as well.

file1.html -- has link that opens new window with file2.html in it
file2.html -- has link that opens new window with file3.html in it

If you are trying to close the first popup window while opening a new window (not sure, but just in case), then instead of putting the code in the link, put it in the body tag, with an onUnload function.

If you are seriously considering having cascading popup windows, though, beware that they frustrate users far more than they help them, depending on what you have in them. i.e. if you are using them to keep people on the site, that's bad, but if you are using popup windows as part of a remote linking system, or a quiz with help tips, or other application-like functions, then it's good.

Like most things, it depends on what you are trying to do and what your userbase is expecting.

Good luck!

Smiling Suzanne

kearsefreak's picture

They have: 39 posts

Joined: Sep 2001

thanks for shouting loud on this one.......

i'll put it to use and get back to you.............

thanks again

kf

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.