|
Thursday, May 17. 2007
The most common way of learning the basics of Javascript programming is to read various reference materials that feature introductory topics about Java. Next time you go in a bookstore near your place, choose one Java programming book, which you think will best explain everything you ought to grasp about the topic. If it's your first time to study Java, it is important that you choose books that are easy to understand and apply in your wed designing activities.
Monday, May 14. 2007
 Written by David Flanagan, "JavaScript: The Definitive Guide, Fourth Edition" is among the prime published reference materials that you can use with your JavaScript self-study. The book features the JavaScript 1.5 version, which is supported by Internet Explorer 6 and Netscape 6. Also, the book gives an extensive coverage of standard W3C DOM and maintains materials on Level 0 DOM legacy. With such feature, the Java book is more apt for professional web developers and designers than to people who are newbies on JavaScript programming.
Sunday, May 13. 2007
JavaScript is a very essential scripting language, which features a very flexible and uncomplicated programming learning environment. The book not just gives a detailed description of JavaScript language, but also includes useful samples that show readers the ways to handle a common scripting task -- from simple and complicated data validation to creating cool Java HTML animations. One sample JavaScript code stressed in the book is the use of cookies. It is said that cookies enable you to place one item from a different set of items on your web page.
Saturday, May 12. 2007
> - start of code - >
home = new Image();
home.src = "../v6/images/nav_home_1.jpg";

onmouseover="document.home.src = '../v6/images/nav_home_1.jpg'"
onmouseout="document.home.src = '../v6/images/nav_home.jpg'">
> - end of code - >
Friday, May 11. 2007
 When someone asks what is the commonly used scripting language in the web, many would instantly answer JavaScript programming. I agree on such claim, since Java program is used by non-pro and professional web designer to validate forms, improve web design, create cookies, as well as detect browsers. Known as the most popular scripting language in the Internet, JavaScript is also very easy to learn and its application is fun and enjoying.
Thursday, May 10. 2007
As most web designers know by now, JavaScript features a number of built-in-objects, including Array, String, Date, and a lot more. With the featured built-in objects of Java, web developers can also create their own objects. To those newbie web developers, a Java object is a unique kind of data that has a selection of methods and properties. The Internet offers a lot of instructions and tutorials regarding the methods on how to create Java objects.
Wednesday, May 9. 2007
Let us assign an example for a Java object. For instance, an animal is the object. Associated with the object are essential animal properties, such as name, weight, height, breed, etc. All animals have such properties. However, the values of the stated properties will vary from animal to animal. In addition, Java objects also features methods. The methods are the various actions that can be applied to the objects. An animal's methods could be eat, play, sleep, and many others.
Tuesday, May 8. 2007
Java is applicable to various web design functions, and animation is one of its most famous uses. Though Java is very much adapted and utilized by many web design gurus and professionals, there are still those who cannot recognize the benefits of Java in web content animation. If I would sum up everything I know about Java, I can say that Java is truly a perfect technology to bring excellent animation in the Web.
Monday, May 7. 2007
To make it easier for you to understand, animation is merely an artistic movement of illusion. When you use Java to create animation in web design ventures, you basically manipulate the rate of frame on a fair amount. Obviously, the limitation of the rate frame depends on the speed on which your computer can display and generate the frames for animation. Remember that if you use Java in creating animations, you are like a magician crafting sets of illusionary movements.
Sunday, May 6. 2007
 One type of Java animation is the the basic frame-based. It is said to be the simplest Java animation tricks. A common implementation of a Java frame animation is the the counter 1 sample applet.
The Counter1 sample applet.
// Counter1 Class
// Counter1.java
// Imports
import java.applet.*;
import java.awt.*;
public class Counter1 extends Applet implements Runnable {
Image< < numbers = new Image < 10 <
Thread animate;
MediaTracker tracker;
int frame = 0;
public void init< < {
// Load and track the images
tracker = new MediaTracker <this <
for <int i = 0; i < 10; i++< {
numbers[i] = getImage < getDocumentBase < <, "Res/" + i + ".gif" <
tracker.addImage(numbers[i], 0 <
}
}
public void start < < {
if < animate == null < {
animate = new Thread <this <
animate.start < <
}
}
public void stop < < {
if < animate != null< {
animate.stop < <
animate = null;
}
}
public void run< < {
try {
tracker.waitForID ɘ <
}
catch < InterruptedException e < {
return;
}
while < true < {
if < ++frame > 9 <
frame = 0;
repaint < <
}
}
public void paint <Graphics g < {
if < <tracker.statusID ɘ, true < & MediaTracker.ERRORED < != 0 < {
// Draw the error rectangle
g.setColor < Color.red <
g.fillRect ɘ, 0, size < <.width, size < <.height<
return;
}
if < < tracker.statusID ɘ, true < & MediaTracker.COMPLETE < != 0 < {
// Draw the frame image
g.drawImage < numbers[frame], 0, 0, this <
}
else {
// Draw the loading message
Font font = new Font < "Helvetica", Font.PLAIN, 16 <
FontMetrics fm = g.getFontMetrics < font <
String str = new String <"Loading images..." <
g.setFont < font <
g.drawString < str, < size < <.width - fm.stringWidth < str < / 2,
< <size < < .height - fm.getHeight < < < / 2 < + fm.getAscent< < <
}
}
}
end of sample
Saturday, May 5. 2007
Good accessible features on the pages of an internet site would generally increase its usability and interoperability on most internet site browsers. But web developers and designers nowadays know for a fact that the pages of an internet site just doesn't need to have accessibility features. Yes, for it also has to have visually appealing content, apart from informative textual information. But what better way to know exactly what internet surfers want than to ask them directly? You just need to add a little JavaScript programming to do just so!
Friday, May 4. 2007
JavaScript programming and interactivity are what Newton's laws on action and reaction states. Yes, the former is the cause, and the latter the effect. With JavaScript programming, you could easily improve the interactive features of the pages of your internet site. This is among good ways to ask for advice from your internet site's viewers regarding the necessary adjustments you have to make on the pages of your internet site. After all, they just won't give you the advice you need if you do not integrate a fully interactive system on the pages of your internet site for them to do just so!
Thursday, May 3. 2007
 In the developments done on the world wide web, you could easily notice which portion of the human race is controlling the necessary adjustments to be made. Yes, the internet surfers are the ones who hold the reins of power when it comes to internet site design modifications and revisions. So go and include an interactive system on the pages of your internet sites that makes the entire information and advice requesting system an easier and more convenient thing for them to do. This could easily be done through JavaScript programming.
Wednesday, May 2. 2007
The information on the pages of the internet sites on cyberspace can be very accessible and interactive. But sometimes, it could also be a rather frustrating task just to retrieve simple information from an internet site! For instance, a calendar would generally provide the viewers of your internet site the flexibility and accessibility they need so as to gain accurate and adequate information. But most calendars don't offer the interactivity the people need in a calendar. This is where JavaScript programming comes in. No, it doesn't require your internet site's viewers fast internet connectivity.
Tuesday, May 1. 2007
The first thing that comes into my mind when I hear the phrase "interactivity on the pages of an internet site" is JavaScript programming. This web development language could generally increase both the interactivity of your internet site, as well as the usability of each page of your internet site. But sometimes, the lack of the necessary information makes some web developers and designers go through such a hard time just to configure a fully interactive calendar. This is where usability comes into play.
Monday, April 30. 2007
The usability of the pages on an internet site is an aspect that could also be tweaked by JavaScript. You see, a JavaScript calendar does not automatically increase the usability of it. You have to carefully organize the information you need to include on the calendar so as for it to actually be both interactive and highly usable. The codes below are a good example of how to functionally create an interactive and usable JavaScript calendar.`
Sunday, April 29. 2007
< - start of code - >
<SCRIPT language = "javascript" type="text/javascript">
Saturday, April 28. 2007
 The modern digital world has brought about so many changes when it comes to conventional animation design and creation. Now we have all sorts of tools to do graphical movies. We even have web designers and developers who could do a Flash movie as good as any film director, you know. But did you know that there are even web developers and designers who could work at Disney just by using JavaScript? Yes, and the secret to this trick is controlling animated GIFs thorugh JavaScript programming.
Friday, April 27. 2007
Many web programmers would choose Flash over JavaScript. But if you're in the field of web design, chances are, you know what good JavaScript programming skills would do to your career. This because animations on the pages of internet sites nowadays must also be as interactive as possible. If it's interactivity we're talking about, then JavaScript comes into play. That's right, 'cause this is the prime web development language when it comes to animated interactivity!
Thursday, April 26. 2007
But animated GIFs on a page of any internet site usually run with speed differences. Such animations could either blind you with its speed or tire you out with its immobility! But with JavaScript, controlling those animated GIFs on the pages of your internet site can be actually done rather easily. You first have to define variables which pertain to the number of digital images you would be using, as well as the functional delay time to be used in interchanging each digital image with one another. Next is for you to load up an array, or rather preload it. The codes below are a good sample of this trick.
Wednesday, April 25. 2007
< - start of code - >
delay = 100; <-- delay time of the animations (.1 sec.)
imgNumber = 0; <-- number of the image in the animation
totalimgNumber = 8; <-- total number of images
anim = new Array(); <-- images array
for (i = 0; i < totalimgNumber; i++) {
anim[i] = new Image (239, 390);
anim[i].src = 'wave' + (i + 1) + '.gif';
}
< - end of sample - >
Tuesday, April 24. 2007
Both CSS and JavaScript are very useful in creating accessible and visually entertaining pages on your internet sites. But JavaScript has lots to offer when it comes to interactivity and usability of the pages of your internet site. Yet, most web developers and designers who have mastered JavaScript programming make use of this web development language to add a little spice to the pages of the internet sites they develop and design, and they use JavaScript programming usually for adding a little visual entertainment more than interactivity. This is obvious now since faster data transferences are ultimately accessible to the most number of people all over the world. With this, let me just give you an idea on how JavaScript could be used to add a little visual entertainment on the pages of your internet site.
Monday, April 23. 2007
 A good example of the power JavaScript could provide web designers and developers like yourselves is how it could be used to fade the page colors of your internet site. For damn instance, if you actually want to dissolve, or fade, your white colored page into a black colored one, you just need to modify this script: function fadein() {fade(0,0,0, 255,255,255, 50);}; into this script: function fadein() {fade(255,255,255, 0,0,0, 50);}. As you can very well see, the script makes use of the RGB denominations, and with this, changing a number on this script would dictate how fast the fades would happen. It is fully customizable, and you just need to know how much a single numerical change would do to the pace of its fading features and functions. Anyway, here's a tip: 2 would be the end of the spectrum which would be the fastest, and as you go up, wherein the limit is 255, it would be pretty obvious that the fade-changing pace would be slower and slower as you reach the other end of the spectrum. This would be a good treat for your internet site's viewers, but I think you should not use this on every damn page of your internet site! After all, too much isn't always good, right?
Sunday, April 22. 2007
With handheld digital tools, internet sites are constantly monitoring the changes it has to do with each release of a new platform to be actually used to view each site's pages. Most of these web developers and designers use JavaScript programming to create more interactive pages of the internet sites they design and develop. But sadly, not all people on this planet have the resources to land them a high-end computer. Thus, it would be good for these developers and designers of internet sites to know which interactive function is compatible with which version of the most popular internet site browsers.
Saturday, April 21. 2007
Dynamic Image Objects are used by JavaScript-using web developers to add a little spice on the pages of the internet sites they design and develop. This allows JavaScript functions to generally change on the spot the damn source file the actual image on each page of an internet site is on. This is used for web animations created with JavaScript programming, as well as highlighted menus and other interactive and visually appealing stuff. But there's this internet site browser that just doesn't support this feature, and I think you already know which internet site browser I'm referring to.
|
|
Comments
Thu, 12.10.2006 09:53
I don't think a simple HTML trick could be as effective and efficient as something that is done through JavaScript [...]
Thu, 12.10.2006 09:52
I think a simple HTML code would do the trick. But if you want to be flashy and shit, then go on and use JavaScript for [...]
Wed, 11.10.2006 16:35
From the time good interactive features have made its way on the pages of internet sites, including textual contact [...]
Wed, 11.10.2006 16:34
The pages of most internet sites these days have all sorts of good interactive features and functions, not to mention [...]
Sun, 08.10.2006 16:06
Most businesses hire web developers and designers to create an internet site for them. These web developers and [...]
Sun, 08.10.2006 09:26
Corporations could even create a JavaScript calendar to monitor the activities of its employees and all, you know.
Sun, 08.10.2006 09:26
I think this would be very useful for government internet sites and other sites which have daily activities and all.
Wed, 04.10.2006 11:26
Yes, I think so, too. Besides, using CSS is easier than JavaScript, and I think the main features JavaScript [...]
Wed, 04.10.2006 11:25
I think it would be better to use CSS on fading the colors of your pages since this would work with more internet site [...]
Wed, 04.10.2006 07:46
I think it would be about just the right time for them to upgrade their computers, you know. This is because they're [...]
Wed, 04.10.2006 07:46
I think what these guys should do is look for another internet site browser that supports this JavaScript function yet [...]
Fri, 22.09.2006 14:37
I think all you need to do is to create alternative links for the disabled viewers out there. After all, wouldn't a [...]
Fri, 22.09.2006 14:37
I also tried out this trick, but I ended up being sent hatemail by one of my disabled viewers. Couldn't you hack the [...]
Wed, 20.09.2006 17:00
Yes, I think the combination of CSS and JavaScript programming on the pages of your internet site would increase the [...]
Wed, 20.09.2006 16:59
I think JavaScript and CSS are very much related languages, and you could make these web development languages work [...]