Jump To Content

LearnHub




Javascript: Pop-up

The simplest way to create a javascript popup is to create a function like so.

And then add the following to the anchor link you would like to popup.

<a href="#" onclick="return showPop('http://www.google.com')"> see my popup </a>


  1. Andrew Brown saidWed, 21 May 2008 14:21:47 -0000 ( Link )

    Where’s the function?

    Actions
    Vote
    Current Rating
    0
    Rate Up
    Rate Down
    No Votes

    Post Comments

  2. laurellion saidWed, 21 May 2008 14:36:58 -0000 ( Link )

    Thats for noticing! Fixed it now. Sometimes code seams to disappear on me here.

    Actions
    Vote
    Current Rating
    0
    Rate Up
    Rate Down
    No Votes

    Post Comments

Your Comment
Textile is Enabled (View Reference)