Automatic role assignment for admin created accounts
Assign role by path for user registration
Allow user to choose the roles in the user registration form
After the module installation, you could configure the Auto Assign Role setting @ Administer –> User management –> Auto assign role. Now, i would show you how to assign the role to user by the registration path. i am not going to demonstrate the others as they are quite straight forward. Continue reading Drupal – Auto Assign Roles to Newly Registered User→
The jQuery Cycle plugin is so helpful on showing animated slide show in your webpage. Check it out at the following website to find more details. jQuery Cycle Plugin
But thanks Microsoft, it’s greatest product, Internet Explorer 7 and 8 has a bug when showing transparent png in the slide show. That is a white background would be added to the cycle element which block the background image. Add the following options when calling the cycle function. Continue reading jQuery – Cycle Plugin White Background Problem in Internet Explorer→
If the delayed function has input parameters, setTimeout() would fail when you simply add the parameters in the setTimeout() call.
<script type="text/javascript" src="http://code.jquery.com/jquery-1.4.4.js"></script>
<script type="text/javascript">
$(document).ready(function() {
/* The call will fail and the alert box will display immediately */
setTimeout(delayedAlert("Hi Eureka!"), 3000);
});
function delayedAlert(str) {
alert(str);
}
</script>