Pop-under window location

W

Waldo

Hi, I am starting a website (just funsies for family and friends). I am
using a pop-under window to try and get some help with site content. I have
no idea how to write html code but found the code for the pop-under on the
internet. It works fine but I would like the window to appear in the middle
of the screen and I don't see anywhere in the code to change it, of course,
it would help if I knew what to look for. Does anyone have any suggestions.
The site is www.tjlav.com. Thanks for any help.
 
D

David Berry

Switch to HTML View and change this line:

winfeatures="width=800,height=510,scrollbars=0,resizable=0,toolbar=0,locatio
n=0,menubar=0,status=0,directories=0"

To this:

winfeatures="top=60,left=60,width=800,height=510,scrollbars=0,resizable=0,to
olbar=0,location=0,menubar=0,status=0,directories=0"

The 2 things I added were top=60,left=60. The value for TOP is how many
pixels DOWN from the top of the screen and LEFT is how many pixels from the
LEFT to move the window over. The position is from the top left corner of
the window.

In this example the window will appear 60 pixels down and 60 pixels over
from the left (from the top left corner of the window). You'll need to play
with the numbers to get it exactly where you want it.

Dave
 
W

Waldo

Thank you very much, your advice not only helped, but taught me a lot.
Thanks again.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top