I can't get this popup to work!

3 replies
  • WEB DESIGN
  • |
Hey warriors --

I'm having trouble with the following code...

In my header tags, I have:

<script language="JavaScript" type="text/JavaScript">
<!--
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
//-->



And in the body tags, I have:

<a href="#"><img src="d/images/raw.png" alt="" width="145" height="190" border="0" onmouseup="MM_openBrWindow(ox-pop.html','','width=280,height=180')"></a>


For whatever reason, my "ox-pop.html" file isn't executing whenever the graphic loads.

I'm sure I'm missing something here, but I don't know what.

Can you help me? I'd really really appreciate it!


-- Casey
#popup #work
  • Profile picture of the author jimisan
    Some pop-ups can freeze our system. I don't know yours. I personally finds it irritating and it makes me wanting to leave immediately upon encountering one.
    {{ DiscussionBoard.errors[864051].message }}
  • Profile picture of the author csstanton
    jimisan,

    I appreciate your experience, but I'd like to test to see if it increases my opt-in rate.

    Any other inputs?
    Signature
    Casey Stanton
    Outdoor Guy

    Twitter: twitter.com/CaseyStanton
    {{ DiscussionBoard.errors[864484].message }}
  • Profile picture of the author CMartin
    Originally Posted by csstanton View Post

    And in the body tags, I have:
    <a href="#"><img src="d/images/raw.png" alt="" width="145" height="190" border="0" onmouseup="MM_openBrWindow(ox-pop.html','','width=280,height=180')"></a>
    Don't know if this was a copyPaste problem, but there's a missing single quote(') in the: MM_openBrWindow(ox-pop.html'
    Use: MM_openBrWindow('ox-pop.html'

    For whatever reason, my "ox-pop.html" file isn't executing whenever the graphic loads.
    And it shouldn't do anything on load! It should only pop-up when you click it

    Carlos
    {{ DiscussionBoard.errors[890370].message }}

Trending Topics