Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5

Thread: Popups on Click

  1. #1
    New Coder
    Join Date
    Feb 2005
    Location
    Winchester, KY
    Posts
    15
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Popups on Click

    How can you make a popup window come up when a certain picture is clicked? I made a game and you have to catch a picture, and I want a popup to come up to tell them that they won. Thanks!

  • #2
    New to the CF scene
    Join Date
    Feb 2005
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Exclamation

    use flash.
    Musicbox Verson 2.1 for Professional Music websites, Guaranteed
    Waadia.com - New Products & Services

  • #3
    New Coder
    Join Date
    Dec 2004
    Location
    Ontario, Canada
    Posts
    32
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Search the Javascript forum

    Search the javascript forum, you find an answer there. Ask a moderator to move this post there, do not double post.

    Nite

  • #4
    Regular Coder
    Join Date
    May 2004
    Location
    Berkeley, California Age: 15
    Posts
    398
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by expertcoder
    use flash.
    Umm..WHAT?!? Use flash for a simple pop-up? I doubt it! Try searching google or this forum before you post..


    <a href="link.html" target="AutoWindow" onClick="window.open('','AutoWindow',& #39;toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=yes,r
    esizable=no,width=400,height=480')"><img src="image.jpg"></a>

    Fool around with that....but make sure <img src="image.jpg"> is changed to the proper file name.
    Jalenack.com .:. YWDA Founder .:. Rounded Corners Maker 1.1! .:. My Blog
    The hardest thing about teaching is not knowing the right answers, but knowing the right questions - Elisabeth Klein
    Pretty buttons does not a great website make.

  • #5
    Senior Coder whizard's Avatar
    Join Date
    Jan 2005
    Location
    Philadelphia, PA, USA
    Posts
    1,662
    Thanks
    14
    Thanked 76 Times in 76 Posts
    I was involved in another thread about this, If you need explanation on the command, click here:

    http://codingforums.com/showthread.php?t=51658

    btw, nite1x

    I don't think it was unreasonable for MagicalChair to ask this question in the HTML/CSS forums.


    Dan
    PHP Tip: If you want to use short tags (<? or <?=$var) then make sure short_open_tag is set to "1". It really helps.

    Don't forget to save everyone time and mark your thread as Resolved :)

    "Also note that it is your responsibility to die() if necessary."

    DON'T USE THE MYSQL_ EXTENSION


  •  

    Posting Permissions

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