cm0s / jquery-rcrumbs

jQuery plugin to create a responsive breadcrumb
Other
60 stars 27 forks source link

Uncaught error #2

Closed ScottMacRay closed 10 years ago

ScottMacRay commented 10 years ago

I am using jcrumbs as you describe in your introduction, but I am getting this error: <>. That has no sense for me due to I am changing de element id everytime I use the script to activate rcrumbs. Can you help me? Here is the description of the error: <<v.extend.error jquery-1.8.3.min.js:2 (anonymous function) jquery.rcrumbs.js:264 v.extend.each jquery-1.8.3.min.js:2 v.fn.v.each jquery-1.8.3.min.js:2 $.fn.(anonymous function) jquery.rcrumbs.js:260 (anonymous function) VM604:1 l jquery-1.8.3.min.js:2 c.fireWith jquery-1.8.3.min.js:2 v.extend.ready jquery-1.8.3.min.js:2 A>> Thanks in advance!

ScottMacRay commented 10 years ago

Don't know why it doesn't appear the error, I will add it again... "Uncaught Error: jquery.rcrumbs plugin cannot be instantiated multiple times on same element"

cm0s commented 10 years ago

Hi,

I'm really sorry I didn't see your issue when you posted it. As it's quite old, I presume you find a solution or used another plugin? If I can still help you, just let me know.

ScottMacRay commented 10 years ago

Hello,

I still have that issue, that dont' stop my application to work, but that make me uneasy... Can you help me?

2014-06-05 22:07 GMT+02:00 Nicolas Forney notifications@github.com:

Hi,

I'm really sorry I didn't see your issue when you posted it. As it's quite old, I presume you find a solution or used another plugin? If I can still help you, just let me know.

— Reply to this email directly or view it on GitHub https://github.com/cm0s/jquery-rcrumbs/issues/2#issuecomment-45267600.

cm0s commented 10 years ago

Hi, can you reproduce this error in a http://fiddle.jshell.net/ or another code playground. If it's public you can give me a link to your application where this error is raised.

ScottMacRay commented 10 years ago

That is going to be difficult, Nicolas, due to my code is private...let's see if I am able of create a new code just to test it. I can say you now that I'm using jQuery Mobile Framework, maybe it is a tip for you.

2014-06-21 13:32 GMT+02:00 Nicolas Forney notifications@github.com:

Hi, can you reproduce this error in a http://fiddle.jshell.net/ or another code playground. If it's public you can give me a link to your application where this error is raised.

— Reply to this email directly or view it on GitHub https://github.com/cm0s/jquery-rcrumbs/issues/2#issuecomment-46751485.

cm0s commented 10 years ago

It will be great if you can reproduce it in a code playground. Without it, it's gonna be difficult to debug your error.

By the way, I never tried to use rcrumbs with jQuery mobile, but it should work as jQuery mobile use the core jQuery library.

ScottMacRay commented 10 years ago

Hello again Nicolas.

I tried to add my code in the code playground you suggested (it is the first time I do it, so, I am not sure if I did it well). Here is the link: http://jsfiddle.net/PV4PX/ ...but , I do not know how to use your jcrumbs library there...I have no "uri" to add, I downloaded the library in my local repository...maybe you can do that and see the result.

2014-06-21 14:59 GMT+02:00 Nicolas Forney notifications@github.com:

It will be great if you can reproduce it in a code playground. Without it, it's gonna be difficult to debug your error.

By the way, I never tried to use rcrumbs with jQuery mobile, but it should work as jQuery mobile use the core jQuery library.

— Reply to this email directly or view it on GitHub https://github.com/cm0s/jquery-rcrumbs/issues/2#issuecomment-46753079.

cm0s commented 10 years ago

I added the rcrumbs dependencies. For now I don't get any error.

http://jsfiddle.net/cm0s/PV4PX/1/

ScottMacRay commented 10 years ago

This is the error I am getting in the Console of Google Chrome... Uncaught Error: jquery.rcrumbs plugin cannot be instantiated multiple times on same element

2014-06-21 21:27 GMT+02:00 Nicolas Forney notifications@github.com:

I added the rcrumbs dependencies. For now I don't get any error.

http://jsfiddle.net/cm0s/PV4PX/1/

— Reply to this email directly or view it on GitHub https://github.com/cm0s/jquery-rcrumbs/issues/2#issuecomment-46762474.

cm0s commented 10 years ago

Do you see this error in Chrome when your run the code on this page : http://jsfiddle.net/cm0s/PV4PX/1/ ? I don't get any error.

By the way, the error you see is raised when you try to apply rcrumbs more than once on the same DOM element. Perhaps you have something in your code which call rcrumbs multiple times..

ScottMacRay commented 10 years ago

Hello Nicolas, I am using the same JSP (Java Server Page) to show several different pages. Is there a way to update the "rcrumb" instead of "instantiate" it?

Thanks in advance.

2014-06-23 9:24 GMT+02:00 Nicolas Forney notifications@github.com:

Do you see this error in Chrome when your run the code on this page : http://jsfiddle.net/cm0s/PV4PX/1/ ?

I don't get any error.

By the way, the error you see is raised when you try to apply rcrumbs more than once on the same DOM element. Perhaps you have something in your code which call rcrumbs multiple times..

— Reply to this email directly or view it on GitHub https://github.com/cm0s/jquery-rcrumbs/issues/2#issuecomment-46813160.

cm0s commented 10 years ago

No unfortunately this is not possible in the current version. However it seems to be a useful feature.

Can you fill a new issue which ask for this feature ? I will implement it.

cm0s commented 10 years ago

No response