Difference between revisions of "How to make websites 3DS formatted/fitted"

From 3dbrew
Jump to navigation Jump to search
m
m
Line 1: Line 1:
Hello. I am ジョシ (Joshi, aka Joshi 3DS and [http://joshi3dsforums.do.am Joshi 3DS Forums] admin gjdog), the creator of [http://joshi3ds.do.am Joshi 3DS], and I am here to teach you how to make your website 3DS compatible (although it may turn out to be sized as if it's DSi compatible). Here's a website "full" HTML code example:
+
Hello. I am &#12472;&#12519;&#12471; (Joshi, aka Joshi 3DS and [http://joshi3dsforums.do.am Joshi 3DS Forums] admin gjdog), the creator of [http://joshi3ds.do.am Joshi 3DS], and I am here to teach you how to make your website 3DS compatible (although it may turn out to be sized as if it's DSi compatible). Here's a website "full" HTML code example: <html>
 
+
<meta name="viewport" content="width=400">
<html><br />
+
  <title>YOUR TITLE</title>
<meta name="viewport" content="width=400"><br />
+
  <head>
<title>YOUR TITLE</title><br />
+
  <style>
<head><br />
+
  body{margin:0;}
<style><br />
+
  &#35;topscreen{width:400;height:220;overflow:hidden;}
body{margin:0;}<br />
+
  &#35;bottomscreen{width:320;height:212;overflow:hidden;margin:0 auto;}
&#35;topscreen{width:400;height:220;overflow:hidden;}<br />
+
  </style>
&#35;bottomscreen{width:320;height:212;overflow:hidden;margin:0 auto;}<br />
+
  </head>
</style><br />
+
  <body>
</head><br />
+
  &lt;div id="topscreen">TOP SCREEN CONTENT</div>
<body><br />
+
  &lt;div id="bottomscreen">BOTTOM SCREEN CONTENT</div>
&lt;div id="topscreen">TOP SCREEN CONTENT</div><br />
+
  <script>
&lt;div id="bottomscreen">BOTTOM SCREEN CONTENT</div><br />
+
  window.setInterval(function();{
<script><br />
+
  window.scrollTo(40,220);
window.setInterval(function();{<br />
+
  }, 50);
window.scrollTo(40,220);<br />
+
  </script>
}, 50);<br />
+
</body>
</script><br />
 
</body><br />
 
 
</html>
 
</html>
  

Revision as of 05:07, 21 November 2012

Hello. I am ジョシ (Joshi, aka Joshi 3DS and Joshi 3DS Forums admin gjdog), the creator of Joshi 3DS, and I am here to teach you how to make your website 3DS compatible (although it may turn out to be sized as if it's DSi compatible). Here's a website "full" HTML code example: <html>

<meta name="viewport" content="width=400">
 <title>YOUR TITLE</title>
 <head>
 <style>
 body{margin:0;}
 #topscreen{width:400;height:220;overflow:hidden;}
 #bottomscreen{width:320;height:212;overflow:hidden;margin:0 auto;}
 </style>
 </head>
 <body>

<div id="topscreen">TOP SCREEN CONTENT <div id="bottomscreen">BOTTOM SCREEN CONTENT

 <script>
 window.setInterval(function();{
 window.scrollTo(40,220);
 }, 50);
 </script>
</body>

</html>

Note: "margin:0 auto;" means that the content in the area of the section that "margin:0 auto;" is in, will be automatically centered. BTW the script at the bottom auto-scrolls the page, even if you scroll elsewhere.


ウッド ジョシュア (Facebook) | ジョシ™ (Twitter)