| Welcome to WebmasterWorld Guest from 184.108.40.206 |
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
|Pubcon Platinum Sponsor 2014|
|Pop-up window and title|
How do I get a title in a JS pop-up?
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?
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>
Spot on - thank you
All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved