View Full Version : Any way to tie in images from slideshow with individual textboxes?

01-10-2004, 03:04 PM
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.

01-10-2004, 05:28 PM
something like this perhaps?

function ImageCode(aObj)
<input type="Text" size=20 id="ImageTag">
<img onclick="ImageCode(this);" src="" code="test">

01-10-2004, 06:00 PM
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 ....

01-10-2004, 06:50 PM
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">