Jeetu Alex - IT Software Professional specialized in developing high-end, customized business solutions using Coldfusion and Java.

Coldfusion
Java
JQuery

An online resource for latest web technologies like Coldfusion, JRun, Pro*C, JQuery, HTML5, PHP, W3C, Java, J2EE, C, C++, ORACLE, PL/SQL, MySql, Ajax, Coldbox, Fusebox, UNIX, JavaScript, NodeJS and much more...

Wednesday, May 30, 2012

Google Apps Access domain users calendars



<script language="javascript">

$(document).ready(function() {         $('#dataProcessingIFrame').attr("src","http://www.google.com/calendar/embed?src=user%40domain.com&ctz=Asia/Dubai");
  });
 function changeurl(sel) {
    var value = sel.options[sel.selectedIndex].value;
   var url = "http://www.google.com/calendar/embed?src=user%40domain.com&ctz=Asia/Dubai";
    url = url.replace("user", value);
    $('#dataProcessingIFrame').attr("src",url);
}
 function openurl(sel) {
    var value = sel.options[sel.selectedIndex].value;
   if(value != "0") {
     var url = "http://www.google.com/calendar/embed?src="+value+"%40domain.com&ctz=Asia/Dubai";
        window.open(url,'_blank','width=600,height=600');
    }
 }
</script>



<select name="users" onchange="javascript: openurl(this);"> <option selected="" value="0">Select User</option> <option value="user">user@domain.com</option></select>