Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
Register FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 06-12-2007, 12:52 AM
raja811 raja811 is offline
 
Join Date: Oct 2006
Posts: 390
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default urgent creat thread probleme

<font color="Blue">i am creat therad find automatiquement come this document how to stopper pls help me urgent</font>

function __RP_Callback_Helper(str, strCallbackEvent, splitSize, func){var event = null;if (strCallbackEvent){event = document.createEvent('Events');event.initEvent(str CallbackEvent, true, true);}if (str && str.length > 0){var splitList = str.split('|');var strCompare = str;if (splitList.length == splitSize)strCompare = splitList[splitSize-1];var pluginList = document.plugins;for (var count = 0; count < pluginList.length; count++){var sSrc = '';if (pluginList[count] && pluginList[count].src)sSrc = pluginList[count].src;if (strCompare.length >= sSrc.length){if (strCompare.indexOf(sSrc) != -1){func(str, count, pluginList, splitList);break;}}}}if (strCallbackEvent)document.body.dispatchEvent(even t);}function __RP_Coord_Callback(str){var func = function(str, index, pluginList, splitList){pluginList[index].__RP_Coord_Callback = str;pluginList[index].__RP_Coord_Callback_Left = splitList[0];pluginList[index].__RP_Coord_Callback_Top = splitList[1];pluginList[index].__RP_Coord_Callback_Right = splitList[2];pluginList[index].__RP_Coord_Callback_Bottom = splitList[3];};__RP_Callback_Helper(str, 'rp-js-coord-callback', 5, func);}function __RP_Url_Callback(str){var func = function(str, index, pluginList, splitList){pluginList[index].__RP_Url_Callback = str;pluginList[index].__RP_Url_Callback_Vid = splitList[0];pluginList[index].__RP_Url_Callback_Parent = splitList[1];};__RP_Callback_Helper(str, 'rp-js-url-callback', 3, func);}function __RP_TotalBytes_Callback(str){var func = function(str, index, pluginList, splitList){pluginList[index].__RP_TotalBytes_Callback = str;pluginList[index].__RP_TotalBytes_Callback_Bytes = splitList[0];};__RP_Callback_Helper(str, null, 2, func);}function __RP_Connection_Callback(str){var func = function(str, index, pluginList, splitList){pluginList[index].__RP_Connection_Callback = str;pluginList[index].__RP_Connection_Callback_Url = splitList[0];};__RP_Callback_Helper(str, null, 2, func);}
Edit/Delete Message
Reply With Quote
  #2  
Old 06-12-2007, 01:20 AM
Eikinskjaldi's Avatar
Eikinskjaldi Eikinskjaldi is offline
 
Join Date: Feb 2006
Location: Hell, never looked better
Posts: 572
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

sanity check...

PHP Code:
function __RP_Callback_Helper(str, strCallbackEvent, splitSize, func) {
   var event = null;
   if (strCallbackEvent){
       event = document.createEvent('Events');
       event.initEvent(str CallbackEvent, true, true);
   }

   if (str && str.length > 0) {
      var splitList = str.split('|');
      var strCompare = str;
      if (splitList.length == splitSize)
         strCompare = splitList[splitSize-1];
     var pluginList = document.plugins;
     for (var count = 0; count < pluginList.length; count++) {
        var sSrc = '';
        if (pluginList[count] && pluginList[count].src)
            sSrc = pluginList[count].src;
            if (strCompare.length >= sSrc.length) {
               if (strCompare.indexOf(sSrc) != -1) {
                   func(str, count, pluginList, splitList);
                   break;
               }
           }
       }
    }
    if (strCallbackEvent)
        document.body.dispatchEvent(even t);
}

function __RP_Coord_Callback(str) {
   var func = function(str, index, pluginList, splitList) {
      pluginList[index].__RP_Coord_Callback = str;
      pluginList[index].__RP_Coord_Callback_Left =splitList[0];
      pluginList[index].__RP_Coord_Callback_Top = splitList[1];
      pluginList[index].__RP_Coord_Callback_Right = splitList[2];
      pluginList[index].__RP_Coord_Callback_Bottom = splitList[3];
   };
   __RP_Callback_Helper(str, 'rp-js-coord-callback', 5, func);
}

function __RP_Url_Callback(str) {
   var func = function(str, index, pluginList, splitList) {
      pluginList[index].__RP_Url_Callback = str;
      pluginList[index].__RP_Url_Callback_Vid = splitList[0];
      pluginList[index].__RP_Url_Callback_Parent = splitList[1];
   };
   __RP_Callback_Helper(str, 'rp-js-url-callback', 3, func);
}

function __RP_TotalBytes_Callback(str) {
   var func = function(str, index, pluginList, splitList) {
   pluginList[index].__RP_TotalBytes_Callback = str;
   pluginList[index].__RP_TotalBytes_Callback_Bytes = splitList[0];
   };
   __RP_Callback_Helper(str, null, 2, func);
}

function __RP_Connection_Callback(str) {
   var func = function(str, index, pluginList, splitList) {
      pluginList[index].__RP_Connection_Callback = str;
      pluginList[index].__RP_Connection_Callback_Url = splitList[0];
   };
   __RP_Callback_Helper(str, null, 2, func);
} 
The english in the question is too poor for me to work out what you are actually asking.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:11 PM.


Powered by vBulletin® Version 3.9.0
Copyright ©2000 - 2017, vBulletin Solutions Inc.