8.27. Foundation prompt box

发布时间 :2025-10-25 12:24:37 UTC      

The prompt box is displayed after you move the mouse over the element:

We can add to any element data-tooltip Property to create a prompt message. Use title Property to set the text of the prompt.

注意: The slider needs to use JavaScript. So you need to initialize Foundation JS:

8.27.1. Example

<span data-tooltip title="Hooray!">Hover over me!</span>
<!-- Initialize Foundation JS -->
<script>
$(document).ready(function() {
    $(document).foundation();
})
</script>

尝试一下 »

.has-tip Class can bold the text that the mouse moves:

8.27.2. Example

<span data-tooltip class="has-tip" title="Hooray!">Hover over me!</span>

尝试一下 »

Prompt box display location

By default, the prompt box appears at the bottom of the element.

可以使用 .tip-top , .tip-left , .tip-right or .tip-bottom (默认) 来设置提示框的位置。

注意: On a small screen, the broadband of the prompt box is 100%.

8.27.3. Example

<span data-tooltip class="has-tip tip-top" title="Hooray!">Top</span>
<span data-tooltip class="has-tip tip-bottom"
title="Hooray!">Bottom</span>
<span data-tooltip class="has-tip tip-left" title="Hooray!">Left</span>
<span data-tooltip class="has-tip tip-right"
title="Hooray!">Right</span>

尝试一下 »

Fillet prompt box

.radius And .round Class is used to set the fillet prompt box:

8.27.4. Example

<span data-tooltip class="has-tip" title="Hooray!">Default</span>
<span data-tooltip class="has-tip radius" title="Hooray!">Radius</span>
<span data-tooltip class="has-tip round" title="Hooray!">Round</span>

尝试一下 »

Principles, Technologies, and Methods of Geographic Information Systems  102

In recent years, Geographic Information Systems (GIS) have undergone rapid development in both theoretical and practical dimensions. GIS has been widely applied for modeling and decision-making support across various fields such as urban management, regional planning, and environmental remediation, establishing geographic information as a vital component of the information era. The introduction of the “Digital Earth” concept has further accelerated the advancement of GIS, which serves as its technical foundation. Concurrently, scholars have been dedicated to theoretical research in areas like spatial cognition, spatial data uncertainty, and the formalization of spatial relationships. This reflects the dual nature of GIS as both an applied technology and an academic discipline, with the two aspects forming a mutually reinforcing cycle of progress.