Im doing a website for my college work. Ive almost completed it but i was wondering how to you make external links open in another window with out right clicking on the link and doing it that way. Link on this forum if you insert a link it opens in another window. Thanks for ne help
If I recall correctly, use <a href="urlhere" target="parent">blah</a> Although I'm not sure if that'll work with opera...
Hi Dorza... to get the link to open in a regular new browser window, use a link like this: PHP: <a target="_blank" href="http://www.telkman.co.uk">Telkman.co.uk</a> That works in opera too Using parent or _parent would keep it in the same window, but not the same frame. _self only links in the frame within which the link was clicked. The target bit can also contain names of frames in pages, so just the named frame links to the new page. If you want a window opened at a specific size, or with certain things like the address bar/links bar hidden, you'd need to use javascript: PHP: <a href="javascript:void(window.open('http://www.telkman.co.uk', 'Telkman', 'width=800,height=450,location=no,toolbar=no,status=no,resizable=no,scrollbars=no'));">Telkman.co.uk</a> The toolbar, status etc are fairly self explanatory. the 'Telkman' part is the identifying name of the opened window. If another link is clicked where the name is 'Telkman', the first window will go to the location of the newly clicked link. If another link is clicked where the name is 'Telkman2', a new window will be opened, with the first still open. I hope this is helpful, and makes sense - I'm not very awake at the moment. Telkman EDIT: the forums seem to be putting a space between java and script - that shouldn't be there