September 11, 2013 at 9:03 am #283810
I am currently using the show action in lectora online to show the image (Show->Image).
But There are about 50 images in my Title.
Calling that images one by one using the show action in Lectora is really time consuming for me.
Can any body suggest ideas to call the images imported in lectora using the javascrit.
Thanks in advance.September 12, 2013 at 9:30 pm #287763
Could you put the image objects in a group object and then call show/hide once on the group objects?
Another idea is to use the layering ability, put all the images to the back of the layers. Then put a text block with the same background color as your background over the top of the images. Then you can hide the text block to show the images.
Thanks for using Lectora Online!!!September 13, 2013 at 8:47 am #287766
Thank u so much for the reply…
My concern is not that.
First of all i need clarification with your reply.
I understand your statement “put the image objects in a group object” as creating the group for showing the images. Is my understanding is correct?
I don’t how my issue will be solved by creating the group.
In your second paragraph you have told to create the text block with same background of the images?
I dont know how it will help me to show the images one by one.
Here am lisiting my needs in bullets,
1. There will be sequence of images for me up to 50.
3.The images will be diplayed sequentially one by one.
4.For each image there will be one audio
5.The next image will be shown after the audio of the 1st image over. This will happen up to 50 times.
So there will be 50 images and 50 audio for me. which will run one by one.
4. For eg When am showing the 35th image, 35 th image’s audio will be played. After the successfull completion of 35 audio 36 image and audio will be played. similarly for all next sequence of images
( to get the example title download the attachment and remove the .zip extension, then import the title into Lectora Online )
Thank you for starting this thread.October 3, 2013 at 5:15 am #287767
Thank you so much for your contribution.
I have reviewed your attachment.
You have used about two actions for each slide show. That is change content action and play audio action.
It is very easy to show the slide show for 10 images. we can cut and copy the actions and we can use it.
What the real situation for me is I have to create about 200 titles in which i have to show slide show in each and every title. Every title will contain about 50 different images. My volume is too high. so about 200*50*2 action i have to give to complete my task.
The solution you provided is too good. But it will take huge time for me to complete the task.
If you can post an example title, or the script you want to use I can see if I can help.
var imgs = document.getElementsByTagName(‘IMG’);
for (var i=0;i
var imageFile = imgs.src;
You must be logged in to reply to this topic.