 |
|
|
| View previous topic :: View next topic |
| Author |
Message |
LisaMills
Joined: 30 Dec 2004 Posts: 5 Location: London
|
Posted: Thu Dec 30, 2004 3:22 am New window not pop up |
|
|
|
| Hi, I'm very very new to html coding. We have a website http://www.24-7london.co.uk for which we have received permission to have an affiliation with ticketmaster. I am able to put their code that they provided in but this opens up over our website and our site disappears. I want to open it up in a new window but not a pop up as many people now block pop ups. I just want a full new window. Any ideas? |
|
eric123
Joined: 14 Dec 2004 Posts: 9
|
Posted: Fri Dec 31, 2004 7:06 pm |
|
|
|
| <a href="http://domain.com" target="_blank"></a> is that what u mean |
|
LisaMills
Joined: 30 Dec 2004 Posts: 5 Location: London
|
Posted: Sun Jan 02, 2005 2:27 am Window not pop up |
|
|
|
I'm not sure Eric, but sounds good. I will give it a go.
Thanks |
|
LisaMills
Joined: 30 Dec 2004 Posts: 5 Location: London
|
Posted: Tue Jan 04, 2005 3:25 am New window not pop up |
|
|
|
That didn't work. A new window opened up but my website disappeared. I can get my website back by clicking 'back' but I want both websites to remain open. The coding I have is http://www.ticketmaster.co.uk/section/arts_theater?affiliate= ZB55" target="_blank
Maybe it needs to be a pop up but i'm not keen on them.
any further suggestions?
If you need a demo go to http://www.24-7london.co.uk, attractions, performing arts, 1984 and click book now. |
|
cemplukcute2003
Joined: 27 Dec 2004 Posts: 28
|
Posted: Wed Jan 05, 2005 12:18 am |
|
|
|
<SCRIPT LANGUAGE='JavaScript'>
{literal}
function callList() {
window.open('http://www.ticketmaster.co.uk/section/arts_theater?affiliate');
}
{/literal}
</SCRIPT>
and then in html coding :
<INPUT TYPE=Button NAME='Show' VALUE='Show' onClick='callList();return true;'>
i don't know if it suites u, but i hope it can help.. |
|
LisaMills
Joined: 30 Dec 2004 Posts: 5 Location: London
|
Posted: Wed Jan 05, 2005 1:31 am new window not pop-up |
|
|
|
| Sounds completed, but I will give it a go! Thank you |
|
kanenas

Joined: 14 Dec 2004 Posts: 341
|
Posted: Wed Jan 05, 2005 1:34 am Re: New window not pop up |
|
|
|
Opening the link in a new window IS a pop-up, no matter what the method.
| LisaMills wrote: |
That didn't work. A new window opened up but my website disappeared. I can get my website back by clicking 'back' but I want both websites to remain open. The coding I have is http://www.ticketmaster.co.uk/section/arts_theater?affiliate= ZB55" target="_blank
Maybe it needs to be a pop up but i'm not keen on them.
any further suggestions?
If you need a demo go to http://www.24-7london.co.uk, attractions, performing arts, 1984 and click book now. |
It's not clear what you mean by 'disappeared' and 'both websites to remain open'. If the link opens in a new window, the old window must still be open. By 'disappeared', do you mean covered by the new window? If you close the new window, do you see your website in the old window? If so, the new window covers up the old one because the old window was maximized. The only way to open a new window unmaximized is to use 'window.open'.
The example source for the link isn't displaying properly; please enclose it in BBCode 'code' tags, e.g.:
| Code: |
[code]
<a href="http://www.ticketmaster.co.uk/section/arts_theater?affiliate= ZB55" target="_blank">Ticketmaster</a>
[/code]
|
Setting the 'target' attribute of a link to "_blank" as above should cause the link to open in a new window, leaving the old window untouched (as per the HTML4 spec) in all modern browsers that support multiple browser windows (i.e. not Lynx).
Finally, before settling on opening the link in a pop-up (with either window.open or target="_blank"), read this article on the use of 'target="_blank"' |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|
|
 |
|
|
|
|
|
|
|