Quite often Opera users complain that their favorite browser cannot parse a web page and gives the following error:
Quite often Opera users complain that their favorite browser cannot parse a web page and gives the following error:
Sometimes there comes a need to refer to a Silverlight assembly from several different projects, the last thing you want is to copy the assembly to every project, you want it in the GAC.
Silverlight environment is not .NET and simply adding the assembly to the GAC with gacutil gives no effect. On the other hand one may notice the standard Silverlight assemblies in “Add reference” dialog of Visual Studio after having installed Silverlight.
As it turns out, to be able to refer to any assembly from any project with “Add reference” all that’s needed is a special key in the registry:
Now “Add reference” will show all the assemblies from the path in the key.
The solution turned out to be quite straight-forward. Hope this helps.
The problem: coda-slider does not provide for assigning a class to the inside of the current panel. It lets you assign the current class to the dynamic tabs, if they are enabled, but some projects require applying the current class to the elements that are being displayed and rotated.
The solution: add a function to the source code of the plugin:
return this.each(function(){
// Uncomment the line below to test your preloader
// alert(“Testing preloader”);
var slider = $(this);
// to add current class to current panel
slider.setCurrentPanel = function() {
$(‘.panel’, slider).removeClass(‘current’);
$(‘.panel:eq(‘ + (currentPanel-1) + ‘)’, slider).addClass(‘current’);
}
Next, add the function call to the places where currentPanel is set: lines 83, 99, 119 and 226)
slider.setCurrentPanel();
You can change the file yourself or just download the result.
Here’s another handy jQuery plugin, it let’s you style your web site after Windows Aero® by creating windows that look like Windows 7 Aero and offer standard window functionality.
Basic functionality and features:
and so on…