|
 |
|
การทำ jquery fancybox แก้ไขให้หน่อยครับ หรือมีคำแนะนำอะไร |
|
 |
|
|
 |
 |
|
Code (PHP)
<!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>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>TEST fancybox</title>
<!-- jQuery latest version -->
<script type="text/javascript" src="http://code.jquery.com/jquery-latest.js"></script>
<script>
!window.jQuery && document.write('<script src="jquery-1.4.3.min.js"><\/script>');
</script>
<script type="text/javascript" src="./plugin/fancybox/jquery.mousewheel-3.0.4.pack.js"></script>
<script type="text/javascript" src="./plugin/fancybox/jquery.fancybox-1.3.4.pack.js"></script>
<link rel="stylesheet" type="text/css" href="./plugin/fancybox/jquery.fancybox-1.3.4.css" media="screen" />
<script type="text/javascript">
$(document).ready(function() {
$("#area").trigger('click');
});
jQuery(document).ready(function() {
$.fancybox(
'<iframe width="600" height="400" src="http://www.youtube.com/embed/HZV-ggoTQ7s" frameborder="0" allowfullscreen></iframe>',
{
'autoDimensions' : false,
'width' : 600,
'height' : 400,
'transitionIn' : 'none',
'transitionOut' : 'none'
}
);
});
</script>
</head>
<body>
</body>
</html>
ลองนำไปปรับใช้ดูนะครับ...
|
ประวัติการแก้ไข 2012-09-19 15:23:55
 |
 |
 |
 |
Date :
2012-09-19 15:23:05 |
By :
pokultra |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
|
|
|

|
Load balance : Server 03
|