setting g_bScrollbars to false

Jan 17, 2014

Hi there,

My project will be viewed via an iframe (joomdle/moodle scorm) and im having problems getting it to appear seamlessly.  I traced the problem to this code:

<script type="text/javascript">

document.bgColor = g_strBgColor;

if (g_bScrollbars)

{

document.write("<table border=0 cellpadding=0 cellspacing=0 width='100%' height='100%' align=center>");

document.write("<tr>");

document.write("<td align=center>");

}

WriteSwfObject(g_strSwfFile,

      g_nWidth, 

      g_nHeight, 

      g_strScale,

      g_strAlign, 

      g_strQuality, 

      g_strBgColor, 

  g_bCaptureRC,

  g_strWMode,

      g_strFlashVars);

if (g_bScrollbars)

{

document.write("</td>");

document.write("</tr>");

document.write("</table>");

}

ResizeBrowser(g_strBrowserSize);

</script>

All i need to do if find out how to set g_bScrollbars to false as the tables are making it difficult to style the content.  Is there a setting in articulate for this?

Thanks,

Stewart

1 Reply
Ashley Terwilliger-Pollard

Hi Stewart and welcome to Heroes!

Unfortunately javascript coding is not my area of expertise, but I did want to start by pointing you to the Javascript best practices.  I also did a quick search through the forums and didn't find anything similar, but hope that someone in the community who is better versed in Javascript will be able to assist. 

This discussion is closed. You can start a new discussion or contact Articulate Support.