Pradeep, I took your code and threw it on my ML server and I get the same behavior whether it's the html page or xqy. Watching it through firebug, there are references like /bubble/jquerybubblepopup-theme/azure/middle-left.png that are throwing 404 errors. I wonder if that's what's causing some inconsistencies with hover, because those are being retrieved with each hover action and getting 404s each time. Seems to be interrupting the js. And note that I don't get a popup on hover every time with the html file either.
The 404s are for some "azure" theme that wasn't included in the code you sent. Could it be that under html the azure theme is being picked up, but under xqy it's not? And that's why I seem the problem with both html and xqy files, because I don't have the azuer theme anywhere? That's all I got. Good luck. -Ryan Date: Wed, 24 Nov 2010 22:51:45 +0530 From: [email protected] To: [email protected] Subject: [MarkLogic Dev General] Bubble popup html Vs XQY Hi..! I need to display a page with url's of few images on hovering over them I need to display a popup of the image. I am using a JQuery bubble pop plug-in to accomplish this. When I use a module with .html extension and place it in the web-server root it works fine. But when I change the extension to .xqy it doesn't work as expected. The code is same in both the cases except for the xquery version statement. As I need to include more functionality I will need a .xqy file. The image url's will be displayed one after another. When I move the cursor to the first url the popup gets displayed, when I drag it down to the next url the popup is not shown. But instead for the very first time if point the cursor directly on the second url it displays the popup. This problem occurs only when the extension is .xqy and not .html. Attached zip file has the code. Just place this code in any of your webserver root and point the browser (Firefox) to http://localhost:8008/bubble/test-bubble.html http://localhost:8008/bubble/test-bubble.xqy I have spent lot of time figuring out the problem. Any help (from Marklogic team) will be greatly appreciated. Thanks Pradeep M _______________________________________________ General mailing list [email protected] http://developer.marklogic.com/mailman/listinfo/general
_______________________________________________ General mailing list [email protected] http://developer.marklogic.com/mailman/listinfo/general
