21require
'../../../../main.inc.php';
31if ($user->socid > 0) {
36require_once DOL_DOCUMENT_ROOT .
'/admin/tools/ui/class/documentation.class.php';
39$langs->load(
'uxdocumentation');
53$documentation->docHeader($langs->trans(
'FreezeTooltip', $group), $js, $css);
56$documentation->view = [$group,
'FreezeTooltip'];
59$documentation->showSidebar(); ?>
61<div
class=
"doc-wrapper">
63 <?php $documentation->showBreadCrumb(); ?>
65 <div
class=
"doc-content-wrapper">
67 <h1
class=
"documentation-title"><?php echo $langs->trans(
'FreezeTooltip'); ?></h1>
69 <?php $documentation->showSummary(); ?>
71 <div
class=
"documentation-section" >
72 <h2
class=
"documentation-title" >Tooltip Freeze with <kbd>Alt</kbd> Key</h2>
75 A
new feature allows users to <strong>freeze tooltips</strong> in Dolibarr by holding down the <kbd>Alt</kbd> key.
76 This makes it easier to read
long tooltips without having to keep the cursor perfectly still.
81 <li>Hover over an element that displays a tooltip.</li>
82 <li>Press and hold the <kbd>Alt</kbd> key
while the tooltip is visible.</li>
83 <li>The tooltip remains displayed even
if you move the cursor away.</li>
84 <li>Release the <kbd>Alt</kbd> key to hide the tooltip.</li>
89 <li>Reading detailed information in tooltips without worrying about cursor movement.</li>
90 <li>Copying text from tooltips without them disappearing.</li>
91 <li>Click on links in tooltips.</li>
96 <li>May not work on all tooltips, depending on their implementation. Only work on <code>.classfortooltip</code>
class</li>
97 <li>Currently available only on experimental pages.</li>
101 <div
class=
"documentation-example">
104 Welcome to <a href="https://dolibarr.org" title="Official Dolibarr Website">Dolibarr</a>,
105 an open-source ERP & CRM solution. This platform helps businesses manage their
106 <abbr title="Customer Relationship Management">CRM</abbr>
107 and <abbr title="Enterprise Resource Planning">ERP</abbr> needs efficiently.
111 For documentation, visit our
112 <a href="https://wiki.dolibarr.org" title="Dolibarr Documentation">Wiki</a>.
113 Developers can contribute on
114 <a href="https://github.com/Dolibarr/dolibarr" title="Dolibarr GitHub Repository">GitHub</a>.
116<p><strong class="classfortooltip" title="Tooltips in tooltips">try tooltip in a tooltip</strong></p>
118 Need help? Check out the
119 <a href="https://www.dolibarr.org/forum.php" title="Dolibarr Community Forum">Community Forum</a>.
123 <strong>Try a link with attribute</strong> <code>target="_blank"</code> <br/>
124 <a href="https://www.dolibarr.org/" target="_blank" >Open website in a new window</a>.
130 <
button type=
"button" class=
"button classfortooltip" title=
"<?php echo dol_htmlentities($tooltip); ?>">
142$documentation->docFooter();
Class to manage UI documentation.
multi select button
0 = Do not include form tag and submit button -1 = Do not include form tag but include submit button
if(preg_match('/(crypted|dolcrypt):/i', $dolibarr_main_db_pass)||!empty($dolibarr_main_db_encrypted_pass)) $conf db type
'integer', 'integer:ObjectClass:PathToClass[:AddCreateButtonOrNot[:Filter[:Sortfield]]]',...
accessforbidden($message='', $printheader=1, $printfooter=1, $showonlymessage=0, $params=null)
Show a message to say access is forbidden and stop program.