jQuery: Floating Dialog Windows

Posted by Jetlogs @ 5:15 pm
Category: jQuery,PHP,Web Development

The tutorial for today will be on making floating dialog windows using the jQuery library. Before jQuery, doing a simple floating dialog window would have taken an enormous amount of code, and also an enormous amount of effort to work. With the advent of jQuery, this task has been made much easier. This tutorial will assume that you have at least basic knowledge of using Javascript and jQuery. Before everything else, we will need the following libraries for our tutorial:

In this tutorial, I’ll be making a save preferences form as an example Read more »


Proper Use of References in PHP

Posted by Jetlogs @ 6:40 pm
Category: PHP,Web Development

It has been a long time since I’ve made an article about programming, so its finally time I stop slacking and write an article. For today’s article, I’m going to talk about the proper use of references in PHP.

It has been hard-wired to almost every PHP programmer, that when passing arrays or objects to functions, they must be passed by reference, not by value so that the function will not work on the copy, hence improving performance.

Here is the sample code in PHP 4 that most programmers have been taught with regards to references


function foo(&$variable_array)
{
     shuffle($variable_array);
     return $variable_array;
}

$bar = array(1, 2, 3, 4, 5);
foo($bar); //returns a shuffled array

Read more »


Grand Cross Calculator: Pre-final Version

Posted by Jetlogs @ 7:54 pm
Category: jQuery,PHP,Video Games,Web Development

With great improvements in both performance and presentation, the pre-final GC calc has been released. Most of the codes were rewritten to include the additional options.

The calc now supports additional options namely:

  • Enemy Element
  • Weapon Size Penalties
  • The only thing missing for the calc are the additional options for buffs like Blessing, and Impositio Manus. And also the final addition will be the monster data, which I will do once I have some extra slacking time


    Minor Updates: GC Calc

    Posted by Jetlogs @ 1:39 am
    Category: jQuery,PHP,Video Games,Web Development

    Its a very busy week so I’ll just post what has changed on the Grand Cross Damage Calculator for Ragnarok Online since the last update:

    05/12/2007 – Added effect of DEX to min / max ATK values
    05/12/2007 – Added GC damage computation for Bow type weapons
    05/16/2007 – Added the effects of Picky Card and “The Sign” accessory as options
    05/22/2007 – Added DEF / MDEF reductions to equation

    As an added bonus, here are some words on wisdom in family planning:

    Rear Entrance


    Avoiding Google Hell in WordPress

    Posted by Jetlogs @ 12:27 pm
    Category: PHP,Technology,Web Development

    Ever had a blog in WordPress? And did you ever wonder why your page results on Google will sometimes suddenly dissappear from the main results into the supplemental results? Here are some tips to de-mystify what contributes to this effect, and how to avoid it from happening in WordPress.

    In light of the recent changes in Google’s SERP algorithm, it seems that a lot of sites have been pushed from the main index into the so called Google Hell. Unless you have garnered enough credibility through high quality backlinks/inbound links, more often than not, your page would be pushed there. Read more »


    « Previous PageNext Page »
  • Archives

  • Donations

  • Social Bookmarks

  • Jetlogs.org
    Some Rights Reserved 2007
    Creative Commons License