Skip to content

Commit

Permalink
HTML5 - new gapFill page type & minor change to styles for tooltips i…
Browse files Browse the repository at this point in the history
…n mainStyles.css and xenith.js

git-svn-id: https://xerteonlinetoolkits.googlecode.com/svn/trunk@789 912cdd6b-5c7d-d5a7-a2ba-d0f0cdb91641
  • Loading branch information
FayCross committed Apr 18, 2013
1 parent a6d75d5 commit e704e41
Show file tree
Hide file tree
Showing 3 changed files with 466 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -273,13 +273,16 @@ a.x_glossary:link, a.x_glossary:visited, a.x_glossary:hover, a.x_glossary:active

#x_glossaryHover {
display: none;
max-width: 200px;
}

.x_tooltip {
position: absolute;
border: 1px solid #333;
background-color: #161616;
border-radius: 4px;
padding: 2px 5px;
color: #fff;
max-width: 200px;
}


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ function x_setUp() {
myDefinition = "<b>" + myText + ":</b><br/>" + x_glossary[i].definition;
}
}
$x_mainHolder.append('<div id="x_glossaryHover">' + myDefinition + '</div>');
$x_mainHolder.append('<div id="x_glossaryHover" class="x_tooltip">' + myDefinition + '</div>');
$x_glossaryHover = $("#x_glossaryHover");
$x_glossaryHover.css({
"left" :$(this).offset().left + 20,
Expand Down
Loading

0 comments on commit e704e41

Please sign in to comment.