www.webdeveloper.com
Results 1 to 5 of 5

Thread: Dynamic Image (button)

Hybrid View

  1. #1
    Join Date
    Apr 2013
    Posts
    3

    Dynamic Image (button)

    Hello,

    So I just want to build a image (like a button), which will contain several scrambled images that will be organized when mouse is over. But my question is, how can I made it?! With flash, gif image, or what?!

    Sorry about my English, I'm from Brazil.

    Thanks,

    Regards, Mateus.

  2. #2
    Join Date
    Apr 2013
    Posts
    135
    Creating Any Adding User Controls to a Page Dynamically.

    Create a placeholder control <asp:PlaceHolder id="ph1" runat="server" />
    Dim oCtrl1 As UserControl = LoadControl("..\controls\ascx\imgbtn.ascx")
    ph1.Controls.Add(oCtrl1)

    if you want to add <BR> or <P> OR Space

    ph1.Controls.Add(New HtmlGenericControl("br"))
    ph1.Controls.Add(New HtmlGenericControl("p"))
    ph1.Controls.Add(New HtmlGenericControl("&nbsp;"))

  3. #3
    Join Date
    Apr 2013
    Posts
    3
    Sorry man, I think I didn't explain what I want clearly.

    So the images in this link: www.saggin.com.br, are now organized (making a SA, GG and IN). I want them to be organized that way (SA, GG, IN) when the mouse pointer is over, before that they are all disorganized.

  4. #4
    Join Date
    Apr 2013
    Posts
    11
    Have you look into HTML5 Canvas? You can create Canvas box for each SA GG and IN, draw each img in any x,y position. When mouseover canvas detected, it will call a function to move these image to where they suppose to be.

  5. #5
    Join Date
    Apr 2013
    Posts
    3
    Yeah man, I forgot Canvas tool. Thank you, I will try it, if a I need help I come back. Thanks

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles