Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

closed captions css positioning

New Here ,
Jun 11, 2014 Jun 11, 2014

I'm using Captivate 7 (and also tried 8) and publishing to HTML5 for TinCan.

I can find the style settings for the closed captions in the Captivate UI (change font/color/background/etc) - but I need to change the position slightly so it is not the full width of the display - which does not appear to be possible in the UI.

I have found in the index_TINCAN.html that I can set on the <div id="cc" - some css styles to set margin-left (which works fine) and margin-right. - But the css "width" of the div is being set by javascript somewhere which results in the div extending beyond the right-hand side of the presentation.

Does anyone know where in the js the cc div is being changed?

I had a quick look and it might be the assets/js/CPM.js - but I'm struggling with how to change it?

Thanks.

365
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

People's Champ , Jun 11, 2014 Jun 11, 2014

It's in the CPM.js:

ccProperties:{w:640,h:57,lc:3,c:'#ffffff',o:49,f:'Times New Roman',fs:12,tc:'#000000'}

Translate
People's Champ ,
Jun 11, 2014 Jun 11, 2014

It's in the CPM.js:

ccProperties:{w:640,h:57,lc:3,c:'#ffffff',o:49,f:'Times New Roman',fs:12,tc:'#000000'}

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 12, 2014 Jun 12, 2014
LATEST

Perfect! - Thanks a lot - you save me much searching and testing time...

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Help resources