colorbox.js error with Calendar -...

User 2411091 Photo


Registered User
13 posts

Must have been because I changed the page.

This one works I think: http://www.konikodes.com/final/cal.html

Thank you
User 187934 Photo


Senior Advisor
20,181 posts

Try using the version of JQuery provided by the CC Calendar.
<script src="calendar/javascript/jquery-1.4.2.min.js"></script>
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2411091 Photo


Registered User
13 posts

That was a mistake on my part. I thought I couldn't use it because I have a later version up there. So, I have reinstalled with all proper links and files.

Now Google Chrome is giving me two messages:
Uncaught ReferenceError: loadTodaysCalendar is not defined
Uncaught TypeError: $(...).slicknav is not a function
http://www.konikodes.com/final/cal.html
User 187934 Photo


Senior Advisor
20,181 posts

You have a script conflict. Give this a try

<script type="text/javascript">
var jQ = $.noConflict(true);
jQ(function () {
jQ('#menu').slicknav();
})
</script>

I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2411091 Photo


Registered User
13 posts

Thank you. That makes it look good on the page load.
However the pop-up isn't working.
Here's the new message from Google Chrome:
Uncaught TypeError: jQ(...).slicknav is not a function
Uncaught TypeError: $(...).colorbox is not a function behavior.js:4
I just can't find the way to resolve these conflicts.
User 187934 Photo


Senior Advisor
20,181 posts

Try your codes like this.
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/jquery-ui.js"></script>
<script type="text/javascript" src="http://cdnjs.cloudflare.com/ajax/libs/modernizr/2.6.2/modernizr.min.js"> </script>
<script type="text/javascript" src="js/jquery.slicknav.min.js"> </script>
<script type="text/javascript" src="js/accord.js"> </script>
<script type="text/javascript">
var jQ = $.noConflict(true);
jQ(function () {
jQ('#menu').slicknav();
})
</script>

<script type="text/javascript" src="calendar/javascript/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="calendar/javascript/jquery.colorbox-min.js"> </script>
<script type="text/javascript" src="calendar/javascript/jquery.text-overflow.min.js"> </script>
<script type="text/javascript" src="calendar/javascript/behavior.js"> </script>
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 187934 Photo


Senior Advisor
20,181 posts

Looks like it works.:cool:
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2411091 Photo


Registered User
13 posts

Yes! Wahoo! Thank you so much!
That code structure helped me alot.
This was my last page of the site and it has been driving me crazy. Now to just css the accordion and form, and I can have the client test it.
I really appreciate your time and help. If you find yourself on Oahu, lunch is on me.
Aloha
User 187934 Photo


Senior Advisor
20,181 posts

I went to Oahu in 1992. I would love to get back there and do some diving.
Glad to have helped you out.:)
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2411091 Photo


Registered User
13 posts

It's a great place, I love it here :)
Let me know when you can come back to visit.

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.