HTMLGetTooltip Method |
Namespace: SOWIWeb.Helper
public static string GetTooltip( string pTooltipText, DataPlacements pTooltipPlacement = DataPlacements.bottom, bool pUserOptionIgnore = false )
[Missing <returns> documentation for "M:SOWIWeb.Helper.HTML.GetTooltip(System.String,SOWIWeb.Helper.DataPlacements,System.Boolean)"]
Note |
---|
Component data attributes e.g. data-toggle
Don't use data attributes from multiple plugins on the same element. For example, a button cannot both have a tooltip and toggle a modal. To accomplish this, use a wrapping element. Solve: HTML line tag span in span |
HTML code for button
<button class="btn btn-default" type="submit" name="submit" value="Save" data-toggle="tooltip" data-placement="bottom" title="help text..." ><span class="glyphicon glyphicon-ok"></span></button>
HTML code for editor label
<label title="help text..." for="UserName" data-toggle="tooltip">Benutzername</label>