[MarkLogic Dev General] Bubble popup html Vs XQY

Pradeep Maddireddy pradeep.marklogic at gmail.com
Wed Nov 24 10:23:21 PST 2010


Hi Ryan,

   Can you try this attachment. For me it seems to work fine in .html and
fails in .xqy .
One other thing I noticed is when I move the cursor away from the url's
into the white space and then point it back to any of them the bubble popup
gets displayed.

I have added two more files  which use a larger font. If I use larger font
the bubble popup seems to work fine.
/bubble/test-bubble2.html <http://localhost:8008/bubble/test-bubble.html>
/bubble/test-bubble2.xqy <http://localhost:8008/bubble/test-bubble.xqy>

Please let me know your thoughts.

Thanks
Pradeep M
On Wed, Nov 24, 2010 at 11:26 PM, semerau at hotmail.com
<semerau at hotmail.com>wrote:

>  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: pradeep.marklogic at gmail.com
> To: General at developer.marklogic.com
> 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
> General at developer.marklogic.com
> http://developer.marklogic.com/mailman/listinfo/general
>
> _______________________________________________
> General mailing list
> General at developer.marklogic.com
> http://developer.marklogic.com/mailman/listinfo/general
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://developer.marklogic.com/pipermail/general/attachments/20101124/5271e33d/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bubble.zip
Type: application/zip
Size: 121354 bytes
Desc: not available
Url : http://developer.marklogic.com/pipermail/general/attachments/20101124/5271e33d/attachment-0001.zip 


More information about the General mailing list