open pop up help

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • olessiavank
    New Member
    • Aug 2008
    • 1

    open pop up help

    Hi, I am currently working on a website where I need a pop up window to open. the code that I currently have is:

    Code:
    <P><a href="#" onClick="MM_openBrWindow"('newsroom-top-43.html','ArticlePop','menubar=yes,scrollbars=yes,resizable=yes,width=900,height=800')"/>
    Click here for the full press release 
    </P>
    and when I tried clicking on the link, it only refreshes the current page.
    is there a special code that should be in the html header? (I am new to HTML)

    thank you
    Last edited by eWish; Aug 15 '08, 11:32 PM. Reason: Please use the [code][/code] tags
  • drhowarddrfine
    Recognized Expert Expert
    • Sep 2006
    • 7434

    #2
    This is a javascript question. Your html doesn't do anything but stay where it is. Clicking calls the js function "MM_openBrWindo w" which you say isn't happening. So you need to ask the question on that board.

    Comment

    • eWish
      Recognized Expert Contributor
      • Jul 2007
      • 973

      #3
      Moving to the JavaScript Forum.

      Comment

      • acoder
        Recognized Expert MVP
        • Nov 2006
        • 16032

        #4
        Two obvious mistakes:
        1. You forgot to close the link.
        2. There's a stray double quote after MM_openBrWindow which closes the onclick. Remove it.

        Comment

        Working...