image + text on top both separate coordinate

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Fary4u
    Contributor
    • Jul 2007
    • 273

    #1

    image + text on top both separate coordinate

    Hi

    is there any way i can show the picture coordinates + display some additional text on the upper layer?

    like image is on the back & top is the word information.

    ??????????????? ??????????????? ????
  • acoder
    Recognized Expert MVP
    • Nov 2006
    • 16032

    #2
    Show your code so far, so that we can have a better idea of what you mean.

    Comment

    • Fary4u
      Contributor
      • Jul 2007
      • 273

      #3
      it's related to HTML Simple code coz my coding based in Ajax, javascript, asp & database programming

      but simple way to dispaly pic <img src=fds.fds alt=fds> but any way like display text in front of it ?

      regards
      Fary4u

      Comment

      • acoder
        Recognized Expert MVP
        • Nov 2006
        • 16032

        #4
        To display some text next to the image, use a div and change its innerHTML:
        [HTML]<div id="textLayer"> Some info..</div>[/HTML] [CODE=javascript]document.getEle mentById("textL ayer").innerHTM L = "the text you want to display";[/CODE]

        Comment

        • Fary4u
          Contributor
          • Jul 2007
          • 273

          #5
          Thanks for the continuation

          Comment

          • acoder
            Recognized Expert MVP
            • Nov 2006
            • 16032

            #6
            So does that solve your problem?

            Comment

            Working...