How do I make control "buttons" look transparent in Javascript?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • DelphiCoder
    New Member
    • Jul 2009
    • 24

    How do I make control "buttons" look transparent in Javascript?

    I wrote a gallery div where you see a photo, and at the top right corner of the photo I have images of arrows to go back and forth to see other photos, along with other controls.

    My question is: My "controls" images (which I drew by hand) have a black background. Is there a way to make the background transparent so that all I see on the photo is the control itself? If this is not doable in Javascript, is it doable in Photoshop, etc, or some other technology? I really don't want to use Flash for this.
  • gits
    Recognized Expert Moderator Expert
    • May 2007
    • 5390

    #2
    you might play with the css-transparency settings described here ... otherwise you could use a image processing software to create transparent images ... i think gif and png does allow transparent channels ...

    kind regards

    Comment

    • DelphiCoder
      New Member
      • Jul 2009
      • 24

      #3
      Originally posted by gits
      you might play with the css-transparency settings described here ... otherwise you could use a image processing software to create transparent images ... i think gif and png does allow transparent channels ...

      kind regards

      Thanks. I feel stupid. I did a search and found the answer on Google on how to make a GIF background transparent with "The Gimp". Now my photo browser looks semi-professional.

      Comment

      • gits
        Recognized Expert Moderator Expert
        • May 2007
        • 5390

        #4
        :) ... glad to hear that you found a suitable solution for your problem ... the gimp will do the job well ...

        kind regards

        Comment

        Working...