Company  |  Online Order  |  Policies  |  xBLOG  |  Help & Support  |  Contact

How to make Youtube video autoplay and/or loop

Add the following preceded by a & after video URL:
~ For autoplay: Add autoplay=1 or autoplay=true
~ For looping: Add loop=1 or loop=true
Note: both could be added.
Examples
<object width=”480″ height=”385″><param name=”movie” value=”http://www.youtube.com/p/90C68D73786C56E3″ /><embed src=”http://www.youtube.com/p/90C68D73786C56E3&autoplay=1&loop=1&fmt=18″ type=”application/x-shockwave-flash” width=”480″ height=”385″></embed></object>

Tags: , ,

Leave a Comment


position:absolute next to a float may disappear in IE

In IE6 or IE7 if there is a floated layout and you have an absolute-positioned div in the mix sometimes it just won’t show up.
SOLUTION:
One easy way to fix the bug is to add an extra dummy <div> to “separating” the position:absolute from the float in the source code (either being between them, or wrapping [...]

Tags: , , ,

Comments (5)


CSS “Absolute” positioning screen resolution problem

If you position an element (an image, a table, or whatever) absolutely on your page, it will appear at the exact pixel you specify. Say I wanted a graphic to appear 46 pixels from the top of the page and 80 pixels in from the right, I could do it. The CSS code you’ll need [...]

Tags: , ,

Comments (6)


What is www1 or www2?

You must noticed www1 or www2 once in a while when you are visiting a website. WWW1, WWW2 or even WWW3 is nothing but a mirror of the original web server which is typical WWW. Many websites like government, banks even major search engines like Google (www1.google.com or www2.google.com) and Yahoo (www1.yahoo.com or www2.yahoo.com) uses [...]

Tags: , , ,

Comments (1)


How to create a special list-menu in Dreamweaver

<form id=”two” action=”…” method=”post”>
<fieldset id=”opt”>
<legend>OPTIONS</legend>
<select name=”choice”>
<option selected=”selected” label=”none” value=”none”>
none
</option>
<optgroup label=”Group 1″>
<option label=”cg1a” value=”val_1a”>Selection group 1a
</option>
<option label=”cg1b” value=”val_1b”>Selection group 1b
</option>
<option label=”cg1c” value=”val_1c”>Selection group 1c
</option>
</optgroup>
<optgroup label=”Group 2″>
<option label=”cg2a” value=”val_2a”>Selection group 2a
</option>
<option label=”cg2b” value=”val_2a”>Selection group 2b
</option>
</optgroup>
<optgroup label=”Group 3″>
<option label=”cg3a” value=”val_3a”>Selection group 3a
</option>
<option label=”cg3a” value=”val_3a”>Selection group 3b
</option>
</optgroup>
</select>
</fieldset>
</form>

Tags: , , ,

Leave a Comment


10 Security Tips for Wordpress Users

1. Nobody is allowed to search the entire server

Do NOT use this search code in the search.php

<?php echo $_SERVER ['PHP_SELF']; ?>

Nobody should be allowed to search your entire server. Use this one instead:

<?php bloginfo (’home’); ?>

Block WP- folders from being indexed by search engines, the best way to block them in your robots.txt file. Add [...]

Tags: ,

Comments (3)


How to show only “summary” of a post in Wordpress blog?

You can “hide” part of your blog post so that only excerpts (or choice few words) are displayed on the home and archive pages. When you do this, an automatic link will be placed directly after your excerpt, pointing the reader to the full content of the post. Watch this video to learn how:

Tags: , ,

Comments (1)


SEO vs PPC

Search engine marketing consist of two basic forms, SEO (search engine optimization) and PPC (pay per click) advertising . While many passionately claim one is better than the other the simple facts can be hard to come by. For any business owner who is new to search engine marketing, it is easy to get overwhelmed [...]

Tags: , , , , , ,

Comments (3)


The !important in CSS

When a CSS propriety is specified twice, the browser will commonly use the last one. Let’s see an example:

#main {
width:600px;
width:800px;
}
In this example the browser will assign width 800 pixels to the #main element.
The declaration !important can be used in cascading style sheets to give priority to some parameters.

#main {
width:600px !important;
width:800px;
}
In the example above the browser [...]

Tags: , ,

Leave a Comment


CSS padding problems (IE vs Firefox)

Every HTML element is essentially a box, the width of which is the total of its margin, border, padding and content area. Imagine the following CSS rule:
div {
margin: 5em;
padding: 4em;
border: 1em solid grey;
width: 30em
}
This means that each div is 50em wide in total. This amount is made up of a 30em wide content area, [...]

Tags: , ,

Comments (1)