Ah bugger!
Posted on January 22nd, 2007 at 6:46 pm by Andrew
Well it looks like my posts are gonna be a lot less now. I’ve not posted in the past couple of days because I’ve been trying to fix FireFox (not my favourite browser) because Opera isn’t 100% compatible with the Wysiwyg (spelling?) editor on word press. So I set the edit page as my homepage on FF, it’s good for nothing else. Anyway, I tried installing FF2 and now it crashes whenever i try to run it so looks like I’m stuck with plain version on Opera, not terrible but a bit annoying. (IE out of the question of course).
Ah well
Lizard pic
Posted on January 19th, 2007 at 5:11 pm by Andrew
Just grabbed another piccy of said lizard:
/newimage/
Posted on January 18th, 2007 at 11:16 pm by Andrew
myLBFH.co.uk/newimage/ has celebrated its 2000th file upload by removing half it’s site layout! It is now even quicker and easier to upload there and all file types (even php!) are accepted with a file limit for 50megs - to increase soon!
For information on how to integrate the image hosting onto your site like askwil.org and rsalliance.co.uk, please contact me.
/newimage/ is the only image host I know with absolutely no advertising anywhere on site!
RuneScape World Switcher
Posted on January 18th, 2007 at 11:11 pm by Andrew
Following recent rule changes I thought I'd see just how difficult it was to comply with the standards now set by rule 7 on RS, here's a little code I came up with:
PHP:
-
<script type="text/javascript">
-
function selectURL(nexturl) {
-
if (nexturl != "") {
-
window.top.frames['main'].location.href = nexturl;
-
target="main";
-
}
-
}
-
</script>
-
<style>
-
.topic {
-
color: #fff;
-
font-weight: bold;
-
background-color: blue;
-
}
-
-
-
color: #000;
-
background-color: #dfdfdf;
-
}
-
</style>
-
<center>
-
<form action="#" method="post">
-
<select onchange="selectURL(this.options[this.selectedIndex].value);">
-
<option selected value="">Select world...</option>
-
<option class="topic" value="">Free</option>
-
<?
-
$free = listRuneScapeWorlds("free");
-
-
$i = 0;
-
for($i=0;$i<count($free);$i++)
-
{
-
-
";
-
}
-
?>
-
<option class="topic" value="">Members</option>
-
<?
-
$members = listRuneScapeWorlds("members");
-
$i = 0;
-
for($i=0;$i<count($members);$i++)
-
{
-
-
";
-
}
-
?>
-
-
</select>
-
</form>
-
-
-
<?
-
function listRuneScapeWorlds($membersOrFree)
-
{
-
$type = ($membersOrFree == "free") ? "Free" : "Members";
-
$page = "http://www.runescape.com/lang/en/aff/runescape/serverlist.ws?lores.x=1&plugin=0&order=WMPL";
-
-
-
-
<td class="'.$type.'">(.*)</td>
-
<td>#Uis', $page, $worlds);
-
$worlds[1] =
preg_replace('/<a href="/',
'<option class="link" value="',
$worlds[1]);
-
-
$worlds[1] =
preg_replace('/World/',
'» World',
$worlds[1]);
-
-
return $worlds[1];
-
}
-
?>
All you need is a frame labelled "main" and it'll load the pages there - either that or do it on top (but RS might try to stop you). This is legal as it doesn't show any full sites and is pretty. Javascript from internet.com
Bleach!
Posted on January 18th, 2007 at 10:59 pm by Andrew
Oooh bleach is such good fun! Rather than a blog, this is more of an appeal:
Could anyone with any bleach DVDs please contact me on MSN or by email using the details on the contact page.
Thanks,
Andrew!
(those who are confuddled: http://youtube.com/results?search_query=bleach+episode+1&search=Search)
Speed test :D
Posted on January 18th, 2007 at 10:53 pm by Andrew
I found this really good tool that could prove useful if you plan on opening a download site or similar:
PHP:
-
<?php
-
$maxNumKB = 1024;
-
$defNumKB = 4096;
-
if (!
isset($_GET['numKB']) ||