Scotty wrote:
I'm trying to do something funky... Check out this example
http://www.netflix.com/BrowseSelection
If you mouseover a movie, you will see a nice looking popup with info.
I would like to do the same thing only with rss feeds on a text link.
(not sure if this is possible)
I pulled down every .js, .html, .css from their site and I am trying to
figure out what they are doing... I am a novice at javascript, but I
can hack and slash pretty well.
Or maybe you are not nearly as good as you think. It took me only _seconds_
to find out that they use the `onmouseover' event handler to call
dB(event, this)
(using Firefox's "View Selection Source") and find (pretty-printed)
function dB(evt,link)
{
BobManager.dB(e vt,link);
}
and (pretty printed)
dB: function(evt, _177, _178)
{
if (!window.d_bobM S || d_bobMS==-1
|| this.readyState ==BobManager.ST ATE_ASLEEP)
{
return;
}
if (this.hideBobTi mer
&& this.triggerEle ment
&& this.triggerEle ment == _177)
{
clearTimeout(th is.hideBobTimer );
this.hideBobTim er = null;
return;
}
this.mouseCoord = getMouseCoordin ates(evt);
this.detach();
this.triggerEle ment = _177;
this.href = _177.href || _177.parentNode .href;
if (arguments.leng th == 3)
{
this.boxshotSta te = _178;
}
else
{
this.boxshotSta te = BobManager.BOXS HOT_STATE_DEFAU LT;
}
this.attach();
var _179 = this.getMovieID ();
var _180 = this;
var _181 = function()
{
_180.display(_1 79);
};
this.showBobTim er = setTimeout(_181 , d_bobMS);
}
in <URL:http://www.netflix.com/layout/jscript/domutil.js?v=20 06030900>.
The rest of finding out how this works is left as an exercise to the reader.
PointedEars