Results 1 to 4 of 4

Thread: enable a pop up

  1. #1
    Join Date
    Mar 2012
    Posts
    3
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Exclamation enable a pop up

    hello,
    i want to load a pop up on this page
    can anyone tell me how to do it
    here is the direct link to page
    its an image link and i want to load a pop up on this image link
    how do i do this
    http://myxxximage.cu.cc/images/arsenalfoo.jpg

  2. #2
    Join Date
    Mar 2011
    Posts
    2,144
    Thanks
    59
    Thanked 116 Times in 113 Posts
    Blog Entries
    4

    Default

    Code:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <HTML>
    <HEAD>
    <META content="text/html; charset=windows-1252" http-equiv=Content-Type>
    <SCRIPT TYPE="text/javascript">
    function popup() {
    window.open('anotherpage.html', 'anotherpage', 'width=400, height=200, scrollbars=yes');
    }
    </SCRIPT>
    </HEAD>
    <BODY>
    <IMG src="http://myxxximage.cu.cc/images/arsenalfoo.jpg" width="194" height="259" onclick="popup();">
    </BODY>
    </HTML>
    anotherpage.html is the name of the file to be opened in the new popup window. anotherpage is the name of that window.
    To see it in action, just save what I posted and click on the image.
    Last edited by keyboard; 03-16-2012 at 08:08 PM.

  3. The Following User Says Thank You to keyboard For This Useful Post:

    asprilla (03-17-2012)

  4. #3
    Join Date
    Mar 2012
    Posts
    3
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Exclamation

    hello keyboard1333
    thanks for ur reply
    but this is not what i want, i have a folder on my server called /images.
    in this folder there is many images, i want when i place any image link on my browser a pop in should automatically appear.
    ex: http://myxxximage.cu.cc/images/arsenalfoo.jpg
    if i place this link on my browser, the image should load together with a pop in.
    if i place any image ex: http://myxxximage.cu.cc/images/filename.jpg, the image should load together with a pop in.

  5. #4
    Join Date
    Mar 2011
    Posts
    2,144
    Thanks
    59
    Thanked 116 Times in 113 Posts
    Blog Entries
    4

    Default

    I'm sorry but I can't quite understand you.
    What do you mean by pop-up?
    Is the image in the popup?
    Does the popup come when you hover or click the image?

    Please just try to explain it a bit more.
    Keyboard1333

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
  •