Adding Script in HTML block for localendar.

Permalink
Hi. I built a calendar at localendar and want to add it to my site. To embed a fully functional calendar I need to add this script:

<SCRIPT src="http://www.localendar.com/public/goldclubgirls?include=Y&dynamic=Y&style=M0¤t_only=Y"></SCRIPT>

When I add it to an HTML block and enter the script, it tells me that the block was added successfully. When I try to exit edit mode the system freezes. I then go to Dashboard and then back to the site and get a message that says "Unknown Calendar Format".

Is there any way I can get this done so that it works?

Thank you:-)

sully210
 
MyFOXspokane replied on at Permalink Reply
I am having the same issue with the following script:

<script src="http://monkeysee.com/javascripts/widgets/ms_player_widget.js?content=votd-cat&width=512&height=315&cat=1&ad_position=below&pubId=KAYU&autoplay=false"></script>

Did you find a solution?
arrestingdevelopment replied on at Permalink Reply
arrestingdevelopment
Sully,

I just tried pasting the code you posted into a sample website and had the exact same problem. So my guess would be that there's something in Localendar's code that is conflicting with other scripts required for Concrete5 to function. I had a similar problem recently trying to use Javascript code provided by Fonts.com for including webfonts into my site... it was causing a conflict somewhere that blew up in Internet Explorer. I ended up having to us a different technique to embed the fonts to get it to work (which, unfortunately, meant having to pay for an account instead of being able to use their free service).

Taking a look at Localendar's site, it seems like there's another option for embedding the calendar: if you choose the "Interactive Mini Calendar", the code you will get is iFrame code... which shouldn't interfere with the functionality of your page.

Of course, the "Interactive Mini Calendar" may not be what you want to include... but that's a different issue. ;D

Good luck!

- John
sully210 replied on at Permalink Reply
sully210
Thanks a lot. Sorry it took so long to reply. I am having the same problem again with another site. I can use an iFrame but this is a responsive site and the only solution I have found that seems to be hopeful for responsive iFrame content is over my head and requires the 3rd party, Localendar, to have the latest version of jquery and include the script. I am going to write them and see what they say. They should just offer responsive options and better customization of css. Thanks again and here is the link to that jquery page I found:
http://npr.github.com/responsiveiframe/
.
mhawke replied on at Permalink Reply
mhawke
I believe the problem is caused by the double loading of jquery. If you use firebug or the web developer console, you will see there are JavaScript errors. If you click on the script causing the error, you can look through the script from Localendar. If you look closely near the top of that script, you will see it calls jquery from the Google CDN which is a problem. IMHO, these 3rd party developers need to give you the option of including jquery in their widget code because more and more often, jquery is already present before the widget is called.
sully210 replied on at Permalink Reply
sully210
Thanks Mark. I will get in touch with them and see if there is something that can be done.
jackbasting replied on at Permalink Reply
jackbasting
I've had the same problem.
Now I use keepandshare.com
Works good for me.