use this line to focus the new tab, otherwise it will open in background "string" - in the window with an id of "string", or a new window if "string" is not the id of a current windowĮDIT Did some research after our discussion in comments, and found this snippet: var myUrl = "" _top - overload the entire page, usually used in a frame context _parent - the window which opened the current window, or the parent frame in a frameset You have these special keywords you can place in the attribute: _blank - new window The target attribute allows you to specify which window to open a link in.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |