|
Index | Recent Threads | Register | |
Forums » List all forums » Forum: Known Problems » Thread: conflict between scripts |
Total posts in this thread: 8 |
[Change thread status]
[Delete this Thread]
[Move this Thread] [Add To My Favorites] [Watch this Thread] [Post new Thread] |
Author |
|
UnindadeJardim
New Member
|
Hello, I have two scripts on my website localendar and slider. The two principle operating normally, but after a day that localendar was down I started having problems. The pop-up event no longer appears on the main page because of a conflict with the slider. When I comment the following lines <script type="text/javascript" src="Scripts/jquery.js"> </ script> <script type="text/javascript" src="Scripts/scripts.js"> </ script> My slider disappears but the calendar function normally. Is there anything I can do to make the calendar that will operate normally? plz help |
||
|
support
localendar Expert Joined: Aug 9, 2022 Posts: 6394 Status: Offline |
Can you post a link to the site where you're using localendar so we can take a look? ---------------------------------------- Marc Higgins Support Associate, localendar.com Follow us on Twitter! http://www.twitter.com/localendar_news |
||
|
UnindadeJardim
New Member
|
www.colegiounidadejardim.com.br |
||
|
support
localendar Expert Joined: Aug 9, 2022 Posts: 6394 Status: Offline |
My first guess is that the cause is the old (1.2.6) version of jQuery you are including on your page. If you would replace this line: <script type="text/javascript" src="js/jquery.js"></script> with this: <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js"></script> you might be all set. Let's start there. By the way, nice job with the circles around the dates on the mini-calendar ---------------------------------------- Marc Higgins Support Associate, localendar.com Follow us on Twitter! http://www.twitter.com/localendar_news |
||
|
UnindadeJardim
New Member
|
Hi, I made the changes you suggested, but it did not work and the problem continues. if you look at the sub-pages of my site you can see that the calendar works correctly... I'm using this slider http://www.dreamcss.com/2009/04/create-beautiful-jquery-sliders.html tanks for you help |
||
|
support
localendar Expert Joined: Aug 9, 2022 Posts: 6394 Status: Offline |
There's definitely a javascript conflict, as evidenced by looking at the console when I load your page. I noticed something else that is a problem. Find this part of your page:
and take out the 2nd include of jQuery (you are already including it) and also re-order the lines, so that you wind up with this:
---------------------------------------- Marc Higgins Support Associate, localendar.com Follow us on Twitter! http://www.twitter.com/localendar_news |
||||||
|
UnindadeJardim
New Member
|
Hello, thanks for the help. I managed to solve the problem. the code looked like this <link rel="Stylesheet" href="styleslider.css" type="text/css" media="screen" /> <script type="text/javascript" src="Scripts/jquery-1.4.1.min.js"></script> <script type="text/javascript" src="Scripts/scripts.js"></script> <script type="text/javascript" src='http://www.localendar.com/js/PublishedIncludeMini.js'></script> |
||
|
support
localendar Expert Joined: Aug 9, 2022 Posts: 6394 Status: Offline |
Great! I don't think you need that jQuery in there, but if it works, I'd keep it! ---------------------------------------- Marc Higgins Support Associate, localendar.com Follow us on Twitter! http://www.twitter.com/localendar_news |
||
|
[Show Thread Printable Version] [Post new Thread] |
Help! | Cobranding | Legal | Privacy Policy | About localendar.com | Contact Us |