Java Open New Window Problem

They have: 5 posts

Joined: Mar 2000

I have a problem when I open I new window using JavaScript through Dreamweaver. If you scroll down the page so that the top does not show any more then click on a graphic the window opens up fine, but the main page scrolls back to the top and I want it to stay at the current postion

"Mess with the best die like the rest"

They have: 5 posts

Joined: Mar 2000

Also I am using OnClick()
thats
it works now but only on some computers, is there a default in the browser

Suzanne's picture

She has: 5,507 posts

Joined: Feb 2000

It's not Dreamweaver, JavaScript has it so it pops to the top of the page, or reloads the page when you use a new window pop up.

I get around it ( www.zerocattle.com/portfolio.html - click on denali or abandon) by adding name="whatever" to the <a> tag and instead of specifying "#" as the href, I use "#whatever" so it stays put. Of course in Dreamweaver I think it has the function reversed from how I do it, so this may make no sense at all to you!

hth, anyway!

Suzanne

------------------
Zero Cattle
Suzanne
Tables DeMystified

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.