473,513 Members | 2,620 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Mouseover Popup Displaying RSS or XML feed

Hey,

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.

Can someone point me to some nice code examples? Or post some here?

Thanks,

Scotty

Mar 13 '06 #1
3 3881
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(evt,link);
}

and (pretty printed)

dB: function(evt, _177, _178)
{
if (!window.d_bobMS || d_bobMS==-1
|| this.readyState==BobManager.STATE_ASLEEP)
{
return;
}

if (this.hideBobTimer
&& this.triggerElement
&& this.triggerElement == _177)
{
clearTimeout(this.hideBobTimer);
this.hideBobTimer = null;
return;
}

this.mouseCoord = getMouseCoordinates(evt);
this.detach();
this.triggerElement = _177;
this.href = _177.href || _177.parentNode.href;

if (arguments.length == 3)
{
this.boxshotState = _178;
}
else
{
this.boxshotState = BobManager.BOXSHOT_STATE_DEFAULT;
}

this.attach();
var _179 = this.getMovieID();
var _180 = this;
var _181 = function()
{
_180.display(_179);
};
this.showBobTimer = setTimeout(_181, d_bobMS);
}

in <URL:http://www.netflix.com/layout/jscript/domutil.js?v=2006030900>.

The rest of finding out how this works is left as an exercise to the reader.
PointedEars
Mar 13 '06 #2
Ok... I guess I didn't clarify enough. I was able to find out exactly
what you did.

Getting it to work is another story. This is where I am having a
problem... any other hints you could provide?

Thanks,

Scotty

Mar 14 '06 #3
Scotty wrote:
Ok... I guess I didn't clarify enough. I was able to find out exactly
what you did.
Whereas for me the Web Developer extension for Firefox was of great help :)
Getting it to work is another story. This is where I am having a
problem... any other hints you could provide?


Funny, I was about to ask you the same question.

<URL:http://jibbering.com/faq/#FAQ2_3>
<URL:http://jibbering.com/faq/#FAQ4_43>

That said, you are not allowed to copy code from somewhere and reuse it
without the author's explicit permission. This has been clarified here
not long ago (search the archives and the Web for "Berne Convention").
PointedEars
Mar 14 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
6763
by: Tyrone Slothrop | last post by:
I am coding a site which involves uploading images. All of the PHP and display is OK but the client wants to be able to display the image thumbnail on the upload page and show the full image on mouseOver instead of the popup I coded. The section of code below works perfectly in Firefox but not at all in IE (why am I not surprised?). The...
3
2075
by: effendi | last post by:
I know this sounds like javascript menu and perhaps it is, but I have taken a look at menu codes and found it too difficult to revamp quickly. What I would like to do is a place a text is my webform. This text is labelled "Important Notice". Onmouseover, I like to call another layer which basically contains the notice without opening another...
6
14674
by: Selden McCabe | last post by:
I have a form with a bunch of image buttons. When the user moves the mouse over a button, I want to do two things: 1. change the Imagebutton's picture, and 2. make another control visible. I'm using the Imagebutton.Attributes.Add("onMouseOver","this.src = 'somepicture.jpg') and that works fine. I've tried some java script to change the...
9
5528
by: Eric Lindsay | last post by:
I can't figure how to best display little snippets of shell script using <pre>. I just got around to organising to bulk validate some of my web pages, and one of the problems occurs with Bash shell pieces like this: <pre><code> #!/bin/sh ftp -i -n ftp.server.com&lt; &lt;EOF user username password epsv4 cd /
2
1709
by: Dan Sikorsky | last post by:
Where are some nice samples for these rounded corner mouseover popups you see on web pages that have double underlined words/phrases on them that cause the popup?
1
4343
by: dheepakk | last post by:
Hi All, When a mouseover event takes place over a link the popup window is displayed. I also have a mouseout on the link.So if the popup window comes up,has a dimension such that the mouse(currently on the link) falls within the popup edges, the popup starts flickering without totally coming up.This is due to the fact the mouseout and mouseover...
1
1218
by: nalinid | last post by:
Hi, Iam displaying a popup using ajax in a page.There is a text field in that pop up.The popup is from another application.I want that popup to fetch the H1 of the page from where it is displaying?
2
1378
by: stevemtno | last post by:
I'm working on redesigning our site and I'm having a problem with a JS mouseover/popup. Hopefully someone here can help me. Right now, when you mouse over an ad, you get a larger version of the ad in a popup window that appears to the left. What I need to do is make it popup to the right instead. You can see the current popup in action here: ...
0
7270
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7178
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7397
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7563
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7125
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7543
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
4757
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3239
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1612
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.