Open specific tab on page load with JQuery UI

jQuery logo

I made a simple HTML page with JQuery UI tabs. But the customer asked to give URLs for each tab. I was a bit surprised with it, because I remember only how to make default tab on page load. You can do it with the syntax like this:

$("#tabs").tabs( { selected: x  });

 where 'x' is integer index of tab. So, the task was to determine which tab is requested.

(read more...)

Truncate log files with PowerShell

It is a very common task to truncate log files. You don't notice them and they reach the limit size always not in the appropriate time. And when this moment occurs, it's much better to have a quick solution to decrease the size of log files. But even much better to clean logs automatically on the schedule.

(read more...)


MarkiMarta.com. Notes of web-specialist
Since 2009
18+