Can I do this in HTML?

Discussion in 'HTML & Website Design' started by Mecal, May 19, 2009.

  1. #1
    So I want to create a small popup window - like the error kind - when you click on a link.

    Like, you click on a link, and you get the little window and I can have it say "not available at this time" and then they click "OK"

    Can I do this in HTML?

    Thanks!
     
    Mecal, May 19, 2009 IP
  2. jordanthegreat

    jordanthegreat Active Member

    Messages:
    390
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    58
    #2
    No. That is not possible in HTML. You will need javascript for that.
     
    jordanthegreat, May 19, 2009 IP
  3. aGor

    aGor Member

    Messages:
    80
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    43
    #3
    aGor, May 19, 2009 IP
  4. Mecal

    Mecal Peon

    Messages:
    274
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Mecal, May 19, 2009 IP
  5. alfa_375

    alfa_375 Active Member

    Messages:
    445
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    60
    #5
    Excellent resource, thanks Mecal.
     
    alfa_375, May 19, 2009 IP
  6. GWebSol_Online

    GWebSol_Online Banned

    Messages:
    171
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Hello

    You can do it in javascript. Its a kind of animation.

    Regards
    GSolOnline
     
    GWebSol_Online, May 20, 2009 IP
  7. caffeinatedworld

    caffeinatedworld Peon

    Messages:
    59
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    As everyone said you can do this kind of stuff in Javascript and you should also checkout using Lightboxes - they are really effective :)

    Also... if you are going to learn Javascript - learn jQuery - it's a really handy tool :)
     
    caffeinatedworld, May 21, 2009 IP
  8. Fareast

    Fareast Banned

    Messages:
    64
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #8
    thanks a lot Mecal
     
    Fareast, May 21, 2009 IP
  9. Rad_Dev

    Rad_Dev Peon

    Messages:
    62
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Is this what you're looking for?

    <a onClick="alert('not available at this time.');return false;" href="#">link</a>
    Code (markup):
     
    Rad_Dev, May 21, 2009 IP
  10. Microdot

    Microdot Well-Known Member

    Messages:
    72
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    120
    #10
    I agree with the lightbox suggestion.. very powerful.

    There's also a lighter version called the greybox.. again it's very powerful.
     
    Microdot, May 21, 2009 IP
  11. dreamdesigning

    dreamdesigning Banned

    Messages:
    80
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #11
    you use java scrip its batter option
     
    dreamdesigning, May 22, 2009 IP
  12. dannyrich

    dannyrich Peon

    Messages:
    27
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #12
    I think you can only do this using javascript infact you can add some more features to it if you want to and as u knw html is not so dynamic in its use is slowly slowly fading n new technology is taking its place due to their special features.
     
    dannyrich, May 22, 2009 IP
  13. Ralle

    Ralle Active Member

    Messages:
    35
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    91
    #13
    If you make a page that is "beta" like view this page but expect problems. You can make it like this
    <a href="yourlink" onclick="return confirm('This page is in development, are you sure you want to view it?')">title</a>
    Code (markup):
     
    Ralle, May 22, 2009 IP