#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2006
    Posts
    59
    Rep Power
    10

    Button loading PNG


    Hey all,

    I have been sitting with the idea of having a small button on my HTML page. When the user clicks this button I wanted to have a PNG load where I tell it too and in the dimensions I want it too. I also want to incorporate a "Xclose" button.

    I have been fooling around with lightbox, although I was wondering if it could be a lot more Simpler.

    Any suggestions on how I can go about doing this?

    Is z-index an option?

    Thank you all.

    -Jordan
  2. #2
  3. No Profile Picture
    Lost in code
    Devshed Supreme Being (6500+ posts)

    Join Date
    Dec 2004
    Posts
    8,316
    Rep Power
    7170
    This is fairly simple to do, but you will need to use JavaScript for it.

    You could do something as simple as building an absolutely positioned element with your custom contents in it, then showing/hiding it using JavaScript on the click of a button.
    PHP FAQ

    Originally Posted by Spad
    Ah USB, the only rectangular connector where you have to make 3 attempts before you get it the right way around
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2006
    Posts
    59
    Rep Power
    10
    Originally Posted by E-Oreo
    This is fairly simple to do, but you will need to use JavaScript for it.

    You could do something as simple as building an absolutely positioned element with your custom contents in it, then showing/hiding it using JavaScript on the click of a button.
    Thank you, I will try to find ways to attempt this

IMN logo majestic logo threadwatch logo seochat tools logo