HOME ➔ SUPPORT ➔ Community ➔ General CourseLab issues ... How to link slide of one module from an object say button in another module?
How to link slide of one module from an object say button in another module?
  View type:
Hi,
How to link slide of one module from an object say button in another module?

Any suggestion.
Thanks
Venkat
 
Hi, Venkat:

I had the same doubt and I was looking through the other questions and I found this answer posted by Peter Huppertz in the question: "CourseStructure":
"try to use some javascript. On a button which should bring the users to the the new module insert an onclick action. Choose javascript as action and insert location.href = "../2/start.html"; (just check, in which folder the module is located you want to jump to)."

I tried it and it really works. It opens the new module into a new window, but it's better than nothing. Good luck!

Ayari.[:rolleyes:]

 
 
You might like to add a second line to the script statement as your location.href uses the deault behaviour in the Object Model Behaviours which is to open a new window. The cool part of this is in the following, the how it can be used part ... [window.]document.getElementById(elementID) meaning that you can define where the document opens.

target="_parent"
This should open in the same parent window. Depending on the environment this might be the L/CMS so it might be safer to user use
target="_self";

Have a try and see what works.

Nick
Subject:
Message options
No additional options