The Joomla! Forum ™






Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Mon Apr 30, 2012 7:48 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Sat Jun 26, 2010 9:14 am
Posts: 12
ลองก๊อปโค้ด popup มาใส่ดู ป๊อบอัพขึ้นปกติ แต่กดปุ่มปิดไม่ได้อะค่ะ กดแล้วไม่ยอมปิด ทำยังไงดีคะ รุ่นก่อนเคยอ่านเจอว่าต้องไปปิด clean code ใน 2.5 ต้องไปปิด clean code ตรงไหนคะ

Code

<script>
function closePopup(){

document.getElementById('popup').style.visibility = 'hidden';
document.getElementById('popup2').style.visibility = 'hidden';
}
</script>
<style type="text/css">
</style>


<div id="popup" style="width:100%;
height:100%;
position:fixed;
background-color:#000000;
opacity: .8;
filter: alpha(opacity=80);
-moz-opacity: .8;
z-index:10;
top:0px;
left:0px;
"
>
</div>

<div id="popup2" style="width:100%;
position:absolute;
z-index:25;
vertical-align:middle;
top:0px;
left:0px;"> &nbsp;

<table align=center border="0" width="100%">
<tr>
<td>


<param name="BGCOLOR" value="#FFFFFF">
<param name="SCALE" value="noborder">
<embed src="http://www.woodytalk.com/images/kerdaward.jpg"
width="100%" scale="noborder" align="top">
</object>
</td>
</tr>
</table>
<table align="right" border="0" >
<tr>
<td style="text-align: center;" ><img src="http://woodytalk.com/images/letter-x-icon.png"
width="32" height="32" border="0" align="top" onclick="closePopup()"/></td>
</tr>
</table>

</table>
</div>


<?php

ช่วยหน่อยนะคะ


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 



Who is online

Users browsing this forum: No registered users and 14 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group