AJAX-Tips Tutorials
AJAX-TipsCustomize Links Using DLINK Code
Every once in a while something nice comes out from a developer that shows there is almost no limitation to JavaScript.
You just have to explore your options in JavaScript and know how to implement them through easy to be integrated coding. Of course, a little creativity will also go a long way on how you develop an application.
First of all, DLINK script was not made by the company that manufactures router but was made be a programmer named David King.
What the DLINK does is that it changes simple links (usually coming in underline) to colorful links.
You can change the color of the font and add a small badge in the side of the link to further enhance the look of your website.
The loading time of the website will not even increase as the improvement of links will have an almost zero footprint.
The reason for simple implementation of DLINK without any effort at all is on its simplicity.
The developer of DLINK is kind enough to host the code, the fonts and the images so that it could be easily loaded into the JavaScript or Ajax based application.
All you need to do is to link your website to the functions of their website. As soon as you invoke the functions, you just have to specify the right image and font color.
This is where the disadvantage of DLINK lies. As soon as you create a link within your webpage, DLINK will automatically modify the link.
You have to proactively stop the script from working. DLINK will provide a default image and color to your link which does not really look that bad. In fact, it still looks good as this will help enhance the look of your website.
Some have even pointed out additional concerns for DLINK on linking. Developers will have to be directed to hot link to the script in their website. That means the stability of the function is based on the host of the functions.
As a developer, you have to make sure that these functions work or else you might not be able to properly develop a website or online application.
David King (the author) assured everyone in his website that he is using a reliable server that has not experienced any real downtime for the past three years.
Another interesting point of DLINK is that the script is presented to developers and non-developers.
The author goes a long way in explaining how things are done so that the script will finally work. Most developers should also consider explaining their script to non-developers.
It is an additional writing task but this is actually a test on how you can properly explain your work to the world. Besides, if you know how to properly explain your function to non-developers, you be sure that your application and scripts are actually relevant to the real world. It is a challenge but it can certainly be done with a little effort.
Sponsored Links
