Web Design
Are you interested in web design and web development?
Learn how to build a correct information architecture ensuring an effective communication.
We've already seen in a previous article how to manage JavaScript events.
jQuery simplifies but most of all uniforms the
JavaScript events engine with 2 simple methods: bind()
for
events subscription and trigger()
to fire them.
Events are not only a prerogative of standard DOM (Document
Object Model) objects, your custom objects can throw events too, event
if they aren't DOM objects.
Read all the article...
Redirecting mobile visitors to the mobile version of your site, is a common task.
How to detect them in ASP.NET?
I will explain you 3 simple methods.
Read all the article...
ASP.NET gives you the opportunity to add script blocks and JavaScript files
at runtime using methods like
ClientScriptManager.RegisterClientScriptInclude()
.
How to perform a similar action to include style sheets?
There's no native method, but it's quite simple to perform.
Read all the article...
Let's try to create a simple infographic starting from an XML
file containing data about the carbon dioxide emissions
in Europe.
To position the data on a map, we have to add the latitude and longitude
fields for each european country (we have not to be precise).
To use the data we have to load them into an XML data source,
using the System.Xml.XmlDataSource
object, but the problem is that
the object wants the record fields specified as node attributes.
Read all the article...
The dropdown menus can be easily created with CSS.
Either horizontal or vertical menus are built using unordered list,
that is ul
. The dropdown feature is created combining the hover
pseudoclass along with the visibility
property of nested lists.
The following example shows a horizontal menu where the items expand downward.
Read all the article...