Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

A unique ID for the weblet. This property is required. It allows the weblet to be directly referenced by Google Map API. The value must be unique within the page.ウェブレットの一意のIDです。このプロパティは必須です。このプロパティを使うことで、ウェブレットで Google マップ API が直接参照できるようになります。値はページ内で一意でなければいけません。

Note
Note: jQuery Mobile loads pages using Ajax and inserts them into the current page, optionally performing an animation as it does. This means that the content for two webroutines may both exist in a page for a brief period of time. If both webroutines contain a weblet with the same ID and you have any custom CSS or JavaScript that references the weblet during this period of time you may get unexpected results. For this reason, you should aim to make an ID globally unique. One way of doing this is by concatenating the name of the webroutine to the "name" of the map.

Default value

Generated value.

Valid values

...

注意: jQuery Mobileは、Ajaxを使ってページをロードし、オプションとしてアニメーションを実行しながら、ページを現在のページに挿入します。これは、2つのウェブルーチンのコンテンツが1つのページ内に短時間存在する場合があることを意味します。両方のウェブルーチンが同じIDを持つウェブレットを含み、ユーザーがこの時間にウェブレットを参照するカスタムCSSもしくはJavaScriptを持つ場合、予期せぬ結果を招くことがあります。ですから、グローバルに一意の ID を作成するようにしてください。この方法の1つは、マップの"name"とWebroutineの名前を連結することです。

デフォルト値

生成された値

有効値

ID 属性の有効な文字と書式のルールはサポートする HTMLのバージョンにより異なります。具体的詳細については、適切な仕様を参照してください。http://www.w3.org/

To ensure compatibility with all versions of HTML, CSS and JavaScript libraries such as jQuery, you should stick to the following rules:

...

HTML、CSS、jQueryなどのJavaScriptライブラリの全バージョンとの互換性を保つには、次のルールに従ってください。

  • A-Z

...

  • もしくは a-z

...

  • の文字で始めます。
  • その後は文字(A-Za-z)

...

  • 、数字 (0-9)

...

  • 、ハイフン ("-")

...

  • およびアンダースコア("_")

...

  • で続けることができます。