<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Подсказка (tooltip) на javascript</title>
	<atom:link href="http://seleckis.lv/journal/scripting/tooltip-javascript/feed" rel="self" type="application/rss+xml" />
	<link>http://seleckis.lv/journal/scripting/tooltip-javascript</link>
	<description></description>
	<lastBuildDate>Wed, 12 Oct 2011 12:11:01 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Кирилл</title>
		<link>http://seleckis.lv/journal/scripting/tooltip-javascript/comment-page-1#comment-21486</link>
		<dc:creator>Кирилл</dc:creator>
		<pubDate>Fri, 06 Nov 2009 11:06:39 +0000</pubDate>
		<guid isPermaLink="false">http://localhost:8506/?p=341#comment-21486</guid>
		<description>Работает! но при этом наблюдается странный глюк. Надписи стали тусоваться в странном порядке. Может появится в любом месте экрана. http://megabudka.ru/menu/index2.html

Но всё равно спасибо огромное!</description>
		<content:encoded><![CDATA[<p>Работает! но при этом наблюдается странный глюк. Надписи стали тусоваться в странном порядке. Может появится в любом месте экрана. <a href="http://megabudka.ru/menu/index2.html" rel="nofollow">http://megabudka.ru/menu/index2.html</a></p>
<p>Но всё равно спасибо огромное!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Никита</title>
		<link>http://seleckis.lv/journal/scripting/tooltip-javascript/comment-page-1#comment-21485</link>
		<dc:creator>Никита</dc:creator>
		<pubDate>Fri, 06 Nov 2009 10:51:05 +0000</pubDate>
		<guid isPermaLink="false">http://localhost:8506/?p=341#comment-21485</guid>
		<description>Да, нужно переписать три функции:

function CreateTT(tt_text){
	document.body.appendChild(ns_tt)
	ns_tt.id = &quot;ns_tt&quot;
	ns_tt.innerHTML = tt_text
	clearTimeout(x);
}
function AddTT(tt_text){
	x = setTimeout (&quot;CreateTT(&#039;&quot; + tt_text + &quot;&#039;)&quot;, 1000);
}

function RemoveTT() {
	if(document.getElementById(&quot;ns_tt&quot;)) {
		document.body.removeChild(document.getElementById(&quot;ns_tt&quot;))
	}
}</description>
		<content:encoded><![CDATA[<p>Да, нужно переписать три функции:</p>
<p>function CreateTT(tt_text){<br />
	document.body.appendChild(ns_tt)<br />
	ns_tt.id = &#8220;ns_tt&#8221;<br />
	ns_tt.innerHTML = tt_text<br />
	clearTimeout(x);<br />
}<br />
function AddTT(tt_text){<br />
	x = setTimeout (&#8220;CreateTT(&#8216;&#8221; + tt_text + &#8220;&#8216;)&#8221;, 1000);<br />
}</p>
<p>function RemoveTT() {<br />
	if(document.getElementById(&#8220;ns_tt&#8221;)) {<br />
		document.body.removeChild(document.getElementById(&#8220;ns_tt&#8221;))<br />
	}<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Кирилл</title>
		<link>http://seleckis.lv/journal/scripting/tooltip-javascript/comment-page-1#comment-21484</link>
		<dc:creator>Кирилл</dc:creator>
		<pubDate>Fri, 06 Nov 2009 10:43:44 +0000</pubDate>
		<guid isPermaLink="false">http://localhost:8506/?p=341#comment-21484</guid>
		<description>собственно о чём речь идет - http://megabudka.ru/menu/ тут как в самом описании всё сделано. Очень хорошо и понятно работает. Спасибо кстати большое!

Здесь же я пытался сделать с задержкой http://megabudka.ru/menu/index2.html 
Ссылка на новый файл js http://megabudka.ru/menu/ns_tooltip1.js
Не понимаю)</description>
		<content:encoded><![CDATA[<p>собственно о чём речь идет &#8211; <a href="http://megabudka.ru/menu/" rel="nofollow">http://megabudka.ru/menu/</a> тут как в самом описании всё сделано. Очень хорошо и понятно работает. Спасибо кстати большое!</p>
<p>Здесь же я пытался сделать с задержкой <a href="http://megabudka.ru/menu/index2.html" rel="nofollow">http://megabudka.ru/menu/index2.html</a><br />
Ссылка на новый файл js <a href="http://megabudka.ru/menu/ns_tooltip1.js" rel="nofollow">http://megabudka.ru/menu/ns_tooltip1.js</a><br />
Не понимаю)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Кирилл</title>
		<link>http://seleckis.lv/journal/scripting/tooltip-javascript/comment-page-1#comment-21483</link>
		<dc:creator>Кирилл</dc:creator>
		<pubDate>Fri, 06 Nov 2009 10:30:12 +0000</pubDate>
		<guid isPermaLink="false">http://localhost:8506/?p=341#comment-21483</guid>
		<description>вот что получилось, почему-то не работает..

var l = 0, t = 0
var IE = document.all?true:false
document.onmousemove = getMouseXY
var ns_tt = document.createElement(&quot;div&quot;)
function getMouseXY(e) {
	if (IE) {
		l = event.clientX + document.body.scrollLeft
		t = event.clientY + document.body.scrollTop
			}
	else {
		l = e.pageX
		t = e.pageY
	}  
	ns_tt.style.left = l + &quot;px&quot;
	ns_tt.style.top = t + &quot;px&quot;
	return true
}

function AddTT(tt_text)
{
setTimeout (&quot;CreateTT(&quot; + tt_text + &quot;)&quot;, 500); 
}

function CreateTT(tt_text)
{
document.body.appendChild(ns_tt)
ns_tt.id = &quot;ns_tt&quot;
ns_tt.innerHTML = tt_text
}



function RemoveTT() {
	document.body.removeChild(document.getElementById(&quot;ns_tt&quot;))
}</description>
		<content:encoded><![CDATA[<p>вот что получилось, почему-то не работает..</p>
<p>var l = 0, t = 0<br />
var IE = document.all?true:false<br />
document.onmousemove = getMouseXY<br />
var ns_tt = document.createElement(&#8220;div&#8221;)<br />
function getMouseXY(e) {<br />
	if (IE) {<br />
		l = event.clientX + document.body.scrollLeft<br />
		t = event.clientY + document.body.scrollTop<br />
			}<br />
	else {<br />
		l = e.pageX<br />
		t = e.pageY<br />
	}<br />
	ns_tt.style.left = l + &#8220;px&#8221;<br />
	ns_tt.style.top = t + &#8220;px&#8221;<br />
	return true<br />
}</p>
<p>function AddTT(tt_text)<br />
{<br />
setTimeout (&#8220;CreateTT(&#8221; + tt_text + &#8220;)&#8221;, 500);<br />
}</p>
<p>function CreateTT(tt_text)<br />
{<br />
document.body.appendChild(ns_tt)<br />
ns_tt.id = &#8220;ns_tt&#8221;<br />
ns_tt.innerHTML = tt_text<br />
}</p>
<p>function RemoveTT() {<br />
	document.body.removeChild(document.getElementById(&#8220;ns_tt&#8221;))<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Никита</title>
		<link>http://seleckis.lv/journal/scripting/tooltip-javascript/comment-page-1#comment-21482</link>
		<dc:creator>Никита</dc:creator>
		<pubDate>Fri, 06 Nov 2009 09:46:20 +0000</pubDate>
		<guid isPermaLink="false">http://localhost:8506/?p=341#comment-21482</guid>
		<description>Кавычки только замените, а то они тут косые.</description>
		<content:encoded><![CDATA[<p>Кавычки только замените, а то они тут косые.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Никита</title>
		<link>http://seleckis.lv/journal/scripting/tooltip-javascript/comment-page-1#comment-21481</link>
		<dc:creator>Никита</dc:creator>
		<pubDate>Fri, 06 Nov 2009 09:45:39 +0000</pubDate>
		<guid isPermaLink="false">http://localhost:8506/?p=341#comment-21481</guid>
		<description>Нужно переписать функцию AddTT и добавить функцию CreateTT.

function CreateTT(tt_text){
  document.body.appendChild(ns_tt)
  ns_tt.id = &quot;ns_tt&quot;
  ns_tt.innerHTML = tt_text
}
function AddTT(tt_text){
  setTimeout (&quot;CreateTT(&quot; + tt_text + &quot;)&quot;, 1000); // здесь 1000 это задержка в миллисекундах.
}</description>
		<content:encoded><![CDATA[<p>Нужно переписать функцию AddTT и добавить функцию CreateTT.</p>
<p>function CreateTT(tt_text){<br />
  document.body.appendChild(ns_tt)<br />
  ns_tt.id = &#8220;ns_tt&#8221;<br />
  ns_tt.innerHTML = tt_text<br />
}<br />
function AddTT(tt_text){<br />
  setTimeout (&#8220;CreateTT(&#8221; + tt_text + &#8220;)&#8221;, 1000); // здесь 1000 это задержка в миллисекундах.<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Кирилл</title>
		<link>http://seleckis.lv/journal/scripting/tooltip-javascript/comment-page-1#comment-21480</link>
		<dc:creator>Кирилл</dc:creator>
		<pubDate>Fri, 06 Nov 2009 09:05:42 +0000</pubDate>
		<guid isPermaLink="false">http://localhost:8506/?p=341#comment-21480</guid>
		<description>Спасибо, но я не знаю js.. Не подскажите куда именно что вписать?) Спасибо!</description>
		<content:encoded><![CDATA[<p>Спасибо, но я не знаю js.. Не подскажите куда именно что вписать?) Спасибо!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Никита</title>
		<link>http://seleckis.lv/journal/scripting/tooltip-javascript/comment-page-1#comment-21479</link>
		<dc:creator>Никита</dc:creator>
		<pubDate>Fri, 06 Nov 2009 08:49:12 +0000</pubDate>
		<guid isPermaLink="false">http://localhost:8506/?p=341#comment-21479</guid>
		<description>нужно добавить setTimeout. Почитайте тут http://www.w3schools.com/js/js_timing.asp</description>
		<content:encoded><![CDATA[<p>нужно добавить setTimeout. Почитайте тут <a href="http://www.w3schools.com/js/js_timing.asp" rel="nofollow">http://www.w3schools.com/js/js_timing.asp</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Кирилл</title>
		<link>http://seleckis.lv/journal/scripting/tooltip-javascript/comment-page-1#comment-21478</link>
		<dc:creator>Кирилл</dc:creator>
		<pubDate>Fri, 06 Nov 2009 08:18:16 +0000</pubDate>
		<guid isPermaLink="false">http://localhost:8506/?p=341#comment-21478</guid>
		<description>а как сделать задержку в показе тултипа?</description>
		<content:encoded><![CDATA[<p>а как сделать задержку в показе тултипа?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Блог mr.rOOse &#187; 14+ Вcплывающих подсказок(Javascript+CSS Tooltips)</title>
		<link>http://seleckis.lv/journal/scripting/tooltip-javascript/comment-page-1#comment-17625</link>
		<dc:creator>Блог mr.rOOse &#187; 14+ Вcплывающих подсказок(Javascript+CSS Tooltips)</dc:creator>
		<pubDate>Tue, 30 Jun 2009 09:36:51 +0000</pubDate>
		<guid isPermaLink="false">http://localhost:8506/?p=341#comment-17625</guid>
		<description>[...] NS_Tooltip [...]</description>
		<content:encoded><![CDATA[<p>[...] NS_Tooltip [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

