Pages: Prev 1 2 Next
Checking status updater

Twitter and Facebook should be updated


Why does x^0 equal 1?

Since basic school we know, that x^0=1, but only recently when our kids began to study mathematics we asked ourselves "why?".

I came up with this explanation:

x^0=x^{n-n}=x^n \times x^{-n}=\frac {x^n} {x^n}=1

Also a good test for the Easy LaTeX WordPress plug-in.

And here's jsxgraph plug-in test:
[read more...]


How to get out of frames
<script type="text/javascript">
<!–
if (top.location.href != self.location.href) top.location.href = self.location.href;
–>
</script>

Jion – tutorial

Jion (normal + slow speed) performed by Hirokazu Kanazawa, Ogura.
[read more...]


External searching in mybb

Sometimes you need to integrate web-pages with corresponding forum threads. Here's one of the way to do it.

<?php
$keywords="MyBB integration"; // The search keywords
?>
<!– The path to mybb search.php –>

<form method="post" action="http://www.yoursite.com/mybb/search.php">
<input type="hidden" name="action" value="do_search" />
<input type="hidden" name="keywords" value="<?php echo $keywords; ?>" />
<!– search titles only –>
<input type="hidden"  name="postthread" value="2" />
<!– Search in all forums –>
<input type="hidden" name="forums[]" size="15" multiple="multiple" value="all">
<!– All dates –>
<input type="hidden" name="postdate" value="0">
<input type="hidden" name="pddir" value="1" />
<input type="hidden" name="sortby" value="lastpost">
<input type="hidden" name="sortordr" value="asc" />
<!– the result will be threads, not posts –>
<input type="hidden" name="showresults" value="threads" />
<input type="submit" class="button" name="submit" value="Forum" />
</form>

How to remove frames

One of the methods to break out of frames:

<script type="text/javascript">
<!–
if (top.location.href != self.location.href)
top.location.href = self.location.href;
// –>
</script>

Troubleshooting SmartMenus

If SmartMenus submenus are not shown and the error console shows you the following error:

o is undefined line 16
in /smartmenus/c_smartmenus.js

Most likely the slash is missing in a closing tag (e.g. in </li> ) in the menu file.


WordPress upgrade

WordPress has been successfully upgraded to the latest version – 2.6


WordPress 2.5

WordPress 2.5 has been released! Installed! And? Does it work? Basically yes. But…
[read more...]


Yes, I know, the design and navigation are broken…
  • Explorer < 7.0 does not understand CSS "position: fixed" – Use Firefox! ;-)
  • It's a scratch pad after all!
  • will fix it sooner or later when I have time ;-)

Pages: Prev 1 2 Next