Javascript setAttribute() in IE6

Not all cases of the setAttribute() function work in IE6. Take the case of a sample code below

link = document.createElement('a');
link.innerText = 'remove';
link.textContent = 'remove';
link.href = 'javascript://';
link.setAttribute('onclick', 'myfunc()');

When you click on the link element labeled ‘removed’, it will not work. Later versions of IE do work as well as Mozilla browsers. If you did this kind of code, it would be better for you to write the whole element tag in a span or div’s innerHTML.

Like what you see? Buy me a cup of coffee. Or subscribe to my feeds.


(No Ratings Yet)
 Loading ...

Javascript getElementsByName() Not Supported In IE6

Cross browser issues are a pain in the butt. And I just found out that the getElementsByname() function doesn’t work in IE6. It works fine in Firefox, Google Chrome and later versions of IE but you will have no luck in IE6. Whatever you want to do using that function, if you want to take IE6 into consideration, then you will have to do other workarounds to make what you want to work. I wonder why until now they did not introduce a getElementsById() function …

Like what you see? Buy me a cup of coffee. Or subscribe to my feeds.


(No Ratings Yet)
 Loading ...

Spore Origins For iTouch

One of the games that I’m playing now is Spore Origins, from Electronic Arts. The iTouch version only has an arcade mode and no multiplayer feature. Meaning, you’re stuck playing it alone rather than enjoying playing together (or against other players?). The gameplay looks similar to Feeding Frenzy where your fish creature eats other smaller creatures while avoiding the bigger ones. Fill up the meter and the level is finished. The same goes with Spore Origins although in this game, you are a microbe eating other smaller microbes and avoiding the bigger ones. The game is not limited to a few levels. The graphics are good plus the game lets you modify your spore like color among others, though quite limited. Overall, it is a good arcade game for me.

Like what you see? Buy me a cup of coffee. Or subscribe to my feeds.


(No Ratings Yet)
 Loading ...

Jewel Quest For iTouch

I just finished Jewel Quest yesterday after getting hooked to it after understanding how everything works. It is a good game that’s similar in standard game play like Bejeweled but having a different twist. To start off, you are presented with a board of jewels and to score and finish your goal, you would have to match 3 or more jewels horizontally and/or vertically much like how you play it in Bejeweled. Now, here’s the twist. Once you match jewels, the square area that they are placed in, turns to gold. The object of the game is to turn all squares in the board into gold and you’re off to the next round. Easy? At first, yes. But as the game goes on, new levels introduce you to new twists like coins (image on the right), which I never understood what it really does until I was almost a few levels to the end of the game. Another twist in the game is having rocks instead of jewels that show a little color at first (small image on the left). What this means is that you actually need to pair this one with the same colored jewel in order to match it. I never understood how those rocks worked until when I was almost done with the game. I’m not sure if there is a game over i this game because with the number of times that I did not clear the board, I was sure that I ran out of lives haha. You will also encounter monkey faces which means that if you match them together, if the square area is already gold, it turns back to its original color and you would have to make it gold again, delaying your goal. Both coins and monkeys disappear when they reach the bottom of the board. If you do match up coins together, you get a coin bonus which you can use to color a square area gold if you see time is running out and you cannot do any matches anywhere near the square area. The game is easy to play if only the board is proportion horizontally and vertically. Problem is, the board changes shape on each level, and your goal gets harder (photo on the right is not from the iTouch version, but you get the idea).

Like what you see? Buy me a cup of coffee. Or subscribe to my feeds.


(No Ratings Yet)
 Loading ...