Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Sorunome

Pages: 1 ... 11 12 [13]
181
Web Programming and Design / Webdeveloping Questions
« on: April 03, 2012, 08:14:04 am »
Ok, I decided to launch a thread with webdeveloping questions as I have so many questions....I just like programming stuff for my website :D
Well, first of all, is it possible to open a link in a new tab with Javascript?
Second...Well, I want to store pics in an array (Javascript), the pics are the canvas pics, it is generated dynamic by php, and  want that the nexxt pic won't start loading before the one before was finished.
I wrote this:

Code: [Select]
<?php 
if ($handle opendir($folder))
{
echo "pics = new Array();";
$pics = array();
while (false !== ($entry readdir($handle)))
{
if (preg_match("/[^\.].*\.(jpg|jpeg|png|gif)$/i"$entry))
{
array_push($pics,$entry);
}
}
closedir($handle);
sort($pics);
$j 0;
foreach ($pics as &$pic)
{
echo "function pic$j () {
pics[
$j] = new Image();
pics[
$j].src = &#39;$folder/$pic&#39;;
pics[
$j].";$j++;echo"addEventListener(&#39;load&#39;,pic".$j.",false);
}\n"
;
}
echo "function pic".$j." () {};\n\n\n";
}
?>
Well, the errorkonsole of firefox gives me this:
[14:06:08.411] uncaught exception: [Exception... "The type of an object is incompatible with the expected type of the parameter associated to the object"  code: "17" nsresult: "0x80530011 (NS_ERROR_DOM_TYPE_MISMATCH_ERR)"  location: "[no need to know]"]
Please help me!

182
Web Programming and Design / Javascript execution order
« on: April 02, 2012, 06:25:51 am »
I got a little problem.
I have two elements that call javascript-stuff, one with onmouseout, one with onmouseover.
They are drawn ontop of each other, so if I enter the upper one with the mouse of the lower one onmouseout is called and then afterwards of the topper one onmouseover. I need to change the order of how that happens, please help me!

183
Web Programming and Design / Javascript mousetest
« on: April 01, 2012, 02:47:44 pm »
Well, I got this problem with javascript, I have to test if the mouse is over a element, but it must be in a if-condition.
Somehow this doesn't work: if (!document.getElementById('buttons').onmouseover)
Please help me!

184
Web Programming and Design / HTML <iframe> question.
« on: April 01, 2012, 05:47:42 am »
Hey, I got a quick question to <iframe>.
Well, I have something like <iframe src="http://www.blah.com/blubb.html"></iframe>
And now in http://www.blah.com/blubb.html is somewhere something like this: <a href="http://www.example.com">blahblahblah</a>
If I press now the link the other internetpage just opens inside the iframe but I want it to change the hole page. I hope you get what I mean, and please help me! (Or is that only possible with javascript so it is launched in a new tab?) :)

185
Web Programming and Design / PHP opendir() of an external page
« on: March 31, 2012, 05:07:15 am »
Hey, I wanted to know if, and if how, it is possible to opendir() of an external page, e.g. http://www.google.com

186
Web Programming and Design / Javascript integerpart
« on: January 21, 2012, 05:42:21 am »
How do you get the integerpart of a variable?
so that 1.9 would also be 1
thanks for help!

187
Other / Knex Ball Machine Catastropha
« on: January 18, 2012, 02:27:08 pm »
Some of you may already know that I was constructing a humongous knex ball machine. For those who don't, well, it's large!
And I finally managed to finish it after more than one year of constructing.
Well, for the full description and the full picture gallery please visit http://www.sorunome.de/knex/ballmachines/catastropha/
And here's the vid!

188
TI Z80 / [Contest] Mino v2.0 - Grammer
« on: November 23, 2011, 03:04:50 pm »
Well, this is my contest entry for cemetech contest, version 2.0 of my program mino, this time in grammer!

mino version 1 can be found here!


189
Other Calculators / Grammer Tetris Version 1.0
« on: November 22, 2011, 03:28:11 pm »
Grammer Tetris Version 1.0



http://www.omnimaga.org/index.php?action=downloads;sa=view;down=747

This is the first Tetris made in Grammer!
I think I don't habe to explain what Tetris is :P
Grammer is enclosed.
Check out the screenie an enjoy playing! :)

190
Computer Usage and Setup Help / Memory recovery
« on: November 03, 2011, 04:40:51 am »
Hi, unfortunately my hard-drive is somehow now broken and I have important Data on it. Well, I wanted to ask if it is possible to somehow still recover the Memory, so I can still et to this Data.
While booting it says either that it can't find the hard-drive or it boots into grup and there it can't find the hard-drive. I also tried to boot with a ubuntu live-cd and then recover there the memory with GParted and that also couldn't detect a hard-drive.
Please help me!

191
TI Z80 / Grammer Tetris
« on: October 23, 2011, 02:41:05 pm »
Hi, I have started some days ago programming Tetris in grammer! Some of you may have noticed me talking about it on chat. Well, for those who don't: I have already pretty much done, I think I'll have the beta up soon!
What I have already done:
 - all blocks, you can rotate them
 - checks that you can't go to far left/right
 - checks that you cant go through other blocks
 - checks whether the block hits the bottom or a other block
 - the possibility for fast down (pressing down-button)
 - automatic go down

Things I have to add for the beta:
 - check whether a line is complete
 - make that line go away
 - check whether you lost
 - put in that it is random what figure appears (easy, just one line of code! :D)
 - take out the possibility to change the figure by pressing 2ND :D :D :D

Things I then STILL have to do for the full version:
 - score
 - make it go down faster after some time
 - menu
 - high-score list
 - display the next block
( - some other cool features!)

Sorry, I don't have any screenies yet. I don't know if I will even make any before the betta. Please tell what you think about it! :)

192
General Calculator Help / Omnicalc problem
« on: October 14, 2011, 10:31:06 am »
I got two problems with omnicalc: I can't set things into the VARS-Menu, if I press in catalog ON+NUMBER it just doesn't put it into the menu, and the ENTRIES-MENU doesn't work, if there is more than one entry the screen looks crazy and then the ram is cleared. Please help me!
EDIT: It doesn't even work anymore with one entry... :S

193
Introduce Yourself! / Hi
« on: October 03, 2011, 01:22:46 pm »
I forgot to introduce me! :S Well, I'm new here since a few days. Some of you may know me from cemetech. I am currently programming a RPG in Axe link! I programmed a lot in Basic with libs, but I don't know if I'll ever do that again, because Axe is so awesome! Well, what I do except of programming..... I am currently constructing a ball machine out of Knex (ok, I started that one last year in October Cheesy) Oh, and I am German! Smiley

194
TI Z80 / The Quest RPG: Programming progress
« on: October 01, 2011, 01:27:02 pm »
Hi there, some of you may have noticed back on cemetech, that I started to program a roll-playing game in axe with 3-shades of grey. Here's a screenshot:

Pages: 1 ... 11 12 [13]