小编Gui*_*ter的帖子

在PHP中创建一个图像以显示吉他和弦

我有一个网站,以文本格式显示吉他和弦/标签.这是我目前正在展示的内容:

EM:

| | | | | |
| | | | | |
| 2 2 | | |
| | | | | |
| | | | | |
Run Code Online (Sandbox Code Playgroud)

我了解GD可以为此创建动态图像.但我是PHP的新手,我不知道该怎么做.

在PHP中创建这样的东西以显示图像是否很简单?

谢谢

php image guitar music-notation

31
推荐指数
2
解决办法
1852
查看次数

jquery简报提交 - 加载消息

我有一个时事通讯表格,我在我的网站上使用ajax和jquery.我想向用户显示一条等待消息.什么是最好的选择?

继续我到目前为止所拥有的:

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"></script>
<script type="text/javascript">
$(document).ready(function() {
  $('#submit').click(function(e) {
    $.ajax({
      type: "POST",
      url: '/save.php',
      data:  $('#form').serialize(),
      cache: false,
      success: function(result) {
        // my code when success
      }
    });
  });
});

</script>

<div id="newsletter">
  <form id="form">
  <label for="email">Your Email*:</label>
  <input name="email" value="" type="text" id="email" size="30" maxlength="255" />
  <span id="submit">Submit</span>
  </form>
</div>
Run Code Online (Sandbox Code Playgroud)

谢谢

php jquery loading

12
推荐指数
2
解决办法
1682
查看次数

标签 统计

php ×2

guitar ×1

image ×1

jquery ×1

loading ×1

music-notation ×1