Web Design/HTML help

Discussion in 'OT Technology' started by k2737, Jan 10, 2006.

  1. k2737

    k2737 Active Member

    Joined:
    Nov 29, 2004
    Messages:
    3,324
    Likes Received:
    0
    Location:
    Ft Lauderdale
    So I have been creating a site where clients can upload files so we don't have to rely on our FTP server so much. Anywho, when the user selects what files they want to delete I want a little pop up window to come up and ask if they are sure and list them. If they hit yes they get removed otherwise they don't. Now I know 99% of people have popups blocked so what is a good route to take to get this affect? I didn't really want to reload the page with the confirmation message but I might have to. Any ideas?
     
  2. CyberBullets

    CyberBullets I reach to the sky, and call out your name. If I c

    Joined:
    Nov 13, 2001
    Messages:
    11,865
    Likes Received:
    0
    Location:
    BC, Canada/Stockholm, Sweden
    look into javascript confirms. unless they have JS disabled, it should still run fine.

    Code:
    <script type='text/javascript'>
     confirm("Do your parent's know you're gay?");
    </script>
    
     
  3. kingtoad

    kingtoad OT Supporter

    Joined:
    Sep 2, 2003
    Messages:
    55,923
    Likes Received:
    11
    Location:
    Los Angeles
    As CyberBullets said, JavaScript confirmation should suffice.
     
  4. k2737

    k2737 Active Member

    Joined:
    Nov 29, 2004
    Messages:
    3,324
    Likes Received:
    0
    Location:
    Ft Lauderdale
    Alright thanks I will check them out.
     

Share This Page