Jquery tooltip inaccurate question with a working example?

Hello js-habrauser.

I apologize for the inaccurate question.

Sick of the Studio:
wartur.ru/question UPD: solved Here is a working copy, other suggestions are welcome

The question how to make so that when you hover over the "show закладкуN" show bookmarks with data "Data NNNNNNN"

I think I don't know some basic mantras, in a normal case I would pass an array from zero to N, and if would have put on N I would be in N-block.

— In the second case, I would zastupilsya to the next item:
<div class="date_special">Show подсказку2</div>
 <div id="o_date" style="display:none">
 <h1 style="background:#999">Data 2222222222</h1>

I mean, look at all the elements of this part of the DOM and find o_date/

Neither in the first not in the second case, I don't even know where to dig, because jquery works with events and I need them somehow to work competently, and not 100,500 signatures to do. Advise at least proof I would be grateful.

PS: I know that error id='o_date' cannot be more than one, but I don't understand how else, so we stayed at the solution of a question on this.

Thank you all.
October 8th 19 at 00:16
1 answer
October 8th 19 at 00:18
I would have done so, you wonder which would suggest an attribute such as rel='id_элемента_который show, respectively, instead o_date the same id in jquery $('#'+$(this).attr('rel')).show();
Actually is a competent solution I was looking for, thanks for the level up. - Rudolph.Dickinson commented on October 8th 19 at 00:21
but not for that :) - Darby.Senger commented on October 8th 19 at 00:24

Find more questions by tags jQueryJavaScript