Javascript-форум (https://javascript.ru/forum/)
-   Общие вопросы Javascript (https://javascript.ru/forum/misc/)
-   -   Помогите новичку (https://javascript.ru/forum/misc/2299-pomogite-novichku.html)

OlexandrI 03.12.2008 22:24

Помогите новичку
 
Вложений: 1
Подскажите что не то в моеє библиотеке :confused:
Вложение 49
Заранее благодарю

Octane 03.12.2008 23:13

А что там должно не работать?
-------------------------------

Такая проверка функции
function Object() { [native code] }

не будет работать в «Google Chrome»

OlexandrI 03.12.2008 23:35

у меня хроме нету
аякс у меня глючит и когда применяю драгидроп з рамкой к картинке, то рамка не исчезает

Octane 03.12.2008 23:43

Цитата:

Сообщение от OlexandrI (Сообщение 9173)
у меня хроме нету

http://www.google.ru/chrome
Цитата:

Сообщение от OlexandrI (Сообщение 9173)
аякс у меня глючит и когда применяю драгидроп з рамкой к картинке, то рамка не исчезает

И вы хотите, чтобы мы сами все попробовали реализовать, чтобы посмотреть что там не работает? :D

OlexandrI 04.12.2008 22:20

У меня вот такой документ:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<title>Test</title>
	<script type="text/javascript" src="JS/MyLibary.js"></script>
	<style>
	.d1{position: absolute;
		left:	100px;
		top:	200px;
		height:	125px;
		width:	150px;
		background-color:green;
		padding-top:25px;
		}
	.d12{position: absolute;
		left:	250px;
		top:	350px;
		height:	125px;
		width:	150px;
		background-color:green;
		padding-top:25px;
		}
	.d2{height:	75px;
		width:	100px;
		padding-top:25px;
		background-color:blue;
		}
	.d3{height:	25px;
		width:	50px;
		padding-top:25px;
		background-color:red;
		}
	</style>
</head>
<body>
<div class="d1" id="d1" onclick="alert(1);" align=center valign=center>
    <div class="d2" id="d2" onclick="alert(2);" align=center valign=center>
        <div class="d3" id="d3" onclick="alert(3)">,</div>
    </div>
</div>
<img id="img" style="border: none;" src='files/test.jpg'>
<script>
var Q=$my.$F;
style={myClass:{
	 style:{color:"blue"},
	 DragDrop:{
		 Drag:function(){window.status="X-"+this.style.left+" x Y-"+this.style.top;},
		 Frames:1
		}}
	};
Q(style,function(){Q.constructor("#d1", "myClass");Q.constructor("#img", "myClass");});
A=new $my.AJAX();
A.setURL("http://htdocsnew.com/JSBrowser/CURL.php?site=htdocsnew.com/&url=htdocsnew.com/");
A.setPost({my:'hh'});
A.setParser(function(t){alert(t);});
alert(A.send());
</script>
</body>
</html>

OlexandrI 04.12.2008 22:22

В Опере AJAX не реагирует, в IE видает ошибку, в Firefoxе - зависает

OlexandrI 07.12.2008 10:17

как через AJAX передават Post?


Часовой пояс GMT +3, время: 12:59.