{"id":1431,"date":"2020-04-03T20:15:45","date_gmt":"2020-04-03T16:45:45","guid":{"rendered":"https:\/\/behnudi.ir\/?p=1431"},"modified":"2024-09-01T12:17:23","modified_gmt":"2024-09-01T08:47:23","slug":"impress-js-intro-2","status":"publish","type":"post","link":"https:\/\/behnudi.ir\/?p=1431","title":{"rendered":"\u0622\u0634\u0646\u0627\u06cc\u06cc \u0628\u0627 impress.js"},"content":{"rendered":"<p>\u0628\u0631\u0627\u06cc \u062f\u0631\u06a9 \u0628\u0647\u062a\u0631 \u0627\u06cc\u0646\u06a9\u0647 \u0627\u06cc\u0646 \u067e\u0627\u0631\u0627\u0645\u062a\u0631\u0647\u0627 \u0686\u06af\u0648\u0646\u0647 \u06a9\u0627\u0631 \u0645\u06cc \u06a9\u0646\u0646\u062f. \u0645\u0642\u062f\u0627\u0631 \u0622\u0646\u0647\u0627 \u0631\u0627 \u062a\u063a\u06cc\u06cc\u0631 \u062f\u0647\u06cc\u062f. \u0648 \u0646\u062d\u0648\u0647 \u0639\u0645\u0644\u06a9\u0631\u062f \u0647\u0631\u06cc\u06a9 \u0631\u0627 \u0628\u0628\u06cc\u0646\u06cc\u062f.<!--more--><\/p>\n<hr \/>\n<p>\u0641\u0627\u06cc\u0644\u200c\u0647\u0627\u06cc \u067e\u0631\u0632\u0646\u062a\u06cc\u0634\u0646 impress.js \u062f\u0631 \u062d\u0642\u06cc\u0642\u062a \u06cc\u06a9 \u0641\u0627\u06cc\u0644 HTML \u0627\u0633\u062a. \u06a9\u0647 \u0628\u0631\u0627\u06cc \u062c\u0627\u0628\u062c\u0627\u06cc\u06cc \u0628\u06cc\u0646 \u0627\u0633\u0644\u0627\u06cc\u062f\u0647\u0627 \u0627\u0632 \u06a9\u062a\u0627\u0628\u062e\u0627\u0646\u0647 \u062c\u0627\u0648\u0627\u0627\u0633\u06a9\u0631\u06cc\u067e\u062a impress.js \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc\u200c\u06a9\u0646\u062f. \u0631\u0648\u0634 \u0627\u06cc\u0646 \u0646\u0631\u0645 \u0627\u0641\u0632\u0627\u0631 \u0628\u062f\u06cc\u0646 \u06af\u0648\u0646\u0647 \u0627\u0633\u062a \u06a9\u0647 \u0646\u0648\u0634\u062a\u0647\u200c\u0647\u0627\u060c \u062a\u0635\u0627\u0648\u06cc\u0631\u060c \u0646\u0645\u0648\u062f\u0627\u0631\u0647\u0627 \u0648 \u0628\u0642\u06cc\u0647 \u0686\u06cc\u0632\u0647\u0627 \u062f\u0631 \u0641\u0636\u0627\u06cc \u0633\u0647\u200c\u0628\u0639\u062f\u06cc \u062f\u0631 \u0647\u0631 \u0632\u0627\u0648\u06cc\u0647\u200c\u0627\u06cc \u0648 \u0628\u0627 \u0647\u0631 \u0627\u0646\u062f\u0627\u0632\u0647 \u0628\u0632\u0631\u06af\u0646\u0645\u0627\u06cc\u06cc \u06a9\u0647 \u0628\u062e\u0648\u0627\u0647\u06cc\u062f \u0642\u0631\u0627\u0631 \u0645\u06cc\u200c\u062f\u0647\u06cc\u062f \u0648 \u0628\u06cc\u0646\u0646\u062f\u0647 \u0631\u0627 \u0628\u06cc\u0646 \u0622\u0646\u0647\u0627 \u062d\u0631\u06a9\u062a \u0645\u06cc\u200c\u062f\u0647\u06cc\u062f \u0648 \u0622\u0646\u0647\u0627 \u0631\u0627 \u06cc\u06a9 \u0628\u0647 \u06cc\u06a9 \u0646\u0645\u0627\u06cc\u0634 \u0645\u06cc\u200c\u062f\u0647\u06cc\u062f.<\/p>\n<p>\u0628\u0631\u0627\u06cc \u0627\u06cc\u0646 \u06a9\u0627\u0631 \u0627\u0628\u062a\u062f\u0627 \u06cc\u06a9 \u0641\u0627\u06cc\u0644 HTML \u0628\u0627 \u0633\u0627\u062e\u062a\u0627\u0631 \u0632\u06cc\u0631 \u062f\u0631\u0633\u062a \u06a9\u0646\u06cc\u062f:<\/p>\n<pre><code class=\"html\">&lt;!DOCTYPE html&gt;\r\n&lt;html&gt;\r\n&lt;head&gt;\r\n&lt;meta charset=\"UTF-8\"&gt;\r\n&lt;title&gt;Insert title here&lt;\/title&gt;\r\n&lt;meta name=\"viewport\" content=\"width=1024\" \/&gt;\r\n&lt;meta name=\"apple-mobile-web-app-capable\" content=\"yes\" \/&gt;\r\n&lt;link rel=\"stylesheet\" type=\"text\/css\" href=\"css\/impress.css\"&gt;\r\n&lt;\/head&gt;\r\n&lt;body class=\"impress-not-supported\"&gt;\r\n\r\n  &lt;div class=\"fallback-message\"&gt;\r\n    &lt;p&gt;Your browser &lt;b&gt;doesn't support the features required&lt;\/b&gt; \r\n    by impress.js, so you are presented with a simplified version of this presentation.&lt;\/p&gt;\r\n    &lt;p&gt;For the best experience please use the latest &lt;b&gt;Chrome&lt;\/b&gt;, &lt;b&gt;Safari&lt;\/b&gt; or &lt;b&gt;Firefox&lt;\/b&gt; browser.&lt;\/p&gt;\r\n  &lt;\/div&gt;\r\n\r\n  &lt;div id=\"impress\"&gt;\r\n\r\n<span style=\"color: #ff0000;\">    &lt;!-- Slides Location --&gt;\r\n\r\n<\/span>  &lt;\/div&gt;\r\n\r\n  &lt;div class=\"hint\"&gt;\r\n    &lt;p&gt;Use a spacebar or arrow keys to navigate. &lt;br\/&gt;\r\n    Press 'P' to launch speaker console.&lt;\/p&gt;\r\n  &lt;\/div&gt;\r\n  &lt;script&gt;\r\n    if (\"ontouchstart\" in document.documentElement) { \r\n    document.querySelector(\".hint\").innerHTML = \"&lt;p&gt;Swipe left or right to navigate&lt;\/p&gt;\";\r\n    }\r\n  &lt;\/script&gt;\r\n  &lt;script src=\"js\/impress.js\"&gt;&lt;\/script&gt;\r\n  &lt;script&gt;impress().init();&lt;\/script&gt;\r\n\r\n&lt;\/body&gt;\r\n&lt;\/html&gt;<\/code><\/pre>\n<p>\u0647\u0645\u0627\u0646\u0637\u0648\u0631 \u06a9\u0647 \u0645\u06cc\u200c\u0628\u06cc\u0646\u06cc\u062f \u0645\u062d\u0644 \u0642\u0631\u0627\u0631 \u06af\u0631\u0641\u062a\u0646 \u0627\u0633\u0644\u0627\u06cc\u062f\u0647\u0627 \u0631\u0627 \u0628\u0627 \u0631\u0646\u06af \u0642\u0631\u0645\u0632 \u0645\u0634\u062e\u0635 \u06a9\u0631\u062f\u0647\u200c\u0627\u0645.<\/p>\n<p>\u0628\u0631\u0627\u06cc \u0627\u0641\u0632\u0648\u062f\u0646 \u0647\u0631 \u0686\u06cc\u0632\u06cc \u0628\u0647 \u067e\u0631\u0632\u0646\u062a\u06cc\u0634\u0646 \u062e\u0648\u062f \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u0627\u0632 \u062a\u06af\u200c\u0647\u0627\u06cc HTML5 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f. \u0645\u062b\u0644 div, section,header,footer \u0648 \u063a\u06cc\u0631\u0647. \u0648\u0644\u06cc \u062d\u062a\u0645\u0627 \u0628\u0627\u06cc\u062f \u0622\u0646 \u0631\u0627 \u062f\u0631 \u06a9\u0644\u0627\u0633 step \u0642\u0631\u0627\u0631 \u062f\u0647\u06cc\u062f.<\/p>\n<pre><code class=\"html\">&lt;div class=\"step\"&gt;...&lt;\/div&gt;<\/code><\/pre>\n<p>\u0648 \u0628\u0631\u0627\u06cc \u062a\u0639\u06cc\u06cc\u0646 \u0645\u0648\u0642\u0639\u06cc\u062a \u0634\u06cc\u0621 \u062f\u0631 \u0641\u0636\u0627\u06cc \u0633\u0647 \u0628\u0639\u062f\u06cc\u060c \u0645\u062e\u062a\u0635\u0627\u062a \u0646\u0642\u0637\u0647 \u0645\u0631\u06a9\u0632 \u0622\u0646 \u0634\u06cc\u0621 \u0631\u0627 \u062f\u0631 \u0642\u0627\u0644\u0628 \u0633\u0647 \u067e\u0627\u0631\u0627\u0645\u062a\u0631 \u0632\u06cc\u0631 \u0645\u0634\u062e\u0635 \u06a9\u0646\u06cc\u062f:<\/p>\n<pre><code class=\"html\">&lt;div class=\"step\" data-x=\"1000\" data-y=\"1400\" data-z=\"-3000\"&gt;...&lt;\/div&gt;<\/code><\/pre>\n<p>\u0645\u0642\u062f\u0627\u0631 data-x \u0637\u0648\u0644 \u0646\u0642\u0637\u0647 \u0645\u0631\u06a9\u0632 \u0634\u06cc\u0621 \u0628\u0631 \u0631\u0648\u06cc \u0645\u062d\u0648\u0631 \u0627\u0641\u0642\u06cc \u06a9\u0647 \u0631\u0648\u06cc \u0635\u0641\u062d\u0647 \u0645\u0627\u0646\u06cc\u062a\u0648\u0631 \u0627\u0632 \u0686\u067e \u0628\u0647 \u0631\u0627\u0633\u062a \u0645\u06cc\u200c\u0628\u0627\u0634\u062f.<\/p>\n<p>\u0645\u0642\u062f\u0627\u0631 data-y \u0639\u0631\u0636 \u0646\u0642\u0637\u0647 \u0645\u0631\u06a9\u0632 \u0634\u06cc\u0621 \u0628\u0631 \u0631\u0648\u06cc \u0645\u062d\u0648\u0631 \u0639\u0645\u0648\u062f\u06cc \u06a9\u0647 \u0631\u0648\u06cc \u0635\u0641\u062d\u0647 \u0645\u0627\u0646\u06cc\u062a\u0648\u0631 \u0627\u0632 \u0628\u0627\u0644\u0627 \u0628\u0647 \u067e\u0627\u06cc\u06cc\u0646 \u0645\u06cc\u200c\u0628\u0627\u0634\u062f.<\/p>\n<p>\u0645\u0642\u062f\u0627\u0631 data-z \u0627\u0631\u062a\u0641\u0627\u0639 \u0646\u0642\u0637\u0647 \u0645\u0631\u06a9\u0632 \u0634\u06cc\u0621 \u0628\u0631 \u0631\u0648\u06cc \u0645\u062d\u0648\u0631 \u0627\u0641\u0642\u06cc \u06a9\u0647 \u0639\u0645\u0648\u062f \u0628\u0631 \u0635\u0641\u062d\u0647 \u0645\u0627\u0646\u06cc\u062a\u0648\u0631 \u0627\u0632 \u062f\u0627\u062e\u0644 \u0628\u0647 \u0628\u06cc\u0631\u0648\u0646 (\u0628\u0647 \u0633\u0645\u062a \u06a9\u0627\u0631\u0628\u0631) \u0645\u06cc\u200c\u0628\u0627\u0634\u062f.<\/p>\n<p>\u0627\u06af\u0631 \u0628\u062e\u0648\u0627\u0647\u06cc\u062f \u0634\u06cc\u0621 \u0631\u0627 \u062f\u0631 \u0645\u062d\u0644 \u062e\u0648\u062f \u0628\u0686\u0631\u062e\u0627\u0646\u06cc\u062f \u0627\u0632 \u067e\u0627\u0631\u0627\u0645\u062a\u0631\u0647\u0627\u06cc \u0632\u06cc\u0631 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f:<\/p>\n<pre><code class=\"html\">&lt;div class=\"step\" data-rotate-x=\"30\" data-rotate-y=\"60\" data-rotate-z=\"90\"&gt;...&lt;\/div&gt;<\/code><\/pre>\n<p>\u0645\u0642\u062f\u0627\u0631\u00a0data-rotate-x \u0632\u0627\u0648\u06cc\u0647 \u062f\u0648\u0631\u0627\u0646 \u062d\u0648\u0644 \u0645\u062d\u0648\u0631 x \u0627\u0633\u062a.<\/p>\n<p>\u0645\u0642\u062f\u0627\u0631\u00a0data-rotate-y \u0632\u0627\u0648\u06cc\u0647 \u062f\u0648\u0631\u0627\u0646 \u062d\u0648\u0644 \u0645\u062d\u0648\u0631 y \u0627\u0633\u062a.<\/p>\n<p>\u0645\u0642\u062f\u0627\u0631\u00a0data-rotate-z \u0632\u0627\u0648\u06cc\u0647 \u062f\u0648\u0631\u0627\u0646 \u062d\u0648\u0644 \u0645\u062d\u0648\u0631 z \u0627\u0633\u062a. (\u0628\u0631\u0627\u06cc \u0627\u06cc\u0646 \u0646\u0648\u0639 \u062f\u0648\u0631\u0627\u0646 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u0627\u0632 \u067e\u0627\u0631\u0627\u0645\u062a\u0631 data-rotate \u0646\u06cc\u0632 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0646\u0645\u0627\u06cc\u06cc\u062f.)<\/p>\n<p>\u0647\u0645\u0686\u0646\u06cc\u0646 \u0627\u06af\u0631 \u0628\u062e\u0648\u0627\u0647\u06cc\u062f \u0634\u06cc\u0621 \u0645\u0648\u0631\u062f \u0646\u0638\u0631\u062a\u0627\u0646 \u0631\u0627 \u0627\u0632 \u0627\u0646\u062f\u0627\u0632\u0647 \u0648\u0627\u0642\u0639\u06cc \u062e\u0648\u062f \u0628\u0632\u0631\u06af\u062a\u0631 \u06cc\u0627 \u06a9\u0648\u0686\u06a9\u062a\u0631 \u0646\u0645\u0627\u06cc\u06cc\u062f \u0627\u0632 \u067e\u0627\u0631\u0627\u0645\u062a\u0631 data-scale \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f.<\/p>\n<pre><code class=\"html\">&lt;div class=\"step\" data-scale=\"5\"&gt;...&lt;\/div&gt;<\/code><\/pre>\n<p>\u06af\u0641\u062a\u0646\u06cc \u0627\u0633\u062a \u06a9\u0647 \u062f\u0631 \u06cc\u06a9 \u062a\u06af \u06a9\u0644\u0627\u0633 step \u0634\u0645\u0627 \u0627\u062c\u0627\u0632\u0647 \u062f\u0627\u0631\u06cc\u062f \u0627\u0632 \u06a9\u0644\u06cc\u0647 \u0647\u0641\u062a \u067e\u0627\u0631\u0627\u0645\u062a\u0631 \u0641\u0648\u0642 \u0647\u0645\u0632\u0645\u0627\u0646 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0646\u0645\u0627\u06cc\u06cc\u062f.<\/p>\n<pre><code class=\"html\">&lt;div class=\"step\" data-x=\"0\" data-y=\"0\" data-z=\"0\" data-rotate-x=\"0\" data-rotate-y=\"0\" data-rotate-z=\"0\" data-scale=\"1\"&gt;...&lt;\/div&gt;<\/code><\/pre>\n<p>\u0648\u0644\u06cc \u0628\u0627\u06cc\u062f \u0628\u062f\u0627\u0646\u06cc\u062f \u0627\u06af\u0631 \u0647\u0631\u06cc\u06a9 \u0627\u0632 \u067e\u0627\u0631\u0627\u0645\u062a\u0631\u0647\u0627\u06cc \u0641\u0648\u0642 \u0631\u0627 \u062a\u0639\u06cc\u06cc\u0646 \u0646\u06a9\u0631\u062f\u06cc\u062f \u0645\u0642\u062f\u0627\u0631 \u067e\u06cc\u0634 \u0641\u0631\u0636 \u0622\u0646 \u062a\u0648\u0633\u0637 \u06a9\u0627\u0645\u067e\u06cc\u0648\u062a\u0631 \u062f\u0631\u0646\u0638\u0631 \u06af\u0631\u0641\u062a\u0647 \u0645\u06cc\u200c\u0634\u0648\u062f. \u0645\u0642\u062f\u0627\u0631 \u067e\u06cc\u0634\u200c\u0641\u0631\u0636 \u0647\u0645\u0647\u200c\u06cc \u067e\u0627\u0631\u0627\u0645\u062a\u0631\u0647\u0627 \u0635\u0641\u0631 \u0627\u0633\u062a \u063a\u06cc\u0631 \u0627\u0632 data-scale \u06a9\u0647 \u0645\u0642\u062f\u0627\u0631 \u067e\u06cc\u0634\u200c\u0641\u0631\u0636 \u0622\u0646 \u06cc\u06a9 \u0627\u0633\u062a.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0628\u0631\u0627\u06cc \u062f\u0631\u06a9 \u0628\u0647\u062a\u0631 \u0627\u06cc\u0646\u06a9\u0647 \u0627\u06cc\u0646 \u067e\u0627\u0631\u0627\u0645\u062a\u0631\u0647\u0627 \u0686\u06af\u0648\u0646\u0647 \u06a9\u0627\u0631 \u0645\u06cc \u06a9\u0646\u0646\u062f. \u0645\u0642\u062f\u0627\u0631 \u0622\u0646\u0647\u0627 \u0631\u0627 \u062a\u063a\u06cc\u06cc\u0631 \u062f\u0647\u06cc\u062f. \u0648 \u0646\u062d\u0648\u0647 \u0639\u0645\u0644\u06a9\u0631\u062f \u0647\u0631\u06cc\u06a9 \u0631\u0627 \u0628\u0628\u06cc\u0646\u06cc\u062f.<\/p>\n","protected":false},"author":1,"featured_media":1432,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"video","meta":{"footnotes":""},"categories":[20],"tags":[57,44],"class_list":["post-1431","post","type-post","status-publish","format-video","has-post-thumbnail","hentry","category-computer-science","tag-presentation","tag-web-design","post_format-post-format-video"],"_links":{"self":[{"href":"https:\/\/behnudi.ir\/index.php?rest_route=\/wp\/v2\/posts\/1431","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/behnudi.ir\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/behnudi.ir\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/behnudi.ir\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/behnudi.ir\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1431"}],"version-history":[{"count":0,"href":"https:\/\/behnudi.ir\/index.php?rest_route=\/wp\/v2\/posts\/1431\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/behnudi.ir\/index.php?rest_route=\/wp\/v2\/media\/1432"}],"wp:attachment":[{"href":"https:\/\/behnudi.ir\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1431"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/behnudi.ir\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1431"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/behnudi.ir\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1431"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}