小编Par*_*jee的帖子

我怎样才能将HTML5本地存储迁移到mediaWiki中

我已经探索过网络但无法找到HTML5本地存储中的数据如何在我的Wiki中显示为内容?我的目标是,如果我必须将任何数据放在我的HTML5代码的本地存储中,它应该显示在我的Wiki页面上.我怎么能把这两者联系起来(HTML5/JS和MediaWiki)?我的HTML 5代码为

<!DOCTYPE HTML>
<html>
   <head>
      <title> HTML5 localStorage (name/value item pairs) demo </title> 

      <style>

          td, th {
              font-family: monospace;
              padding: 4px;
              background-color: #ccc;
          }
          #hoge {
              border: 1px dotted blue;
              padding: 6px;
              background-color: #ccc;
              margin-right: 50%;
         }
         #items_table {
              border: 1px dotted blue;
              padding: 6px;
              margin-top: 12px;
              margin-right: 50%;
         }
         #items_table h2 {
             font-size: 18px;
             margin-top: 0px;
             font-family: sans-serif;
         }
         label {
             vertical-align: top;
         }
        </style>

     </head>

  <body onload="doShowAll()" >

  <h1> HTML5 localStorage (name/value item pairs) demo</h1>

  <form name=editor> …
Run Code Online (Sandbox Code Playgroud)

javascript html5 mediawiki local-storage

-8
推荐指数
1
解决办法
526
查看次数

标签 统计

html5 ×1

javascript ×1

local-storage ×1

mediawiki ×1