Welcome to WebmasterWorld Guest from

Forum Moderators: open

Message Too Old, No Replies

Pop-up window and title

How do I get a title in a JS pop-up?



8:51 pm on Jul 10, 2002 (gmt 0)

10+ Year Member

I have a JS pop-up window on one page which has 25 different links. I would like to put a html title in so that the actual page file is not shown in the window.

How do I go about putting a title tag around the JS?


9:49 pm on Jul 10, 2002 (gmt 0)

WebmasterWorld Senior Member tedster is a WebmasterWorld Top Contributor of All Time 10+ Year Member

I'm not sure what you want to accomplish, so please bear with me if my answers miss the mark a bit.

A pop-up window displays whatever title tag is in the HTML document that it loads. So that spot (the title bar of the pop-up window) is handled in the html doc that loads.

Or are you hoping to control the title attribute that shows on mouseover, before the pop-up launches? If that's the goal, you can write:

<a href="poppage.html" onClick="popupFunction();return false" title="Whatever You Want">Link Text</a>


8:41 am on Jul 11, 2002 (gmt 0)

10+ Year Member

Spot on - thank you

Featured Threads

Hot Threads This Week

Hot Threads This Month