修复了动作按钮无法正常工作?

时间:2018-04-09 11:14:23

标签: html css materialize

我正在尝试学习Materialise(materializecss.com),我仍然坚持如何制作动作按钮。出现左下角的按钮,但是当我悬停时,其他按钮则不会出现。



<target name="main" xsi:type="AutoFlushWrapper" asyncFlush="true" OptimizeBufferReuse="true">
  <target name="database_buffer" xsi:type="BufferingWrapper" bufferSize="50" flushTimeout="120000" OptimizeBufferReuse="true">
    <target xsi:type="FallbackGroup" name="String" returnToFirstOnSuccess="true">
      <target xsi:type="Database" name="database_inner" connectionString="${event-context:item=dbConnectionString}"
              commandText="INSERT INTO [Log] ([Level],[Message],[Application],[MethodInfo],[Exception]) VALUES(@Level,@Message,@ApplicationName,@MethodInfo,@Exception)">
        <parameter name="@Level" layout="${level:uppercase=true}"/>
        <parameter name="@Message" layout="${event-context:item=Message}"/>
        <parameter name="@ApplicationName" layout="${event-context:item=SourceName}"/>
        <parameter name="@MethodInfo" layout="${event-context:item=MethodInfo}"/>
        <parameter name="@Exception" layout="${event-context:item=Exception}"/>
      </target>
      <target xsi:type="File"
              name="fallback"
              fileName="${basedir}Logs\Log.log"
              archiveAboveSize="10485760"
              archiveFileName="${basedir}\Logs\Archive\Log_{####}.log"
              archiveNumbering="Sequence"
              concurrentWrites ="false"
              maxArchiveFiles ="10"
              layout="Date: ${longdate}${newline}
          ApplicationName: ${event-context:item=SourceName}${newline}
          Level: ${level:uppercase=true}${newline}
          MethodInfo: ${event-context:item=MethodInfo}${newline}
          Message: ${event-context:item=Message}${newline}
          Exception: ${event-context:item=Exception}${newline}${newline}" />
    </target>
  </target>
</target>
&#13;
&#13;
&#13;

帮助!提前谢谢。

1 个答案:

答案 0 :(得分:0)

我在代码中添加了jquery,它对我来说很好,
请参阅下面的代码:

&#13;
&#13;
<!DOCTYPE html>
    <html>
    <head>
        <!--Import Google Icon Font-->
        <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
        <!--Import materialize.css-->
       <link href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.100.2/css/materialize.min.css" rel="stylesheet"/>
        <!--Let browser know website is optimized for mobile-->
        <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
        
    </head>
    
    <body>
        <div class="fixed-action-btn">
        <a class="btn-floating btn-large red">
            <i class="large material-icons">mode_edit</i>
        </a>
        <ul>
            <li><a><i class="material-icons">publish</i></a></li>
            <li><a><i class="material-icons">publish</i></a></li>
        </ul>
    </div>
    <!--JavaScript at end of body for optimized loading-->
     <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.100.2/js/materialize.min.js"></script>
    </body>
    </html>
&#13;
&#13;
&#13;