Today i was looking how to do jQuery alert, like i do it on every javascript. Well, its the same, you can simply use:

$("li").click(function(){
          var current_id=$(this).attr('id');
          alert(current_id);
          // these alert two times one is empty another one is content_1

   });

But then again, this is only usefull when programing. I went for a search for best jQuery plugins to do some proper jQuery alert dialogs. This is the first one i found:

jqModal is a lightweight window plugin written for jQuery which improves & makes easier the use of windows. jqModal is a plugin for jQuery to help you display notices, dialogs, and modal windows in a web browser. It is flexible and tiny, akin to a “Swiss Army Knife”, and makes a great base as a general purpose windowing framework.

But then i found excactly what i was looking for:  jquery alert dialogs

This plugin utilizes the $.alerts namespace, but there are three built-in shortcut functions that make implementation easier:
jAlert(message, [title, callback])
jConfirm(message, [title, callback])
jPrompt(message, [value, title, callback])
Unlike their native JavaScript counterparts, you can use HTML in the message parameter. To specify a newline, you can use either \n or <br />

This plugin utilizes the $.alerts namespace, but there are three built-in shortcut functions that make implementation easier:

  • jAlert(message, [title, callback])
  • jConfirm(message, [title, callback])
  • jPrompt(message, [value, title, callback])

Unlike their native JavaScript counterparts, you can use HTML in the message parameter. To specify a newline, you can use either \n or <br />

Check out the demo.

In prevoius post, i was writing about paid blog directory list. But why pay for something if you can get it for free?
Here is the list of top free blog directories. This listing includes google’s page rank, alexa ranking, registration requirement and reciprocal links.
Read more on free blog directories.

Continue Reading

If you write a blog, you probably want to get some traffic. One of the things you can do now is to submit blog to blog directory list. Like always, its important to submit to good blog directory list – you dont want to be in the ones where is all crap. The best blog directory list are human edited blog directory.

Submitting your blog to an established human edited blog directory has many benefits besides additional exposure. Proper link building is a critical component of launching a new blog or helping grow an established blog and submitting to a respected blog directory helps give credibility to your blog from the perspective of search engines.

Its hard to find good blog directory list. The best ones are paid service, but in this post i also list some of the best free blog directory list

Paid blog direcory list

  • Best of the web blogs: BOTW is one of the most recognizable names in the directory business. Getting your blog listed in their blog directory is of value and will cost you a fraction of what they are charging for websites.
  • Bloggeries: Bloggeries is a growing and respected human edited blog directory that lists only blogs. nice additional feature is seperate links on the listing page to inner pages of the blog submitted.
  • Delightful Blogs: Delight Blogs is a quality blog directory that manually reviews all submissions before they go live.
  • http://blogannounce.info
  • http://portal.eatonweb.com/

But why pay if you can get something for free? Check free blog directories.

I was using a lot of different search engine optimization software for different purposes, before i found Market Samurai. Since then, i only use the one and only search engine optimization software: Market Samurai. I will try to give you some general ideas why I’m so impressed, but you should definitely try it for yourself… Read more about search engine optimization software

Continue Reading

This weekend i needed to extend wordpress basic functionality. I was using the get_the_category function, wich returns an array of objects, one object for each category assigned to the post. What i needed was to display only categories, belonging to exactly one parent.

I search the internet, but surprisingly i didn’t find what i was looking for. So i had to extend wordpress get_the_category function:

function get_the_category_extend($postID, $parent_of=-1){
$out = array();
foreach((get_the_category($postID)) as $category) {
if($parent_of!=-1){
if($category->category_parent == $parent_of){
$out[] = $category;
}
}
}
return $out;
}

It gets post ID and a ID of a parent. It returns only child categories. Yes, its very simple :)

You copy this function into functions.php, located in your theme directory. You can upgrade this function with whatever you need, if your nice you can even post it here…

In December i was writing about Google’s speed tracker. Today, i had to test some web page performance, so, i tried googles speed tracker – and the results was not so informative as i wished to be. I had to get more data on what is slowing down the page.

So I went on a hunt for the best web page performance tool, wich would give me the information i needed to improve speed of web page.

After some hours of searching, i found the tool i was looking for – http://www.webpagetest.org, and ofcourse i share it with you. With this tool i could easily spot problems wich were slowing down the web page. Thats all i need :)

Here are some images, just to see what are the results…

Content breakdown

Picture 1 of 6

Continue Reading

Are you a content publisher? Do you have a website, and trying to promote your content across various social websites, like Digg, Propeller, StumbleUpon…?

If you answered Yes, then you are on the fight spot!

With Socialmarker, you can easily submit your content across multiple social sites. Going through all of those social bookmarking sites is very time-consuming and downloading all toolbars is madness. That’s where SocialMarker.com comes in, the free service designed to reduce the time and effort needed to socially bookmark a website or content.

socialMarker

Continue Reading

Google launched new extension for Google chrome called Speed Tracer.

Speed Tracer is a tool to help you identify and fix performance problems in your web applications. It visualizes metrics that are taken from low level instrumentation points inside of the browser and analyzes them as your application runs. Speed Tracer is available as a Chrome extension and works on all platforms where extensions are currently supported (Windows and Linux).

Using Speed Tracer you are able to get a better picture of where time is being spent in your application. This includes problems caused by JavaScript parsing and execution, layout, CSS style recalculation and selector matching, DOM event handling, network resource loading, timer fires, XMLHttpRequest callbacks, painting, and more.

In October i was writing about some open source and free online invoicing systems. Today i found new online project management and invoicing tool called Project Bubble. Project Bubble is a free, simple and fun project management web app for freelance or personal projects.

Project Bubble works great for freelancers who work on their own, becouse it was made from such a freelancer – things are usually best if you do it for yourself…

Becouse the first bubble’s thing is simplicity, id doesnt have a lot of features, it just covers on what you really need:

  • Make some projects
  • Insert some tasks, keep track on billable time
  • Have some companies and contacts
  • Connect all together with invoices

management and invoicing - Project Bubble

Continue Reading

LightBox-like libraries are mature piece of code – they were introduced some four years ago (original lightbox plugin in 2005),  are used a lot around the world and has become a standard in showing pictures on a web page.

But today i found new lightBox-like library named topUp, wich could easily become number one choice.

Why is TopUp number one choice for LightBox-like libraries?

The installation of TopUp consists of including only one file (no images or stylesheets!), the look-and-feel is Apple-like, the animations and transitions look fancy, you can still use Prototype, it is so easy to specify options and last but not least: you can stay updated with the latest version without changing any code. Great for expansions and bugfixes!

lightbox - TopUp

Continue Reading

© Copyright Webspices.net. All Rights Reserved.