A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Transparent Image Trickery

  1. #1
    Senior Member
    Join Date
    Aug 2009
    Posts
    113

    Transparent Image Trickery

    How do I apply this trick to my code?

    Code:
    <input type="image" src="http://images.tofsample.multiply.com/image/1/photos/5/500x500/1/orderform.jpg?et=bNatc6kKAFaWPdMZndqYaQ&amp;nmid=293210835" width="110" height="130" border="0" value="Submit Form" />

    When I know this is the code for the trick:

    Code:
    <SPAN STYLE="background-image: url(orderform.jpg)"><IMG SRC="transparent.gif" WIDTH="195" HEIGHT="190" BORDER="0"></SPAN>

  2. #2
    Bearded (M|G)od MyFriendIsATaco's Avatar
    Join Date
    Dec 2002
    Location
    Awesomeville.
    Posts
    3,045
    What is the purpose of that code? It's just overlaying a transparent gif over a div. Why would you want to do that?

  3. #3
    Senior Member
    Join Date
    Aug 2009
    Posts
    113
    image protection. Just like in flickr. you cannot save the pictures. In my part, I want to protect that button bec. I paid for it. Somebody might just copy it from me and not buy anymore. The other pics are not copyrighted so it's not a prob.

  4. #4
    Bearded (M|G)od MyFriendIsATaco's Avatar
    Join Date
    Dec 2002
    Location
    Awesomeville.
    Posts
    3,045
    Just so you know, that's not stopping anyone from stealing anything.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center