Need to have a close[X] button on image such as a window

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • hima114335
    New Member
    • Jun 2010
    • 1

    Need to have a close[X] button on image such as a window

    I have a simple application in which by clicking on a link an image will be dropping down from top to bottom. I had hidden the image at first and made it visible when dropping down. I had to keep another link to hide the visibility of image.Instead of that i want to have some box with minimu,maximum and close options in which my image is enclosed to that i don't need another link to close/hide the image.

    Is it possible in html or i have to use flex??
  • gits
    Recognized Expert Moderator Expert
    • May 2007
    • 5388

    #2
    you would just need to create a div that contains the image ... place the 'icons' or whatever to the topof the div and assign onclick-handlers to them where you call the corresponding javascript functions ...

    Comment

    Working...