![]() |
|
#1
|
||||
|
||||
|
"; $(document).ready(function () { Init(); if ($("#SurvayContent").length > 0 && $("#VoteDiscussionExist").length == 0) { var Survayselected = "/Views/Shared/shared/images/SurvaySelected.jpg"; $("#Survay").attr("disabled", "disabled"); $("#Survay").attr("src", Survayselected); $('#_SrvsContent').html($('#SurvayContent')[0].innerHTML); } }); function Init() { if ($("#SurvayContent").length > 0 || $("#VoteDiscussionExist").length > 0) { $(".VoteDiscussionBox").css("display", "block"); } $('#_SrvsContent').html(ajaxLoading); $('.tab').addClass('selected'); if ($("#SurvayContent").length > 0) { $("#Survay").css("display", ""); } $('.tab').click(function () { $('.tab').addClass('selected'); $(this).removeClass("selected"); $('#_SrvsContent').html(ajaxLoading); var voteselected = "/Views/Shared/shared/images/voteSelected.jpg"; var voteNot = "/Views/Shared/shared/images/vote.jpg"; var discsNot = "/Views/Shared/shared/images/forum.jpg"; var discselected = "/Views/Shared/shared/images/forumSelected.jpg"; var SurvayNot = "/Views/Shared/shared/images/SurvayUnSelected.jpg"; var Survayselected = "/Views/Shared/shared/images/SurvaySelected.jpg"; if ($(this).attr("id") == "discussion") { $('#discussion').attr("disabled", "disabled"); $('#vote').attr("disabled", ""); $("#Survay").attr("disabled", ""); $('#discussion').attr("src", discselected); $('#vote').attr("src", voteNot); $("#Survay").attr("src", SurvayNot); } if ($(this).attr("id") == "vote") { $('#vote').attr("disabled", "disabled"); $('#discussion').attr("disabled", ""); $("#Survay").attr("disabled", ""); $('#vote').attr("src", voteselected); $('#discussion').attr("src", discsNot); $("#Survay").attr("src", SurvayNot); } if ($(this).attr("id") == "Survay") { $('#vote').attr("disabled", ""); $('#discussion').attr("disabled", ""); $("#Survay").attr("disabled", "disabled"); $('#vote').attr("src", voteNot); $('#discussion').attr("src", discsNot); $("#Survay").attr("src", Survayselected); } if ($(this).attr("id") == "vote" || $(this).attr("id") == "discussion") { var tragetUrl = $(this).attr('target-url'); $.get(tragetUrl, '', function (result, status, respones) { try { if (status == 'success') { $('#_SrvsContent').html(result).slideDown('slow'); if (tragetUrl.indexOf("/Sitevote/vote/") != -1) { $('.votes').each(function (index, ele) { var voteId = $(ele).val(); $('.votepu' + voteId).dialog({ title: 'نتيجة التصويت', width: 600, height: 380, autoOpen: false, resizable: false, modal: true }); $('.doVote' + voteId).dialog({ title: 'التصويت', width: 640, height: 360, autoOpen: false, resizable: false, modal: true }); CheckCookie(voteId) }); } } else { $('#_SrvsContent').html("Error connceting to web services ... "); } } catch (e) { // alert(e); } }); } else { $('#_SrvsContent').html($('#SurvayContent')[0].innerHTML); } }); } function UpdateVote(VoteID, type) { var yourAnswer = document.getElementById("yourAnswer" + VoteID).value; var yourVote = document.getElementById("yourVote" + VoteID).value; if (yourAnswer != 0 && yourAnswer > 0) { $('#VoteID').css("display", ""); var src ="/Sitevote/SiteServices/SupportPages/vote/SecureVote.aspx?voteID="+VoteID+"&actionType=1&dis pType=1&yourAnswer=" + yourAnswer+""; $('#ifrm' + VoteID).attr('src', src); $('.doVote' + VoteID + ":first").dialog('open'); } } function CheckCookie(vid) { var voteId = GetVoteCookieValue("vote", "vID", vid); if (voteId) { DisableRadioButtons(document.getElementsByName("vo teSelect" + vid)) var votePartLink = document.getElementsByName("voteSelect" + vid + ""); if (votePartLink) { $(votePartLink).removeAttr("href"); } } } function GetVoteCookieValue(sParent, sName, sValue) { var aCookie = document.cookie.split("; "); for (var i = 0; i -1) { var aCrumb = aCookie[i].split("="); if (sParent == aCrumb[0]) { if (sName == aCrumb[1]) { if (aCrumb[2].search(",") > -1) { var aCrumb2 = aCrumb[2].split(","); for (var l = 0; l 0) { $('#voteresultdialoglink').attr('value', url) } $('#innerHtml' + vId).html(ajaxLoading); $('#innerHtml' + vId).load(url); $('.votepu' + vId + ':first').dialog('open'); $('.votepu' + vId + ':first').dialog( "option", "width", 600 ); } غوغل تتوصل لتسوية مع الاتحاد الأوروبي قالت صحيفة فايننشال تايمز البريطانية إن شركة غوغل وافقت على الخطوط العريضة لتسوية مع اللجنة الأوروبية الخاصة بمكافحة الاحتكار، وسوف تبدأ مفاوضات من أجل التوصل إلى اتفاقية رسمية بين الجانبين. وطبقا للتسوية اقترحت غوغل بعض التنازلات فيما يتعلق بخدمات البحث المقدمة لأجهزة الحاسوب وللهواتف النقالة. وقالت الصحيفة إن غوغل أيضا حلت عدة مسائل مع الاتحاد الأوروبي تتعلق باتهامات للشركة بأن نتائج البحث بمحركها تميل لصالح منتجاتها. ونقلت فايننشال تايمز عن متحدث باسم غوغل القول "إننا مستمرون بالتعاون مع اللجنة الأوروبية الخاصة بمكافحة الاحتكار". ![]() المصدر : فايننشال تايمز |
|
|
المواضيع المتشابهه
|
||||
| الموضوع | كاتب الموضوع | المنتدى | مشاركات | آخر مشاركة |
| الاتحاد الأوروبي يشدد على التقشف | admin | الاخبار الاقتصاديه | 0 | 05-08-2012 09:54 AM |
| إقرار الاتحاد الأوروبي والولايات المتحدة لصفقة استحواذ "غوغل | admin | الاخبار الاقتصاديه | 0 | 02-14-2012 12:12 AM |
| بريطانيا على هامش الاتحاد الأوروبي | admin | الاخبار الاقتصاديه | 0 | 12-11-2011 12:00 AM |
| الاتحاد الأوروبي يحقق مع شركة آبل | admin | الاخبار الاقتصاديه | 0 | 12-06-2011 06:01 AM |
| باروسو: اليورو قلب الاتحاد الأوروبي | admin | الاخبار الاقتصاديه | 0 | 11-10-2011 12:43 AM |