深圳全飞鸿

 找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
查看: 619|回复: 2
打印 上一主题 下一主题

Radphp的MLink控件分析

[复制链接]

800

主题

1379

帖子

7704

积分

版主

Rank: 7Rank: 7Rank: 7

积分
7704
跳转到指定楼层
楼主
发表于 2020-9-1 10:27:57 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
MLink components are rendered as buttons but act as links

Control the Theme and color variation of a group of MLink with the MobileTheme component associated to them.
Change the SystemIcon to a different icon.
Change the IconPos value to set where the icon will be placed.
Select your own Icon
Indicate that the linked page will not load using Ajax with noAjax.
Stablish the Transition used when loading the linked page.
Setting OpenDialog to true will open the linked page as a dialog.

回复

使用道具 举报

800

主题

1379

帖子

7704

积分

版主

Rank: 7Rank: 7Rank: 7

积分
7704
沙发
 楼主| 发表于 2020-9-1 10:34:19 | 只看该作者
trSlide trSlideup trSlideDown trPop trFade trFlip
回复 支持 反对

使用道具 举报

800

主题

1379

帖子

7704

积分

版主

Rank: 7Rank: 7Rank: 7

积分
7704
板凳
 楼主| 发表于 2020-9-1 11:13:04 | 只看该作者
MLink的默认执行过程:

请求:
  1. GET /unit10.php HTTP/1.1
  2. Host: 192.168.111.128:3571
  3. Connection: keep-alive
  4. Accept: text/html, */*; q=0.01
  5. X-Requested-With: XMLHttpRequest
  6. User-Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36
  7. Referer: [url]http://192.168.111.128:3571/unit9.php?XDEBUG_SESSION_START=d4p&XDEBUG_PROFILE_STOP=1&restore_session=1
  8. Accept-Encoding:[/url] gzip, deflate
  9. Accept-Language: zh-CN,zh;q=0.9
  10. Cookie: XDEBUG_SESSION=d4p; PHPSESSID=06dekekjfq57msu6adtvha8v41
复制代码


返回:
  1. HTTP/1.1 200 OK
  2. Date: Tue, 01 Sep 2020 02:55:55 GMT
  3. Server: Apache/2.2.15 (Win32) PHP/5.2.14
  4. X-Powered-By: PHP/5.2.14
  5. Expires: Thu, 19 Nov 1981 08:52:00 GMT
  6. Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
  7. Pragma: no-cache
  8. Content-Length: 2340
  9. Keep-Alive: timeout=5, max=98
  10. Connection: Keep-Alive
  11. Content-Type: text/html; charset=utf-8

  12. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  13. <html xmlns="http://www.w3.org/1999/xhtml" DIR=ltr >
  14. <head>.<title>MPage10</title>
  15. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  16. <meta name="viewport" content="width=320,user-scalable=yes,initial-scale=1, minimum-scale=1, maximum-scale=1">
  17. <script src="/rpcl-bin/jquerymobile/js/base64.js"></script>
  18. <script src="/rpcl-bin/jquerymobile/js/jquery-1.6.1.min.js"></script>
  19. <script src="/rpcl-bin/jquerymobile/js/functions.js"></script>
  20. <script>
  21. jQuery(document).bind('mobileinit', function(){
  22.         jQuery.noConflict();
  23.         jQuery.extend(jQuery.mobile , {
  24.                         loadingMessage: 'Loading',
  25.                         pageLoadErrorMessage: 'Error Loading Page',
  26.                         autoInitialize: true,
  27.                         defaultTransition: 'slide'.  });
  28.         });
  29. </script>
  30. <script src="/rpcl-bin/jquerymobile/js/jquery.mobile-1.0b1.js"></script>
  31. <link rel="stylesheet" href="/rpcl-bin/jquerymobile/css/jquery.mobile-1.0b1.css" />
  32. <link rel="stylesheet" href="/rpcl-bin/jquerymobile/css/jquery.general.css" />
  33. </head>
  34. <body  style=" margin-left: 0px;  margin-top: 0px;  margin-right: 0px;  margin-bottom: 0px; "  >
  35. <div data-role="page"  id="MPage10_page"  >
  36. <link rel="stylesheet" href="/unit10.php?header_file=css" />
  37. <script src="/unit10.php?header_file=js"></script>
  38. <form style="margin-bottom: 0" id="MPage10" name="MPage10" method="post"   target="_self"  action="/unit10.php">
  39. <input type="hidden" name="serverevent" value=""><input type="hidden" name="serverparams" value="">
  40. <input type="hidden" name="MEdit1_hidden" value="">
  41. <table  width="320"   style="height:480px"  border="0" cellpadding="0" cellspacing="0"  ><tr><td valign="top">
  42. <div id="MButton1_outer" style="Z-INDEX: 0; LEFT: 40px; WIDTH: 88px; POSITION: absolute; TOP: 32px; HEIGHT: 72px">
  43. <input type="submit" name="MButton1" value="MButton1"  style="  cursor: default;height:72px;width:88px;"   tabindex="0"  id="MButton1"   />
  44. </div>
  45. <div id="MEdit1_outer" style="Z-INDEX: 1; LEFT: 24px; WIDTH: 184px; POSITION: absolute; TOP: 128px; HEIGHT: 72px">
  46. <input type="text" id="MEdit1" onchange="return MEdit1_updatehidden(event)" name="MEdit1" value="" style="  cursor: default;width:184px;height:71px;"    tabindex="0"     />
  47. </div>
  48. </td></tr></table>
  49. </form></div>
  50. </body>
  51. </html>
  52. <!-- MPage10 end -->
复制代码



后面还有:
GET /unit10.php?header_file=css HTTP/1.1..Host: 192.168.111.128:3571..Connection: keep-alive..User-Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36..Accept: text/css,*/*;q=0.1..Referer: http://192.168.111.128:3571/unit9.php?XDEBUG_SESSION_START=d4p&XDEBUG_PROFILE_STOP=1&restore_session=1..Accept-Encoding: gzip, deflate..Accept-Language: zh-CN,zh;q=0.9..Cookie: XDEBUG_SESSION=d4p; PHPSESSID=06dekekjfq57msu6adtvha8v41....

GET /unit10.php?header_file=js&_=1598928956162 HTTP/1.1..Host: 192.168.111.128:3571..Connection: keep-alive..Accept: text/javascript, application/javascript, application/ecmascript, application/x-ecmascript, */*; q=0.01..X-Requested-With: XMLHttpRequest..User-Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36..Referer: http://192.168.111.128:3571/unit9.php?XDEBUG_SESSION_START=d4p&XDEBUG_PROFILE_STOP=1&restore_session=1..Accept-Encoding: gzip, deflate..Accept-Language: zh-CN,zh;q=0.9..Cookie: XDEBUG_SESSION=d4p; PHPSESSID=06dekekjfq57msu6adtvha8v41....


HTTP/1.1 200 OK..Date: Tue, 01 Sep 2020 02:55:56 GMT..Server: Apache/2.2.15 (Win32) PHP/5.2.14..X-Powered-By: PHP/5.2.14..Expires: Thu, 19 Nov 1981 08:52:00 GMT..Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0..Pragma: no-cache..Content-Length: 230..Keep-Alive: timeout=5, max=100..Connection: Keep-Alive..Content-Type: application/javascript
function MEdit1_updatehidden(event)
{
        edit=findObj('MEdit1');
        hidden=findObj('MEdit1_hidden');
        hidden.value=edit.value;
}  
      



HTTP/1.1 200 OK..Date: Tue, 01 Sep 2020 02:55:56 GMT..Server: Apache/2.2.15 (Win32) PHP/5.2.14..X-Powered-By: PHP/5.2.14..Expires: Thu, 19 Nov 1981 08:52:00 GMT..Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0..Pragma: no-cache..Content-Length: 0..Keep-Alive: timeout=5, max=97..Connection: Keep-Alive..Content-Type: text/css;charset=utf-8....


回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|小黑屋|nagomes  

GMT+8, 2025-5-5 04:51 , Processed in 0.028098 second(s), 20 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表