Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New to the CF scene
    Join Date
    Mar 2003
    Location
    SE GA
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Any way to tie in images from slideshow with individual textboxes?

    Here is what I would like to be able to do:

    I have a page with a book flip slideshow ... each of the images has a corresponding code that goes with it in order for ppl to be able to use the image in the manner that it was designed ...

    Is there any way that when someone clicks on the image that they would like that its code could also be brought up on the page in a way that it could be easily cut and pasted for future use?

    Thanks in advance for your time and help with this matter.
    Jocelyn Grace Hyers
    Please visit my website
    http://www.serenedreams.net
    ~In dog years, I'm dead.~

  • #2
    Regular Coder
    Join Date
    Jul 2002
    Posts
    698
    Thanks
    0
    Thanked 0 Times in 0 Posts
    something like this perhaps?

    Code:
    <html>
    <head>
    <script>
      function ImageCode(aObj)
    	{
    	  document.getElementById('ImageTag').value=aObj.code
    	}
    </script>
    </head>
    <body>
    <input type="Text" size=20 id="ImageTag">
    <img onclick="ImageCode(this);" src="" code="test">
    </body>
    </html>

  • #3
    New to the CF scene
    Join Date
    Mar 2003
    Location
    SE GA
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts
    ok I can see where that might work ... but how do I go about inserting the body part so that it integrates with the book flip slideshow? it is this slideshow script:

    Book Flip slideshow script- © Ger Versluis 2003

    It is just that I have an ever growing assortment of these images and the way that I was doing it was to have 2 images shown per page and their corresponding codes were beneath them .... took a lot of pages to do that ... was just hoping that I could condense it down some with the slideshow ...

    maybe I am hoping for the impossible ... or maybe I just need to name the images and then have a drop down menu to choose which one you want and have it show the code .... oh I dont know ... getting very frustrated with this .... been trying for weeks to find a way ....
    Jocelyn Grace Hyers
    Please visit my website
    http://www.serenedreams.net
    ~In dog years, I'm dead.~

  • #4
    Regular Coder
    Join Date
    Jul 2002
    Posts
    698
    Thanks
    0
    Thanked 0 Times in 0 Posts
    pure guessing here what u want

    replace this:
    function B_LdLnk(){if(this.lnk)window.location.href=this.lnk}

    with this:
    function B_LdLnk(){if(this.lnk)document.getElementById('ImageTag').value=this.lnk}


    and put this text field:
    <input type="Text" size=20 id="ImageTag">


  •  

    Posting Permissions

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