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

Captivate 9 fill in the blank HTML issues

New Here ,
Apr 26, 2017 Apr 26, 2017

Copy link to clipboard

Copied

When publishing a fill-in-the-blank quiz question in responsive, the output looks like this:

This has two issues:

1. I have to use a black font color in order for the text to show in the drop down. As you can see my question has a dark background with white text, which means the "blank" area in the question is practically impossible to see. 

2. The font in the drop down does not match the font used in the question. It also looks like it's using two different fonts, one in the drop down and another once a choice is selected!

I'm assuming that is because it's HTML5 rather than swf?

Any work around?

Views

485

Translate

Translate

Report

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
Engaged ,
Apr 28, 2017 Apr 28, 2017

Copy link to clipboard

Copied

The main part of the problem is because each browser renders a drop-down list slightly differently. The image below shows the same drop-down quiz slide in three different browsers. Firefox and Chrome at least put the drop-down lower than the text to the right and left unlike IE that covers the word ‘and’ in the sentence.

list.png

IE is the browser that shows a different font after you’ve made a selection. You can overcome this issue by adding some CSS to your index.html file that’s created when you publish the project. If you put the following code into the index.html file directly after the top CSS code, you can force every browser to use the font Arial. If it’s not Arial you’re using then just change it to whatever font you are using.

<style type="text/css">

                select {

                font-family: Arial, "sans-serif" !important;

                }

</style>

Here's what it looks like before and after adding the code.after.png

Votes

Translate

Translate

Report

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 ,
Jul 18, 2019 Jul 18, 2019

Copy link to clipboard

Copied

There is one more issue in FIB (drop-down) question for z-index in HTML5 output. if there are multiple drop-down option in the question and 1 by 1 and first select 2nd drop-down and then select the 1st drop-down, the drop-down list goes behind the 2nd drop-down. This problem occurs when drop down are placed on vertically and same position on horizontally.

Votes

Translate

Translate

Report

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
Engaged ,
Jul 18, 2019 Jul 18, 2019

Copy link to clipboard

Copied

Can you post a screenshot of the issue?

Votes

Translate

Translate

Report

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 ,
Jul 18, 2019 Jul 18, 2019

Copy link to clipboard

Copied

Here is the screenshot.

Votes

Translate

Translate

Report

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
Engaged ,
Jul 18, 2019 Jul 18, 2019

Copy link to clipboard

Copied

Obviously that's not how it's supposed to work.

With the file being viewed in HTML, press F12 to bring up the browser developer tools and use the inspector to find both drop-down lists in the HTML code. When you click on the target box for the drop-down the lines of code that change will be highlighted briefly. It will be helpful to write down the z-index to make it easier to compare them. Do that for both boxes and look to see what the z-index is for both boxes when they’re not clicked and then when they are clicked starting with the top box first then the lower box. Then refresh your browser and do the same process again but starting with the lower box first then the top one. Then compare the

Both boxes will actually have two lines of HTML that change. One line changes the z-index for the main target and the other line is for the options that appear. The image below shows how far down the line for the options box is nested below the target object. (The code for the options list will also change it's display from "none" to "block" when it's visible or not visible)

001.png

For my two fill-in-the-blank options, the z-index for the objects is as follows regardless of which one I click first.

Default

Top z-index: 4

Top options: 1

Lower z-index: 4

Lower options: 1

Top clicked

Top z-index: 1000

Top options: 9999

Lower z-index: 4

Lower options: 1

Bottom clicked

Top z-index: 4

Top options: 1

Lower z-index: 1000

Lower options: 9999

Votes

Translate

Translate

Report

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 ,
Jul 18, 2019 Jul 18, 2019

Copy link to clipboard

Copied

LATEST

any Idea, when Adobe will fix this issue in captivate (HTML5 output)?

Votes

Translate

Translate

Report

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