473,587 Members | 2,443 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 3884
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
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
6766
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 page is nearly 100% dynamic, so this is extracted from the source of a test page. The code in...
3
2085
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 window. Onmouseout, the layer disapper. Can someone give me an idea how this can be done quickly. ...
6
14685
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 other control's visible property by changing is className, but that doesn't seem to work
9
5537
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
1713
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
4347
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 events are triggered again due to interference of the generated popup with the mouse pointer. ...
1
1226
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
1392
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: http://www.stltoday.com/autos Go to the Featured Autos section. This is the JS that it's...
0
8219
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. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8349
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 captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
7978
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 most users, this new feature is actually very convenient. If you want to control the update process,...
0
8221
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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
5722
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5395
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 into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
3845
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2364
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
0
1192
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.