Tuesday, 24 April 2012

How to Solve the Javascript:Void(0) Problem

How to Solve the Javascript:Void(0) Problem

Article Written By: taamiv
Many internet users face this problem when they try clicking a link and see this error code on the status bar of the browser which doesn t allow the link to work. It is actually an error message that occasionally appears in a web browser when you face a problem loading a JavaScript from a webpage. Though this error message pops up on various occasions but the actual reasons could be different for different users, and resolving these problems is necessary by knowing the most possible reasons for this error message.

1- The major cause of this error message is the Popup blocker blocking the JavaScript while stopping the windows which open up as the advertisements on various sites. Resolving this problem involves making changes in the preferences of the popup blocker based on your requirements and thus disabling the popup blocker. One can even download another anti popup software instead or can read the product reviews of popup blockers to assess if they really cause these error messages.

2- The malfunctioning of the web proxy servers (which are used for accessing the various banned websites) can also block the various scripts in the process. This problem can be avoided by not using the proxy server itself or using a proxy server that functions better and do not interfere in the downloading of various scripts. Also check for the compatibility of the proxy server with various web pages and scripts.
An improperly written JavaScript could also lead to this error message. The solution lies in notifying this error to the webmaster who in turn must rewrite the JavaScript.

3- The JavaScript might be disabled in your browsers, and this needs to be enabled. To enable this in IE, go to scripting tab of the security option in the Tools menu under the internet options; and to enable this in Firefox, go to Tools menu and enable the JavaScript option in Web features.

4- Web browser implementation of JavaScript might also be broken in some cases, and this requires the switching or simply the up gradation of your web browser.

There is this simple way where you can really avoid javascript:void(0) error message at the first instance because we know that this error can cause certain browsers to really present your web pages in unusual waysThe javascript:void(0) statement is often occurred when a link has no URL attached to it, and the browser doesn't understand how to react and returns the error message.


About the Author

Here I am going to share an informative resource of javascript:void(0). You can find more information about how you can avoid javascript problem here.



You Can Link Directly to "How to Solve the Javascript:Void(0) Problem" by using the url:
http://www.allbestarticles.com//computer/software/how-to-solve-the-javascript-void-0-problem.html

Monday, 16 April 2012

WordPress Theming Engines - 3 examples

Infinity | a WordPress Theming Engine

Infinity - More Freedom to Create


Infinity is the ultimate Theming Engine for WordPress, bringing more power, more features, more flexibility. It has been developed to let you create your WordPress, WordPress Multisite or BuddyPress site without having to learn and write complicated code. Infinity has been carefully crafted for virtually any type of WordPress project, without limiting you in your choices, both as a site owner, and as a WordPress developer.

Interested in building your website, and not writing code? Our Base Theme has a growing selection of Child Themes and Theme Extensions so you can quickly choose the design and features for your project. Infinity is community driven, GPL licensed and completely free to use! Let's do this! To Infinity and Beyond!
------------------------------------------


http://www.studiopress.com/

WordPress Design Frameworks

The Genesis Framework empowers you to quickly and easily build incredible websites with WordPress.
StudioPress Themes

Mashable calls Genesis the "best of the best" among premium frameworks.

It's no wonder over 71,000 online publishers trust Genesis to provide a solid foundation for their sites.
 ------------------------------------------


DIYthemes — Run a Killer Website with the Thesis WordPress Theme

Improve WordPress with the Thesis Theme Framework

The Thesis Theme framework is a premium template system for WordPress that is designed to serve as the rock-solid foundation beneath any kind of website.
Over 46,307 people rely on the airtight SEO, incredible design flexibility, and lightning-fast loading times that Thesis provides.
 

The Rankings: 90 Most Popular Premium WordPress Theme Designers

The Rankings: 90 Most Popular Premium WordPress Theme Designers

February 1, 2012  | 
46 Comments

Below is a list of ninety of the most popular premium WordPress theme shops. The rankings are based on their Alexa rankings (the lower the better). This may not be the best way to compile such a list; however, short of having access to each shop’s books and statistics, it seems to be one of the more objective ways.

With so many WordPress theme designers these days, I’m sure some that should have been included here were missed. And so if you don’t see a site that should be on the list, let us know in the comments.

* Note: Designers that
 sell through ThemeForest and the like were not included here. They are already conveniently organized at ThemeForest or other such sites.

TheSource WordPress Theme | Elegant Themes

TheSource WordPress Theme | Elegant Themes

TheSource is a Magazine-style theme that combines flashiness with sophistication. The goal behind this theme was to create a design that could display loads of content in an organized and visually pleasing manner. The three-column grid gives you increased control over your layout, and the full-width homepage slider creates a visual impact that is sure to pique your visitor's interest.
 

The WordPress Economy? - Part 1 | Smashing WordPress

http://wp.smashingmagazine.com/2012/04/12/wordpress-economy-part-1/

In a post on her blog last year, WordPress designer, business woman and author Lisa Sabin Wilson, talked about how thankful she is to be part of the WordPress economy. It’s an economy that thousands of people, the world over, are benefiting from (including me!). It is an economy built on free, open source software. In this article I’m going to talk to people who are active in the WordPress economy, people from all over the globe. It’s amazing to see how even in the past few years the economy around WordPress has grown, and what new, innovative, enterprises it’s composed of.

[Note: Have you already pre-ordered your copy of our Printed Smashing Book #3? The book is a professional guide on how to redesign websites and it also introduces a whole new mindset for progressive Web design, written by experts for you.]

Contents

This is a long, two-part article so if you want to get where you’re going quickly, these are the sections:
 (more...)

Wednesday, 22 February 2012

Add or Remove Borders in CSS Templates

Tips for New Bloggers: Add or Remove Borders in CSS Templates

Sep 5, 2007

Digg This Story

Add or Remove Borders in CSS Templates

We have received a number of queries from people wanting to remove the image borders or add sidebar borders in the CSS layouts. In this article, we cover briefly what the border styles in CSS templates are and where you can find them. With this guide, you will be able to remove the borders around the images, sidebar or main posts, or change the style and color of the borders to match the Blog design.

The point to note is that some templates such as Scribe, TicTac and Thisaway use background images to create the look of the main post and sidebar sections. The 'borders' you see in these templates are the result of the background images. To change or remove the 'borders' around the main post and sidebar, the images will have to be altered and replaced. The sections in this article on CSS borders around Blog Posts or Sidebar will not apply to these templates.

Border Property

When you are logged into Blogger, go to Template -> Edit HTML and do a search (Ctrl+F) for the word “border”. You will see it appearing in a number of places in the template. In most of the stylesheets, the border settings are defined in one shorthand declaration like this:-
border:1px solid $bordercolor;


1. border

This is a shorthand setting for all the four borders. Instead of “border”, we may sometimes see “border-top”, “border-bottom”, “border-left” or “border-right” which sets a style specifically for that element's top, bottom, left or right border respectively.

2. border-width

There are three properties in the declaration. The first setting is the border width. It can be stated as a value in pixels like the example given or in general terms. The possible values are:-

1px (or any other length)
thin
medium
thick


3. border-style

The second setting in the shorthand declaration is the border style. Here, the possible styles are:-

none
hidden
dotted
solid
dashed
double
groove
ridge
inset
outset


You can see some of these styles in our following examples.

4. border-color

The final setting is the border color. If you see $bordercolor, it is a variable (“Border Color”) that you can change via Template -> Fonts and Colors. If you want a specific color for the border of an element, you can also change $bordercolor to a color code. Possible values are:-

#cc0000
rgb(204,0,0)


For a list of color codes, you may refer to our Color Code Chart.

Now that we understand what these styles are, we can proceed to customize our template. Go to Template -> Edit HTML and locate the border settings.

Border around Profile Image

Look for this line and if you do not want the border, change it to “0px”:-

.profile-img {
border: 0px solid $bordercolor;
}


or “none”:-

.profile-img {
border: none;
}


If you want a different style or color, amend the settings to one of the other possible values outlined above. For example, if we change the code to this:-

.profile-img {
border: 2px dashed #ff00ff;
}


This is what you will see:-

Add or Remove Borders in CSS Templates

Border around Images in Blog Posts

The border styles for the images in Blog Posts are found here:-

.post img {
border:1px solid $bordercolor;
}


Set it to “0px” or “none” to remove the image borders in the Blog Posts or customize the border style to something you like. Without a border, an image looks like this:-

Add or Remove Borders in CSS Templates

With a border style such as this:-

.post img {
border:3px outset #ff00ff;
}


The image is contained within a box:-

Add or Remove Borders in CSS Templates

If you post a lot of pictures and graphics on your Blog, you may like to spend some time configuring this and choosing an appropriate border setting.

Border around Image Links

In many of the templates, there is a style defined for image links. These are the clickable images which bring you to another webpage or URL when clicked. If you are interested in creating image links or want to understand what the codes are, you may view our Hyperlinks article.

You can customize the border settings of image links at:-

a img {
border:0;
}


Border around Images in Sidebar

In our Minima template, there is no unique style definition for images in the Sidebar. We can still set a special border style just for the images in the Sidebar, without affecting the border styles in our Blog Posts. Add into the stylesheet this code:-

.sidebar img {
border:6px ridge #ff00ff;
}


In the above example, the images in the Sidebar will have a “ridge” effect that looks like this:-

Add or Remove Borders in CSS Templates

Border around Header

Many people upload images into the Blog Header and a border around the Header will stick out like a sore thumb. To remove the Header border, look for the border settings under any of these.

#header-wrapper
#header
#head-wrap
#head


Border around Blog Posts

To demarcate each post, instead of a line at the bottom, you can have a border around the entire Blog Post.

Add or Remove Borders in CSS Templates

Scroll to where you see this and change or insert the code (shown in red):-

.post {
border:1px dotted #ff00ff;
padding:1.5em;
}


We have included a padding to give some space between the contents and the border. Without this padding, the text will be too close to the border.

Border around Sidebar

Similarly, to add a distinctive border around the Sidebar, change or insert this code (shown in red):-

#sidebar-wrapper {
border:1px dotted #ff00ff;
padding:1.0em;
}


In some templates, you may insert the code under any of these:-

#sidebar-wrap
#sidebar

The padding adds a space between the Sidebar content and the border. Preview the template. If you find that the layout is affected because of the padding, reduce the margin between the Blog Posts and the Sidebar.

Add or Remove Borders in CSS Templates

Border around Footer

If your template has a Footer element, the border style can be found under:-

#footer {
border:1px solid $bordercolor;
}


Border around Entire Blog

If you wish to have a border surrounding the entire Blog, you may add a border style to this part of the template:-

body {
border:1px solid #ff00ff;
}

Sunday, 12 February 2012

iFrame HTML | iFrame html, tricks, tips and code

iFrame HTML | iFrame html, tricks, tips and code

iFrame HTML Basics

Reference Guide for basic HTML tags for iframes.

IFrames are useful for a wide variety of content and especially for in-site navigation where you can use on to load pages or code snippets dynamically on a page without being an AJAX programmer and without using any javascript.

If you combine PHP with JavaScript you can do many things which almost look like AJAX - but are far simpler to implement as the only knowledge you would need is HTML and just a little bit of PHP for more advanced scripts.

If you don't want to bother learning all of the below specifics, just go to our iFrame Generator and generate an iframe now.

Basic IFrame HTML

Bare minimum iframe code:

iframe code

  1. Opening tag
  2. iframe page source
  3. height of the iframe
  4. width of the iframe
  5. Non-iframe content (What to display in the users' browser if they are not capable of viewing iframes.)
  6. Closing tag


Sample iFrame HTML

Below is a demonstration of two iframes. One with frameborders, and the other without. You can dynamically load different content by clicking on the two links below each frame. Page-2 is with a colored background so that you can easily see the boundaries of the iframe in the borderless example.

To direct a link to open inside of an iframe, the code is simple. You merely name the iframe, and then set the link as shown below. We have named our iframe "test". We then set the link to open in target="test".

Iframe with frameborders

Code:


Output:
You need a Frames Capable browser to view this content.
page-1 | page-2 <--You can navigate by clicking on these links.


Iframe without frameborders

Code:


Output: