Side navigation
Ticket #6575: index68.html
File index68.html, 0.7 KB (added by phuc.quang, May 17, 2010 09:46AM UTC)
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Test Conflict</title>
<script type="text/javascript" src="http://code.jquery.com/jquery-1.4.2.min.js"></script>
<script>var $j = $.noConflict();</script>
<script type="text/javascript" src="http://prototypejs.org/assets/2009/8/31/prototype.js"></script>
</head>
<body>
<img id="thumb" src="http://img190.imageshack.us/img190/9420/1156473.jpg" alt = "" />
<script>
$j(window).load(function(){
alert($j("#thumb").width() + " " + $j("#thumb").height());
});
</script>
</body>
</html>
Download in other formats:
Original Format
File index68.html, 0.7 KB (added by phuc.quang, May 17, 2010 09:46AM UTC)
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Test Conflict</title>
<script type="text/javascript" src="http://code.jquery.com/jquery-1.4.2.min.js"></script>
<script>var $j = $.noConflict();</script>
<script type="text/javascript" src="http://prototypejs.org/assets/2009/8/31/prototype.js"></script>
</head>
<body>
<img id="thumb" src="http://img190.imageshack.us/img190/9420/1156473.jpg" alt = "" />
<script>
$j(window).load(function(){
alert($j("#thumb").width() + " " + $j("#thumb").height());
});
</script>
</body>
</html>