2014-01-21 28 views
0

我正在嘗試在我的網站上放置一個「添加到日曆」鏈接,但它似乎並未在我的網站上正常運行。這裏是鏈接:https://www.cvrc.virginia.edu/content/test 你可以看到是否顯示爲鏈接,當你點擊它時,它沒有添加選項。這是我使用的代碼。如果你打開它作爲你的計算機上的.html文件,它工作正常。有任何想法嗎?添加到日曆鏈接不起作用

<!DOCTYPE html> 
<html> 
<head> 
    <title>AddThisEvent</title> 
    <meta name="Description" content="" /> 
    <meta name="Keywords" content="" /> 
    <meta name="Author" content="Michael Nilsson, AddThisEvent" /> 

    <meta charset="utf-8" /> 

    <!-- AddThisEvent --> 
    <script type="text/javascript" src="http://js.addthisevent.com/atemay.js"></script> 
<!-- AddThisEvent Settings --> 
<script type="text/javascript"> 
addthisevent.settings({ 
    license : "aao8iuet5zp9iqw5sm9z", 
    mouse  : false, 
    css  : true, 
    outlook : {show:true, text:"Outlook Calendar"}, 
    google : {show:true, text:"Google Calendar"}, 
    yahoo  : {show:true, text:"Yahoo Calendar"}, 
    hotmail : {show:true, text:"Hotmail Calendar"}, 
    ical  : {show:true, text:"iCal Calendar"}, 
    facebook : {show:true, text:"Facebook Event"}, 
    callback : "" 
}); 
</script> 
</head> 
<body> 

<!-- Snippet --> 
<a href="http://example.com/link-to-your-event" title="Add to Calendar" class="addthisevent"> 
    Add to Calendar 
    <span class="_start">10-05-2012 11:38:46</span> 
    <span class="_end">11-05-2012 11:38:46</span> 
    <span class="_zonecode">40</span> 
    <span class="_summary">Summary of the event</span> 
    <span class="_description">Description of the event</span> 
    <span class="_location">Location of the event</span> 
    <span class="_organizer">Organizer</span> 
    <span class="_organizer_email">Organizer e-mail</span> 
    <span class="_all_day_event">false</span> 
    <span class="_date_format">DD/MM/YYYY</span> 
</a> 

</body> 
</html> 

回答