SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Member
    Join Date
    Sep 2001
    Location
    london
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Pop up window from html email

    Hy,

    I'm creating a newsletter email in html format. I would like to have one of the links open a pop up window. I have added the following code to the html:

    <a href="http://www.trilogymarketing/flash/register.htm" onClick="MM_openBrWindow('http://www.trilogymarketing.co.uk/flash/register.htm','','scrollbars=yes,width=414,height=200')">Register</a>

    (this code was created in Dremweaver)

    but the problem is two browser windows open, one the actual pop up with all the correct diemensions and then another full screen browser window with the exact same page.

    Please could someone explain what I need to add to the code to just open the one window.

    Thanks in advance

    christina

    Hy,

    I'm creating a newsletter email in html format. I would like to have one of the links open a pop up window. I have added the following code to the html:

    <a href="http://www.trilogymarketing/flash/register.htm" onClick="MM_openBrWindow('http://www.trilogymarketing.co.uk/flash/register.htm','','scrollbars=yes,width=414,height=200')">Register</a>

    (this code was created in Dremweaver)

    but the problem is two browser windows open, one the actual pop up with all the correct diemensions and then another full screen browser window with the exact same page.

    Please could someone explain what I need to add to the code to just open the one window.

    Thanks in advance

    christina


  2. #2
    I am the night... bman's Avatar
    Join Date
    Mar 2001
    Location
    In a van... down by the river.
    Posts
    366
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    to make it not open 2 windows with the same page you have to do this..
    Code:
    <a href="#" onClick="MM_openBrWindow('http://www.trilogymarketing.co.uk/flash/register.htm','','scrollbars=yes,width=414,height=200')">Register</a>
    the way you had it before, you were telling the href to open it,
    and then you were thell javascript to open it. so it was opening it twice.
    Some say the world will end in fire, Some say in ice.
    From what I've tasted of desire
    I hold with those who favor fire.

  3. #3
    SitePoint Member
    Join Date
    Sep 2001
    Location
    london
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    pop up

    Thanks batman you made me a very happy chick!


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •