【问题标题】:Doxygen with HTML buttons changing text on click带有 HTML 按钮的 Doxygen 在单击时更改文本
【发布时间】:2023-03-28 10:44:02
【问题描述】:

我希望能够更改 Doxygen 生成的文档中显示的文本。比如,如果我按下这个按钮,下面的文字会改变:

这就是我现在所拥有的(仅显示按钮):

Language
--------

@htmlonly
 <button type="button" >C++</button>
 <button type="button" >Python</button>
 <button type="button" >Java</button>
@endhtmlonly

Goal
----

We have multiple ways to acquire digital images...

【问题讨论】:

    标签: javascript jquery html doxygen doxygen-wizard


    【解决方案1】:

    在页面和世界中嵌入 JS 你的牡蛎。您可以生成默认页眉和页脚

    http://www.doxygen.nl/manual/doxygen_usage.html

    然后将JS嵌入到header中。或者直接嵌入...

    /** @mainpage Stuff
    @htmlonly
     <script type="text/javascript">
     alert();
     </script>
    @endhtmlonly
    */
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2017-05-31
      • 2017-10-03
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2019-07-08
      • 2022-01-08
      相关资源
      最近更新 更多