منتديات كيو ون q8-one  

العودة   منتديات كيو ون q8-one > ۝ أسـواق المـال ۝ > الاخبار الاقتصاديه

إضافة رد
 
أدوات الموضوع انواع عرض الموضوع
  #1  
قديم 04-26-2012, 06:40 AM
الصورة الرمزية admin
admin admin غير متواجد حالياً
TO BE OR NOT TO BE
 
تاريخ التسجيل: Feb 2008
الدولة: عايش على النت
المشاركات: 31,162
افتراضي بكين تتعهد بدعم شرق أوروبا


"; $(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 ); }
رد مع اقتباس
إضافة رد

أدوات الموضوع
انواع عرض الموضوع

تعليمات المشاركة
لا تستطيع إضافة مواضيع جديدة
لا تستطيع الرد على المواضيع
لا تستطيع إرفاق ملفات
لا تستطيع تعديل مشاركاتك

BB code is متاحة
كود [IMG] متاحة
كود HTML معطلة

الانتقال السريع

المواضيع المتشابهه
الموضوع كاتب الموضوع المنتدى مشاركات آخر مشاركة
بكين تتعهد بعدم تقليد المنتجات العالمية admin الاخبار الاقتصاديه 0 04-23-2012 12:41 PM
دمشق تتعهد بدعم الليرة admin الاخبار الاقتصاديه 0 02-06-2012 04:40 AM
بكين تتعهد بإصلاح الاختلالات التجارية admin الاخبار الاقتصاديه 0 12-10-2011 08:24 PM
أبيك تتعهد بتجنب آثار أزمة أوروبا admin الاخبار الاقتصاديه 0 11-14-2011 07:02 AM
بكين تتعهد سرا بشراء سندات أوروبا admin الاخبار الاقتصاديه 0 10-16-2011 05:13 AM


الساعة الآن 09:20 AM


Powered by vBulletin® Copyright ©2000 - 2026, Jelsoft Enterprises Ltd. TranZ By Almuhajir