Using razor to build a popup tooltip menu

digx

New Member
I am having a problem with dynamically generating this dropdown menu. This works if I'm not making it dynamically. The \[code\]@t.Id\[/code\] is working and is different every time in the loop. I'm pretty sure its the first line that's wrong as I have used the \[code\]id=""\[/code\] before this way.\[code\]<b><a href="http://stackoverflow.com/questions/15857800/#" onmouseover="tooltip.pop(this, '#tagsdiv@(t.Id)')">tagged</a></b><div style="display: none;"> <div id="tagsdiv@(t.Id)"> <span class="menu">hhhh<br /> nnnn @for( int i = 0; i < t.tTags.Count; i++ ) { <b>@Html.ActionLink( t.tTags, "TagDetail", "Forums", new { tag = t.tTags, page = 0 }, null )</b> } </span> </div></div>\[/code\]
 
Top