I don't know of any changes in the code from SL1 to SL2, and I did reach out to my colleagues to see if they knew of something specific - but Javascript code is not something I'm equipped to support. You may want to tag along into this thread, as it looks like Marco has some ideas about a similar situation.
If you add these two lines of code to what you have, I think you will see it (not verified):
var oWebObject1 = g_oWebObjects["1"]; oWebObject1.Div.style.zIndex = 900 ;
As with the other thread, the problem is that the OpenWebObject code is setting the zindec to -1 which places it behind the player. It's actually there on your page, but you can't see it.
I'd started to compare the two story.js files and noticed that there was a Z index being set in the SL2 version. Your code (which works perfectly) has saved me having to expend any more brain power.
3 Replies
Hi Stephen,
I don't know of any changes in the code from SL1 to SL2, and I did reach out to my colleagues to see if they knew of something specific - but Javascript code is not something I'm equipped to support. You may want to tag along into this thread, as it looks like Marco has some ideas about a similar situation.
Stephen,
If you add these two lines of code to what you have, I think you will see it (not verified):
var oWebObject1 = g_oWebObjects["1"];
oWebObject1.Div.style.zIndex = 900 ;
As with the other thread, the problem is that the OpenWebObject code is setting the zindec to -1 which places it behind the player. It's actually there on your page, but you can't see it.
Thanks Marco!
I'd started to compare the two story.js files and noticed that there was a Z index being set in the SL2 version. Your code (which works perfectly) has saved me having to expend any more brain power.
This discussion is closed. You can start a new discussion or contact Articulate Support.