English 中文(简体)
JQ 型波纹
原标题:JQmodal pop up can not appear

I ve a problem about jqmodal. That pop up can not appear. My scenario is any data in variable warning, pop up will appear and will appear the all warning data. This the code. Please help me. Thanks

<link type="text/css" rel="stylesheet" href="<? echo base_url(). css/jqmodal/css/prettify.css ; ?>" />
<script type="text/javascript" language="JavaScript" src="<? echo base_url(). css/jqmodal/ ;?>js/prettify.js"> </script>
<link type="text/css" rel="stylesheet" href="<? echo base_url(). css/jqmodal/ ;?>css/jquery.modaldialog.css" />
<script type="text/javascript" language="JavaScript" src="<? echo base_url(). css/jqmodal/ ;?>js/jquery.js"> </script>
<script type="text/javascript" language="JavaScript" src="<? echo base_url(). css/jqmodal/ ;?>js/jquery.modaldialog.js"> </script>
<script type="text/javascript" language="JavaScript">
$().ready(function(){
prettyPrint();
});
</script>
if(@$warning != NULL)
{

             ?>
             <div id="jqModal" class="jqmWindow" style="display: none;"></div>
             <script type="text/javascript">

             jQuery().ready(function($){

             $( #jqModal ).jqm({onShow:setText}); 
             $( #jqModal ).jqmShow();

             function setText(){
                $( #jqModal ).text(<?php echo @$warning;?>);
             }


             });
             </script>
             <?php 
最佳回答

Hey Ayu http://jsfiddle.net/BG42j/“rel=“nofollow” http://jsfiddle.net/BG42j/。

现在,如果你在上面点击......,你将获得我在<条码>查询/编码>中确定的案文。 你们可以 play。 www.un.org/spanish/ga/president 您的接受率很低:

求助链接:http://dev.iceburg.net/jquery/jqModal/

因此,我思科的问题是,在触发点击时,宣布排泄物的方式是不正确的。 • 显示通知 */ on(回顾): 要求出示方言。 能够显示(可见)方言。

希望这一帮助和 have! che

www.un.org/spanish/ecosoc Jquery Code

$(document).ready(function() {
    $( #dialog ).jqm({onShow:setText});
   // $( #dialog ).jqm().jqmShow({overlay: 70});
});

var setText =  function(h) {
        /* callback executed when a trigger click. Show notice */
        h.w.text( Warning! foooooo );
        h.w.css( opacity ,0.92).slideDown(); 
        }
​
问题回答

暂无回答




相关问题
Brute-force/DoS prevention in PHP [closed]

I am trying to write a script to prevent brute-force login attempts in a website I m building. The logic goes something like this: User sends login information. Check if username and password is ...

please can anyone check this while loop and if condition

<?php $con=mysql_connect("localhost","mts","mts"); if(!con) { die( unable to connect . mysql_error()); } mysql_select_db("mts",$con); /* date_default_timezone_set ("Asia/Calcutta"); $date = ...

定值美元

如何确认来自正确来源的数字。

Generating a drop down list of timezones with PHP

Most sites need some way to show the dates on the site in the users preferred timezone. Below are two lists that I found and then one method using the built in PHP DateTime class in PHP 5. I need ...

Text as watermarking in PHP

I want to create text as a watermark for an image. the water mark should have the following properties front: Impact color: white opacity: 31% Font style: regular, bold Bevel and Emboss size: 30 ...

How does php cast boolean variables?

How does php cast boolean variables? I was trying to save a boolean value to an array: $result["Users"]["is_login"] = true; but when I use debug the is_login value is blank. and when I do ...

热门标签