6 Replies Latest reply on Dec 20, 2006 8:42 AM by CraigCC

    Help with DHTML Effects

    Johno619
      I want all of my expanding hotspots to display initially with no underline... then become underlined upon mouse rollover...

      I made this change to my dropdown hotspots style, and the change was applied to all of my topics.

      It seems to be working on some, but not all, of the expanding hotspots in my project.

      Any ideas?
        • 1. Re: Help with DHTML Effects
          RoboColum(n) Level 5
          Hi John0619. Have you checked that there isn't another style sheet in the mix here? Try right clicking on the style sheet in the Project tab and select the "Properties" menu item. This lists all the topics with the style tab assigned. Also check that there are no other style sheets in folders that may be overriding your change.
          • 2. Re: Help with DHTML Effects
            Johno619 Level 1
            Hi Colum,

            Thanks for the response.

            There is only one CSS in my project, and it is applied to all topics...
            • 3. Re: Help with DHTML Effects
              RoboColum(n) Level 5
              Can you tell us what output (e.g. CHM, Webhelp) you are producing and whether the problem is with the output or when topics are viewed in preview mode? Try creating a new project, create a topic and assign your style sheet to it. Does the same problem occur then?
              • 4. Re: Help with DHTML Effects
                Johno619 Level 1
                I am producing WebHelp. The problem is evident in both the preview and the actual output.

                I created a new project, applied the CSS to a new topic within that project, and my attributes worked.

                Is it because I added this attribute to the CSS after some topics had already been completed? I thought I could apply CSS changes to all topics.
                • 5. Re: Help with DHTML Effects
                  RoboColum(n) Level 5
                  Changes to the CSS should be applied across all topics to which it has been assigned. The fact that the CSS works in the test project means the problem is with the single project. Is it stored on a network? if so, move it off. RH projects have an underlying Access DB which don't work well on network drives and are prone to causing all sorts of problems. If you still have a problem, try creating the offending topics.
                  • 6. Re: Help with DHTML Effects
                    CraigCC Level 2
                    Hi John,

                    My guess is that you have embedded styles applied at topic level which are overriding the css file. Embedded style are part of the HTML file rather than the .css and take take priority over the .css styles.

                    Check out the true code of the offending topics and see if there are any styles embedded: For example:

                    <style type="text/css">
                    <!--

                    A.dropspot {
                    font-weight: bold;
                    font-style: normal;
                    }

                    -->
                    </style>

                    Simply delete these styles from the <Head> section via the True Code editor.


                    Hope this helps
                    Kind Regards
                    Craig