Javascript.RU

Создать новую тему Ответ
 
Опции темы Искать в теме
  #1 (permalink)  
Старый 22.12.2009, 16:39
Новичок на форуме
Отправить личное сообщение для Nevermore Посмотреть профиль Найти все сообщения от Nevermore
 
Регистрация: 22.12.2009
Сообщений: 1

Не удалось открыть узел. Операция прервана!
При работе в IE выдается ошибка "Не удается открыть узел xxxxxxxxxxx Операция прервана". На сколько я понял ошибка в Java, но как обойти не знаю.
Сам разбираюсь в Java на уровне чайника, с такой проблемой раньше не сталкивался!

Скрипт:
http://ifolder.ru/15607481
Ответить с цитированием
  #2 (permalink)  
Старый 22.12.2009, 19:57
Аватар для Gvozd
Матрос
Отправить личное сообщение для Gvozd Посмотреть профиль Найти все сообщения от Gvozd
 
Регистрация: 04.04.2008
Сообщений: 6,246

ага
щаз все ломанулись скачивать, кто быстрей.
что у тебя там?
AJAX-запрос? Посылать запросы на другие домены технически невозможно.
что-то другое.
привели минимальный код, в котором у тебя возникает ошибка, и поясни, что вообще пытался сделать.
телепаты в отпуске
Ответить с цитированием
  #3 (permalink)  
Старый 19.01.2010, 14:25
Новичок на форуме
Отправить личное сообщение для Dimitro Посмотреть профиль Найти все сообщения от Dimitro
 
Регистрация: 19.01.2010
Сообщений: 9

Такая же проблема. При заходе с IE в раздел сайта, не грузится контент, а переодически, или если обновить страницу выдает ошибку и кричит:

Не удалось открыть интернет узел.
Url страницы
Операция прервана

Тут проблема с шаблоном сайта (CMS Joomla 1.5), так как на старом такого не было. И скорей всего проблема из-за меню встроенного в шаблон.
В папке js шаблона есть файл IEsuckerfish.js может в нем затаилась проблема?
Выложу код что в нем, возможно что-то подскажете.

sfHover = function() {

	var sfEls = document.getElementById("navv").getElementsByTagName("LI");

	for (var i=0; i<sfEls.length; i++) {

		sfEls[i].onmouseover=function() {

			this.className+=" over";

			this.className+=" sfhover";

		}

		sfEls[i].onmouseout=function() {

			this.className=this.className.replace(new RegExp(" over\\b"), "");

			this.className=this.className.replace(new RegExp(" sfhover\\b"), "");



		}

	}

}

if (window.attachEvent) window.attachEvent("onload", sfHover);

Последний раз редактировалось Dimitro, 19.01.2010 в 14:37.
Ответить с цитированием
  #4 (permalink)  
Старый 19.01.2010, 14:34
Новичок на форуме
Отправить личное сообщение для Dimitro Посмотреть профиль Найти все сообщения от Dimitro
 
Регистрация: 19.01.2010
Сообщений: 9

Вот все что нашел связанное с ie в файлах js шаблона. Выложу, может поможет

------------------------------------------------------------------------------
Шаблон/js/lytebox.js
------------------------------------------------------------------------------
Line 279 : 			this.ie = (document.all && !window.opera) ? true : false;
Line 283 : 			this.ie = false;
Line 289 : 	this.ie7 = (this.ie && window.XMLHttpRequest);	
Line 289 : 	this.ie7 = (this.ie && window.XMLHttpRequest);	
Line 313 : 		objOverlay.setAttribute((this.ie ? 'className' : 'class'), this.theme);
Line 315 : 		if ((this.ie && !this.ie7) || (this.ie7 && this.doc.compatMode == 'BackCompat')) {
Line 315 : 		if ((this.ie && !this.ie7) || (this.ie7 && this.doc.compatMode == 'BackCompat')) {
Line 315 : 		if ((this.ie && !this.ie7) || (this.ie7 && this.doc.compatMode == 'BackCompat')) {
Line 337 : 		objOuterContainer.setAttribute((this.ie ? 'className' : 'class'), this.theme);
Line 381 : 		objDetailsContainer.setAttribute((this.ie ? 'className' : 'class'), this.theme);
Line 389 : 		objDetailsData.setAttribute((this.ie ? 'className' : 'class'), this.theme);
Line 421 : 		objPrev.setAttribute((this.ie ? 'className' : 'class'), this.theme);
Line 431 : 		objNext.setAttribute((this.ie ? 'className' : 'class'), this.theme);
Line 455 : 		objClose.setAttribute((this.ie ? 'className' : 'class'), this.theme);
Line 465 : 		objPause.setAttribute((this.ie ? 'className' : 'class'), this.theme);
Line 477 : 		objPlay.setAttribute((this.ie ? 'className' : 'class'), this.theme);
Line 521 : 	if (this.ie && !this.ie7) {	this.toggleSelects('hide');	}
Line 521 : 	if (this.ie && !this.ie7) {	this.toggleSelects('hide');	}
Line 655 : 		this.doc.getElementById('lbOuterContainer').setAttribute((this.ie ? 'className' : 'class'), this.theme);
Line 743 : 		this.doc.getElementById('lbOuterContainer').setAttribute((this.ie ? 'className' : 'class'), this.theme);
Line 925 : 		if (this.ie){ this.pause(250); } else { this.pause(100); } 
Line 933 : 	this.doc.getElementById('lbDetailsContainer').style.width = (imgWidth + (this.borderSize * 2) + (this.ie && this.doc.compatMode == "BackCompat" && this.outerBorder ? 2 : 0)) + "px";
Line 1473 : 		try { object.removeAttribute("filter"); } catch(e) {}	/* Fix added for IE Alpha Opacity Filter bug. */
Line 1485 : 		try { object.removeAttribute("filter"); } catch(e) {}	/* Fix added for IE Alpha Opacity Filter bug. */
Line 1663 : 	} else if (document.documentElement && document.documentElement.clientHeight) {
Line 1665 : 		windowWidth = this.doc.documentElement.clientWidth;
Line 1667 : 		windowHeight = this.doc.documentElement.clientHeight;
Line 1671 : 		windowWidth = this.doc.getElementsByTagName("html").item(0).clientWidth;
Line 1673 : 		windowHeight = this.doc.getElementsByTagName("html").item(0).clientHeight;
Line 1675 : 		windowWidth = (windowWidth == 0) ? this.doc.body.clientWidth : windowWidth;
Line 1677 : 		windowHeight = (windowHeight == 0) ? this.doc.body.clientHeight : windowHeight;
------------------------------------------------------------------------------
Шаблон/js/s5_fading_no_moo_menu.js
------------------------------------------------------------------------------
Line 1256 : // detect IE
Line 1265 :     var re  = new RegExp("MSIE ([0-9]{1,}[\.0-9]{0,})");
Line 1765 : var is_ie_s5_fm/*@cc_on = {
Line 1767 :   version : parseFloat(navigator.appVersion.match(/MSIE (.+?);/)[1])
------------------------------------------------------------------------------
Шаблон/js/s5_no_moo_menu.js
------------------------------------------------------------------------------
Line 1256 : // detect IE
Line 1265 :     var re  = new RegExp("MSIE ([0-9]{1,}[\.0-9]{0,})");
Line 1765 : var is_ie_s5_fm/*@cc_on = {
Line 1767 :   version : parseFloat(navigator.appVersion.match(/MSIE (.+?);/)[1])
------------------------------------------------------------------------------
Шаблон/js/tooltips.js
------------------------------------------------------------------------------
Line 12 : Last modified: 13.7.2007
Line 34 : but WITHOUT ANY WARRANTY; without even the implied warranty of
Line 88 : config. Title			= ''		// Default title text applied to all tips (no default title: empty string '')
Line 92 : config. TitleFontFace	= ''		// If '' use FontFace (boldified)
Line 120 : var tt_aElt = new Array(10), // Container DIV, outer title & body DIVs, inner title & body TDs, closebutton SPAN, shadow DIVs, and IFRAME to cover windowed elements in IE
Line 142 : 	if(tt_ie56)
Line 165 : 		if(!tt_op && !tt_ie)
Line 210 : function tt_GetClientW()
Line 212 : 	return(document.body && (typeof(document.body.clientWidth) != tt_u) ? document.body.clientWidth
Line 212 : 	return(document.body && (typeof(document.body.clientWidth) != tt_u) ? document.body.clientWidth
Line 214 : 			: tt_db ? (tt_db.clientWidth || 0)
Line 217 : function tt_GetClientH()
Line 219 : 	// Exactly this order seems to yield correct values in all major browsers
Line 220 : 	return(document.body && (typeof(document.body.clientHeight) != tt_u) ? document.body.clientHeight
Line 220 : 	return(document.body && (typeof(document.body.clientHeight) != tt_u) ? document.body.clientHeight
Line 222 : 			: tt_db ? (tt_db.clientHeight || 0)
Line 227 : 	return (e ? ((typeof(e.pageX) != tt_u) ? e.pageX : (e.clientX + tt_scrlX)) : 0);
Line 231 : 	return (e ? ((typeof(e.pageY) != tt_u) ? e.pageY : (e.clientY + tt_scrlY)) : 0);
Line 257 : tt_db, tt_op, tt_ie, tt_ie56, tt_bBoxOld,	// Browser flags
Line 257 : tt_db, tt_op, tt_ie, tt_ie56, tt_bBoxOld,	// Browser flags
Line 259 : tt_flagOpa, 			// Opacity support: 1=IE, 2=Khtml, 3=KHTML, 4=Moz, 5=W3C
Line 262 : tt_opa, 				// Currently applied opacity
Line 312 : 	tt_op = (document.defaultView && typeof(eval("w" + "indow" + "." + "o" + "p" + "er" + "a")) != tt_u);
Line 313 : 	tt_ie = n.indexOf("msie") != -1 && document.all && !tt_op;
Line 313 : 	tt_ie = n.indexOf("msie") != -1 && document.all && !tt_op;
Line 314 : 	if(tt_ie)
Line 316 : 		var ieOld = (!document.compatMode || document.compatMode == "BackCompat");
Line 317 : 		tt_db = !ieOld ? document.documentElement : (document.body || null);
Line 319 : 			tt_ie56 = parseFloat(nv.substring(nv.indexOf("MSIE") + 5)) >= 5.5
Line 319 : 			tt_ie56 = parseFloat(nv.substring(nv.indexOf("MSIE") + 5)) >= 5.5
Line 329 : 			n6 = document.defaultView && typeof document.defaultView.getComputedStyle != tt_u;
Line 329 : 			n6 = document.defaultView && typeof document.defaultView.getComputedStyle != tt_u;
Line 335 : 	if(tt_ie || n6 || tt_op || w3c)
Line 365 : 			(tt_ie56 ? ('<iframe id="WzTtIfRm" src="javascript:false" scrolling="no" frameborder="0" style="filter:Alpha(opacity=0);position:absolute;top:0px;left:0px;display:none;"></iframe>')
Line 378 : 	if(tt_ie56 && tt_aElt[0])
Line 488 : 	// The ID passed to the found TagToTip() call identifies an HTML element
Line 521 : 	tt_maxPosX = tt_GetClientW() + tt_scrlX - tt_w - 1;
Line 522 : 	tt_maxPosY = tt_GetClientH() + tt_scrlY - tt_h - 1;
Line 553 : 	// Inherit unspecified title formattings from body
Line 564 : 		// Use title colors for non-specified closebutton colors
Line 618 : 				+ 'cursor:' + (tt_ie ? 'hand' : 'pointer')
Line 864 : 	if(tt_ie56)
Line 890 : 			if(!tt_op && !tt_ie)
Line 917 : 	// Prevent tip from extending past right/left clientarea boundary
Line 927 : 	// mouse. In case of insufficient space above and below the mouse, we place
Line 1011 : // To circumvent the opacity nesting flaws of IE, we set the opacity
Line 1040 : // conveniently. Keeps track of those handlers to prevent them from being
Line 1073 : 		// Hack for bugs of IE:
Line 1075 : 		// has been applied while the DIV was hidden.
Line 1076 : 		// Moreover, in IE6, applying an opacity < 100 has no effect if the
Ответить с цитированием
Ответ



Опции темы Искать в теме
Искать в теме:

Расширенный поиск