| Welcome to WebmasterWorld Guest from 184.108.40.206 |
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
|Subscribe to WebmasterWorld|
|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)|
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)|
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)|
Spot on - thank you
All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
© Webmaster World 1996-2014 all rights reserved