Tuesday, February 26, 2008

Right Side Of The Throat Hurts

10 things I hate about Star Trek Kids are very quick

10. The faint noise of the doors
You may not walk 20 feet in a starship without some door to open with a "shuuup" in front of you. Where I work we also have automatic doors. They are completely silent. If the doors do "shuuup" every time someone passed between them would have a type of financing going crazy and to go on a killing spree at least once a month. Sorry Scotty, the IEEE takes your membership until you learn to handle the WD-40.

9. The Federation
This organization gives me the creeps. A planetary government that runs everything and also abolished money. Oh, sure seems incredible when you're walking around in a Federation starship, but I wonder ... How will you feel the poor want to drive a garbage truck of the Federation? You

everyone has to wear those tight uniforms. One comment: In most people, do not want to see in tight outfits. Would you pay good money to not see them. If money had not been abolished, of course. So to fuck.

8. Reversing the Polarity. Geordi
By God! Pará to reverse the polarity of everything! It may work once in a while, but usually it ends up breaking everything. Is on good authority that the technicians of Starbase 12 hate that. Whenever the Enterprise comes to 10,000 hour checkup, they have to go the whole damn ship fixing things. "What happened to the toilet in the living room 3? "" Well, they broke the pipe and Geordi thought I could fix it by reversing the polarity "

lubrication problem between Scotty and the fucking trick of reversing the polarity of Geordi, is a miracle that the enterprise not spontaneously explode whenever the force a little.

7. Belts
Yes, I know that this is a matter recontrahablado, but one would think that the first time an EXPLOSION causes the type of fly navigation station captain on the head a few feet, someone would say, "You know, I think we could invent some future containment device to prevent this from happening again." Of course, they invented something like that for the second Enterprise (the first one broke due to poor lubrication), but it was? A hard plastic thing that snaps on to your waist, sure it must feel nice to have job.

6. There are no fuses.
Each time an electrical explosion in the Enterprise, all consoles and control stations explode in a shower of sparks and throw their operators (which have no seat belts) over Picard's head. If we could get Giordi stop reversing the polarity for a minute, we could put it to buy a couple of fuses on Starships parts store near you. And while at it, could go to IKEA or intergalactic EASY and get some chairs for the bridge. If you're going to put explosive in front of a console without fuses all day, at least you can do is let me sit down.



5. Send by committee.
This is the difference between Star Trek and one of the best SciFi shows of the last decade, Firefly:
Picard: "Armen Photones torpedoes!"
Riker: "Captain! You sure you do it?"
Troi: "Captain! Detecto conflicting feelings! Also, it seems that you're a scary cat"
Wesley: "Captain, I'm just an annoying jerk, but thought that I could say something"
Worf: "Captain, I can press the button? This whole situation is giving me an appetite for war Klingon "
Giordi:" Captain, I think that should reverse the polarity first "
Picard:" I'm so confused! I'm going to my meditation room and look thoughtful "

Firefly:
Captain:" Let's shoot "
crew member:" Are you sure, sir? "
Captain:" Tenes idea which is the string of Commander? Is the string with which I'm gonna hit you until you find out who is who commands "
crew member:" Sir, yes sir! "

4. A riddle of Star Trek:
Kirk, Spock , McCoy and the 'Ensign Perez' teleport to a planet. Who is he that will never return?

3. Tecnochamullo
a couple of nights ago, I could not start my car. I solved the problem by reversing the polarity of the battery, and redirecting the power through the satellite antenna. The resulting subspace plasma caused a rupture of space-time continuum, which created a quantum piped to the engine by protons, thus starting the car. Child's play, in fact, seriously.
As a happy side effect, now I have free HBO.

2. The Holodeck
is, is great, but really think that people would use to recreate the Sherlock Holmes mysteries and Westerns? Come on, everyone knows that the holodeck would be used. And we also know what would be the worst job in the Enterprise: Clean the Holodeck.

1. Primary Policy
How stupid is it? Remember when Marvin the Marian was going to blow up the Earth because it obstructed his vision of Venus? And as Bugs Bunny did not allow him to steal the space modulator? Well, the universe of Star Trek, Bugs would be doing time. Probably in a room full of clones of Roseanne uniforms with trousers, passing by doors that Wiit! all day. It would be hell. At least until the Bum. The terrible and destructive BUM!

Friday, January 18, 2008

Itchy Right Side Gallbladder

Illuminate HTML Table cells

The issue is that table cells are "light up" when you mouse over them, and "Deluminator" when the mouse out of them. This assemble

our table and give names to each TD that can be illuminated. For example:

\u0026lt;table>
\u0026lt;tr>
\u0026lt;td name="c1" id="c1">
\u0026lt;/ td> \u0026lt;td name="c2" id="c2"> ;
\u0026lt;/ td> \u0026lt;/ tr>
\u0026lt;/ table>

and now control their events onmouseover and onmouseout as follows:


\u0026lt;td

\u0026lt;table> \u0026lt;tr> name="c1" id="c1" onmouseover="javascript:Iluminar(this)" onmouseout="javascript:Apagar(this)">
\u0026lt;/ td> ; \u0026lt;td id="c2" name="c2" onMouseOver="javascript:Iluminar(this)" OnMouseOut="javascript:Apagar(this)"> \u0026lt;/ td> \u0026lt;/ tr>
\u0026lt;/ table>

This means that every time we pass over the cell c1 or c2 is called Illuminate javascript function () passing as a parameter "this" (ie, the cell itself) and when it leaves the Shutdown is called.

functions to Lighten and off using the property className of the object, so that if I designed a CSS style like this:

\u0026lt;style>
. cell

{background-color : # 0000FF;
color: # ffffff;
font-weight: bold;}

. celda_iluminada

{background-color: # FF0000;
color: # FFFF00;
font-weight: bold;

} \u0026lt;/ style>


I can change at any time the style class of an object simply by doing the following in javascript: function

Lighting (obj) {
obj.className = "celda_iluminada"


} function Hide (obj) {
obj.className = "cell";}


Another option without using style sheets is to change the background color of the cell as follows:

Lighting function (obj) {
obj.style.bgColor = "# FF0000
"}


function Hide (obj) {
obj.style.bgColor = "# 0000FF
"}


But even if this is correct, I change the className to change several properties in one go (not just background but also the font color and in general everything that can be included in a CSS class) while doing it for style modifications need one line for each property you want to change.

Wire Leaners For Fence



This is my third blog, the links you'll find it you can access my other blogs (PHP from scratch and without Queen Throne, the latter poetry).

This blog I created to go putting the strangest things I've done web programming
and I have been able to serve over the years of program business pages. Design will put things in HTML and JavaScript, PHP stuff, things like MySQL, Oracle and PostgreSQL, and anything that finds interesting and I do not want to forget how it was done. If you also serve you any input for your business or simple curiosity, I'd be pleased and grateful for any comments or criticism that you please me.

Monday, October 1, 2007

Shiny Stone Heartgold



I came by email today from an American friend and I could not translate them and put them here, some leave them in the original English language because they are word games that can not be translated into English.

TEACHER: Maria, tell me where on the map is South America
MARIA: It's here.
TEACHER: Very good! Now class, who discovered America?
CLASS: Maria.

TEACHER: John, why are you doing your math multiplication on the floor?
JOHN: You told me to do it Without using tables.

TEACHER: Paul, as you pronounce "crocodile"?
PAUL CROCO
TEACHER: No, you were wrong.
PAUL: Maybe I'm wrong, but you asked me how I pronounced it.

TEACHER: Donald, What is the chemical formula for water? DONALD
: HIJKLMN O.
TEACHER: What are you talking about?
DONALD: Yesterday you said it's H to O.

TEACHER: Susan, tell me something important that today we have that did not exist ten years ago.
SUSANA: Yo!

TEACHER: Paul, because you always mess up so much?
PAUL: Well ... I'm closer to the ground than you.

TEACHER: Millie, give me a sentence Starting with "I."
MILLIE: I is ...
TEACHER: No, Millie ..... Always say, "I am."
MILLIE: All right ... "I am the ninth letter of the alphabet."

TEACHER: George Washington not only chopped down the cherry tree of his father, but also admitted it. Luis, tell me, you know why his father did not punish him?
LOUIS: Because George still had the ax in his hand.

TEACHER: Silvia, tell me the truth, do you make your prayers before dinner?
SILVIA: No Miss, no I have to, my mom is a good cook.

TEACHER: Claudio, your composition on "My Dog" is exactly like your sister!, "The copy? CLAUDIO
: No ma'am, is just the same dog.

TEACHER: Cindy, as they call a person who keeps talking even when the others are not interested? CYNTHIA
: A Teacher.


-
Atte. Juan José