JSDocs: Add '-member' to all member div ids, so they won't accidentally collide with css styles (e.g. #index).

This commit is contained in:
Jürg Lehni 2011-06-07 10:20:00 +01:00
parent d07c95f565
commit 57b7da13ab
5 changed files with 5 additions and 5 deletions

View file

@ -208,7 +208,7 @@ function toggleMember(id, scrollTo) {
}
function scrollToElement(id) {
var e = $('#' + id);
var e = $('#' + id + '-member');
if (e) {
var offs = e.getOffset();
$window.setScrollOffset(offs);

View file

@ -1,5 +1,5 @@
<if test="defined(data.symbol.groupTitle)"><h3>{+data.symbol.groupTitle+}</h3></if>
<div id="{+ data.id +}" class="member">
<div id="{+ data.id +}-member" class="member">
<div id="{+ data.id +}-link" class="member-link">
<a name="{+ data.id +}" href="#" onClick="return toggleMember('{+ data.id +}', false);"><tt><b>{+ data.name +}</b>{+ data.signature +}</tt></a>
</div>

View file

@ -1,7 +1,7 @@
<if test="defined(data.symbol.groupTitle)">
<h3>{+data.symbol.groupTitle+}</h3>
</if>
<div id="{+ data.id +}" class="member">
<div id="{+ data.id +}-member" class="member">
<div id="{+ data.id +}-link" class="member-link">
<a name="{+ data.id +}" href="#" onClick="return toggleMember('{+ data.id +}', false);"><tt><b>{+ data.name +}</b>{+ data.signature +}</tt></a>
</div>

View file

@ -1,4 +1,4 @@
<div id="{+ data.id +}" class="member">
<div id="{+ data.id +}-member" class="member">
<div id="{+ data.id +}-link" class="member-link">
<a name="{+ data.id +}" href="#" onClick="return toggleMember('{+ data.id +}', false);"><tt>{+ data.title +}</tt></a>
</div>

View file

@ -1,7 +1,7 @@
<if test="defined(data.symbol.groupTitle)">
<h3>{+ data.symbol.groupTitle +}</h3>
</if>
<div id="{+ data.id +}" class="member">
<div id="{+ data.id +}-member" class="member">
<div id="{+ data.id +}-link" class="member-link">
<a name="{+ data.id +}" href="#" onClick="return toggleMember('{+ data.id +}', false);"><tt><b>{+ data.name +}</b></tt></a>
</div>