Wednesday, 15 August 2012

RapidWeaverFAQ.org E-Book, How to easily get more out of RapidWeaver | EBookStoreToday.com

RapidWeaverFAQ.org E-Book, How to easily get more out of RapidWeaver | EBookStoreToday.com





Click the image for a sample of the
RapidWeaverFAQ.org E-Book
My very own mission and the goal of this E-Book is not to tell you how RapidWeaver works. My very own mission and the goal of this E-Book is to show you what you can do in RapidWeaver in addition to the obvious things. Explain in plain English without using unnecessary technical jargon how to achieve the effect you want in steps which are simple to follow even with no technical knowledge. In other words the goal is to provide you the tools to easily get more out of RapidWeaver.

In this E-Book I re-wrote most of the FAQs you find on my website making them cleaner, easier to read and understand. It is providing more detailed explanations and it’s more illustrated than the website. The result is that the E-Book is even better and more user-friendly than the website.

In addition to the content of the website the RapidWeaverFAQ.org eBook also includes: Accordion menu, Auto-Scrolling text and images, Columns, Auto-Fading text, Auto-Fading photos slideshow, Floating menu (or float anything else), Random text or images (or random anything else), Disable right-click, The best way to integrate RapidWeaver and WordPress, Google Search Box (search within your own site), Toggle, Hide/Display, How to protect your website from being hacked, and more… which are not discussed on the website.
The book will also save you a lot of time since you don’t have to spend your time searching for a solution on Google and figure out how it works anymore. It’s all there. And if it isn’t you could suggest me to include a chapter about it in a future update.

Table of contents: free .pdf download or open in browser (opens in a new window)
Free sample: free .pdf download or open in browser (opens in a new window)
Current version: 1.2 (06/2012) (release history) (get update)

Price: 12$ (Updates are free) (How do updates work?)

Friday, 10 August 2012

Google Voice, embed widget - various articles



Uploaded by on Apr 3, 2009
How to use Google Voice with WebStarts. Create a free website and add a Google Voice Call Widget. Find out more at http://WebStarts.com




How to Get the Google Voice Widget on WordPress to Work

by Leonardo R. Grabkowski, Demand Media



The Google Voice embed code will not inherently work with WordPress. To get the widget to work, you'll need to first install the Google Voice plug-in. Once you add the plug-in, you can easily add the embed code to enable the Google Voice "Call Me" widget. The plug-in even lets you display your available hours. Google Voice is not compatible with WordPress blogs hosted on WordPress.com. Only self-hosted WordPress sites can use the feature.

Step 1

Sign in to your WordPress administration page and click "Plugins." Click on "Add New," and then search for "Google Voice."

Step 2

Click on "Install Now" next to the Google Voice plug-in. Click on "Activate Plugin."

Step 3

Click "Call Me" on the Settings sidebar.

Step 4

Paste your Google Voice embed code into the box. If you don't have the embed code yet, sign in to your Google Voice account, click on "More" then click on "Embed." Highlight and copy the embed code. Click on "Save" to save the code.

Step 5

Click on "Widgets." Click on the "Call Me" widget and drag it into the widget area you want it to appear in. This opens the Options box.

Step 6

Choose the hours and days of the week you are available, and then click "Save."
South Melbourne based studio. Let's go for a coffee and chat.
hitori-inc.com
Need help with web, social & apps? If its got a screen. We're on it.
thedmgroup.com.au
Custom Designed Websites, Effective, Smart & Direct
esitedesign.net
Company, Business and Family Court Valuations Australia Wide.
www.brv.com.au

About the Author

Leonardo R. Grabkowski has been writing professionally for more than four years. Grabkowski attended college in Oregon. He builds websites on the side and has a slight obsession with Drupal, Joomla and Wordpress.

Custom Google Voice Widget - Razvan Gavril


  • March 22nd,
  • by Razvan Gavril
Google Voice has very usefull click to call widget that you can add on your website but .. it’s flash it’s big and I don’t like it. I wanted something that I can customise and that can run without flash (ex. on iPhone) so I looked under the hood to see if I can create a html only widget, and it’s actually quite easy.

First you need to login in your google voice account and create a call widget from the Settings page. This is required as it creates a uniquid that we will use later. After creating the widget, copy the Embed string into a text editor. We’re going to extract only what we need from there. For example my embed string looks like this:

<object type="application/x-shockwave-flash" data="https://clients4.google.com/voice/embed/webCallButton" width="230" height="85">
<param name="movie" value="https://clients4.google.com/voice/embed/webCallButton" />
<param name="wmode" value="transparent" />
<param name="FlashVars" value="id=4563a8e24f4009bcaf7122437e2f9bc0b15c192e&style=0" />
</object>


What we will use from all this is only the id flash parameter and the client server from google.
And now let’s create a html equivalent of the flash code. It’s actually quite simple as the flash doesn’t do anything else than sending a post to google server with some parameters.

<form method="post" action="https://clients4.google.com/voice/embed/webButtonConnect">
<input type="hidden" name="buttonId" value="4563a8e24f4009bcaf7122437e2f9bc0b15c192e" />
Caller Number:
<input type="text" name="callerNumber" />
<br />
Caller Name :
<input type="text" name="name" />
<br />
Show Caller Number :
<input type="checkbox" value="1" name="showCallerNumber" checked="checked" />
<br />
<button type="submit">Call Me</button>
<form>


Of course you should create your custom form, style it with css and it’ll look great. I recommend posting the form with ajax else the user is redirected to google’s page after clicking your button, is up to how you decide to use it.
Update : Continue reading the Custom Google Voice Widget 2

21 Comments Post a comment ↓

Thursday, 9 August 2012

redline HTML that works - Tryit Editor v1.5

Tryit Editor v1.5

<!DOCTYPE html>
<html>
<body>

<p>With HTML:</p>
<hr noshade="noshade" />

<p>With CSS:</p>
<hr style="height:2px;border-width:0;color:gray;background-color:gray" />

</body>
</html>

With HTML:

With CSS:

So, You Want An HR Line, Huh?

So, You Want An HR Line, Huh?

Use these to jump around or read it all...

[The Basic Line]
[Changing The Width]
[Changing The Height]
[Sending It To The Left Or Right]
[No Shading, Please!]
[How About Some Color?]
     I want to shake the hand of whoever came up with this <HR> line. It is a great, and simple, way to break up your page. I use them to death. Here I'll try to get into the more subtle sections of the <HR> line.

The Basic Line

     You probably already know that you can place a line simply by typing <HR> on the page. "HR" stands for horizontal reference, by the way. It makes a nice line with a little bit of shading all the way across the screen. Plus it needs no end command. And it's centered. Coolness.

     But all those lines looking the same tends to get dull. Let's change it a bit.

Changing The Width

     You change the width of the line by adding a subcommand to the <HR>. I do this with all my lines. I think the line going all the way across the page is a bit much. I only have mine go 60 or 80% of the page. See the lines at the very top that get thinner to wider then wider to thinner? I just added different percentages to a series of HR commands. Here's the format:

<HR WIDTH="60%">

     Notice it's just an HR command with WIDTH="--%" added. You can set the width to any percentage you want. There's no need to stay with round numbers. If you really want a line that only goes 17% -- fine. Just remember to include the percentage sign (it's over the number 5 on your keyboard).


Changing The Height

     How's about a thicker line? Like these:






Here's the format:


<HR SIZE="6">

     Think of the size command as equal to the "H" commands in that there are six, numbered 1 through 6, with six being the widest.
     You might also notice that the lines are only 60% width. I just used both commands inside the same <HR> command, nothing to it.


Sending It To The Left Or Right

     How about this...




     You can probably guess how I did that. I added ALIGN="--" inside of the command. Here's what made the four lines above:


<HR WIDTH="60%" ALIGN="LEFT">
<HR WIDTH="60%" ALIGN="RIGHT">
<HR WIDTH="60%" ALIGN="LEFT">
<HR WIDTH="60%" ALIGN="RIGHT">

     You can also state ALIGN="center", but that's a bit of overkill as the line centers for you anyway. Notice, also, that I used the width command in there.


No Shading, Please!

     Here's what it looks like:

     And here's what does it:

<HR WIDTH="60%" NOSHADE>

     I'm not a super fan of the command, but to each his or her own.


How About Some Color?

     No problem. Dig this:



     There are three HR lines set to the three colors of Mardi Gras (I live in New Orleans). It's the "COLOR=" attribute that does the trick. Here's the code. Notice that I have also set the HR lines to only span 60%.

<HR COLOR="yellow" WIDTH="60%">
<HR COLOR="purple" WIDTH="60%">
<HR COLOR="green" WIDTH="60%">

     Nothing to it.

Enjoy!


[The Basic Line]
[Changing The Width]
[Changing The Height]
[Sending It To The Left Or Right]
[No Shading, Please!]
[How About Some Color?]
  • said on May 22, 2012 at 11:22 am

    How can I get spacing on the top and under the rule line?
  • said on January 20, 2011 at 1:09 am

    Thanks for the tutorial. I'm having problems with it going across the entire webpage. It seems to start about a cm away from the left side. E-mail me if you can help. Thanks
  • said on December 21, 2010 at 5:32 pm

    Nice tutorial, im still new to this but it was quite helpful. I was wondering if there was any chance of chainging the height at which the line appears in the "writing space". When im using it seems to be bottom of the line im working on, i mean something like this _ and i want it at this height ------ or top. Im not sure if you get what im saying. Thanks in advance whatname

the hr tag, the horizontal rule

the hr tag, the horizontal rule

the hr tag, the horizontal rule

the horizontal rule, or hr tag is a good way to divide the content of your webpage.
on this page you will find examples of the hr tag and other methods of seperating the content of your html document.

hr example 1.
<hr>

in the example above we see that using the hr tag produces a line across the screen, the hr tag is a block level element which means it starts on a new line, so there's no need to include a <br> tag beforehand

in this next example we will look at controling the size of the hr tag

hr example 2. (size)

<hr size="2" width="50%">
<hr size="20" width="50">
<hr size="20" width="50%">

the hr above looks like an outline because your browser gives it a 3d appearance, here it is again without the 3d look

<hr size="20" width="50%" noshade>

we can align a hr tag left right and center

hr example (align)

<hr align="left" size="3" width="50%" noshade>
<hr align="center" size="3" width="50%" noshade>
<hr align="right" size="3" width="50%" noshade>


we can color it in
<hr color="#0099FF">

which brings us to the hr tag and browser compatibility, this does not work in netscape but we can cheat in one or two ways
the first way we can use a cross browser line to divide the content of a web page is to use an image measuring 1 pixel x 1 pixel and stretch it!

<center>
<img height="3" width="50%" src="blue.gif">
</center>

another way to cheat is to create horizontal lines using html tables, this assumes that you have already read the html tables tutorial

html tutorial

HTML hr tag

HTML hr tag


Example

Two paragraphs divided by a horizontal line:
This is some text.



This is some text.

Try it yourself »

Browser Support

Internet Explorer Firefox Opera Google Chrome Safari
The

tag is supported in all major browsers.

Definition and Usage

The

tag creates a horizontal line in an HTML page.
The

element can be used to separate content in an HTML page.

Differences Between HTML and XHTML

In HTML, the

tag has no end tag.
In XHTML, the

tag must be properly closed, like this:

.

Optional Attributes

DTD indicates in which HTML 4.01/XHTML 1.0 DTD the attribute is allowed. S=Strict, T=Transitional, and F=Frameset.
Attribute Value Description DTD
align left
center
right
Deprecated. Use styles instead.
Specifies the alignment of a

element
TF
noshade noshade Deprecated. Use styles instead.
Specifies that a

element should render in one solid color (noshaded), instead of a shaded color
TF
size pixels Deprecated. Use styles instead.
Specifies the height of a

element
TF
width pixels
%
Deprecated. Use styles instead.
Specifies the width of a

element
TF


Standard Attributes

The

tag supports the following standard attributes:
Attribute Value Description DTD
class classname Specifies a classname for an element STF
id id Specifies a unique id for an element STF
style style_definition Specifies an inline style for an element STF
title text Specifies extra information about an element STF
More information about Standard Attributes.

Event Attributes

The

tag supports the following event attributes:
Attribute Value Description DTD
onclick script Script to be run on a mouse click STF
ondblclick script Script to be run on a mouse double-click STF
onmousedown script Script to be run when mouse button is pressed STF
onmousemove script Script to be run when mouse pointer moves STF
onmouseout script Script to be run when mouse pointer moves out of an element STF
onmouseover script Script to be run when mouse pointer moves over an element STF
onmouseup script Script to be run when mouse button is released STF
onkeydown script Script to be run when a key is pressed STF
onkeypress script Script to be run when a key is pressed and released STF
onkeyup script Script to be run when a key is released STF
More information about Event Attributes.

Wednesday, 8 August 2012

A Detailed Look at the z-index CSS Property | Impressive Webs

A Detailed Look at the z-index CSS Property | Impressive Webs



Z-Index Property
Most CSS properties that a web developer deals with regularly are instantaneous in their application to elements on the page. For example, when you add the background-color or font-size property to an element on your page, in most cases you will see the results immediately upon page refresh. But other CSS properties are not quite as “plug and play” as we would like.

The z-index property is one example of the latter. I would venture to guess that z-index is probably the CSS property that is more speedily abandoned than any other. Very often — when I previously didn’t understand z-index — I would try to apply it to an element, hoping that the element would automatically “jump” to the top in the page’s stacking order. But that didn’t happen, so I would abandon that method and try some other way to solve the problem. Maybe you’ve had the same experience. Hopefully this article will clear up some misunderstandings regarding z-index.


What Exactly Does It Do?

Basically, the z-index property sets the stack order of an element. An element with greater stack order is always in front of another element with lower stack order. That over-simplified definition is exactly why beginning CSS developers often use z-index incorrectly.
The natural stacking order of a web page’s elements is decided by the order in which the elements appear in the page’s markup. Let’s provide a simple example that we can use to explain stacking order and how z-index can be used correctly (and incorrectly):
  1. <div id="header">  
  2. <p>This is the header</p>  
  3. </div>  
  4.   
  5. <div id="article">  
  6. <p>This is an article</p>  
  7. </div>  
  8.   
  9. <div id="footer">  
  10. <p>This is the footer.</p>  
  11. </div>  


Used When Elements Overlap One Another

In the above markup, we have three <div> elements (header, article, and footer), one after another. Let’s say our page design required that the header overlapped the top portion of the article by 10 pixels, and the article element overlapped the footer element by 10 pixels.
To see what I’m talking about, here is an example page with the markup above, and a background colour and 3px coloured border applied to each of the elements, so they can be easily distinguished from one another:

3 elements displayed normally

Now, let’s look at the same page, with a negative top margin applied to all three elements:

The same 3 elements with a negative top margin

Since we’ve applied the negative margin, we can now physically see the default stacking order in action. The “article” element overlaps the “header” element for the simple reason that the “article” appears after the “header” in the markup. And the same applies for the “footer”, and why it overlaps the “article”.

Resolving a Stacking Order Problem Without Z-Index

That example shows us that z-index is not the only solution to a “stacking order” problem. Sometimes, you can resolve such an issue by simply changing the order of elements in your HTML, then positioning them accordingly.

Attempting to Implement Z-Index

But let’s say we want those 3 elements to remain exactly where they are, and, for one reason or another, could not rearrange the elements in the markup. But we needed the overlap to be reversed: we want the header to overlap the article, and the article to overlap the footer. In our CSS, let’s apply z-index values to the elements and see what happens:
The CSS now looks like this:

  1. #header {  
  2.     background: blue;  
  3.     border: solid 3px pink;  
  4.     z-index: 3;  
  5. }  
  6.   
  7. #article {  
  8.     background: red;  
  9.     border: solid 3px purple;  
  10.     z-index: 2;  
  11. }  
  12.   
  13. #footer {  
  14.     background: green;  
  15.     border: solid 3px yellow;  
  16.     z-index: 1;  
  17. }  
And here is the example page with those new styles added:

3 overlapping elements with z-index

Do you notice a difference? If you do, then you need to look again. There are no visual differences between that example and the previous one. View the source of the page, and you’ll see that, even though we’ve added a z-index value to each element, and ensured that the values represent a reverse stack order, it didn’t have any effect. Why not?

Why Doesn’t It Work?

The previously-referenced W3schools page provides the explanation. It says: “Z-index only works on elements that have been positioned (eg position:absolute;).”

In the example we’re using we can apply position: relative to our <div> selector (which will apply to all 3 elements), and the stacking order specified by our z-index values will instantly take effect. Here is the corrected demo page:

3 elements with z-index applied properly

The overlap is now reversed, because the z-index values have been used properly.

A Real-World, Practical Example

For an example of a good practical use for the z-index property, here is a site I coded that uses transparent PNGs for the tabbed navigation. First, each tab is inside of a list item with negative margins to make the tabs overlap. Next, each tab is given a specific z-index value, to reverse the natural stacking order. Then, a high z-index is applied to the “selected” tab to ensure that the stacking order is graphically visible. The CSS for those tabs would look something like this:

  1. ul#navigation li {  
  2.     position: relative;  
  3.     margin-left: -24px;  
  4. }  
  5.   
  6. ul#navigation li.one {  
  7.     z-index: 5;  
  8. }  
  9.   
  10. ul#navigation li.two {  
  11.     z-index: 4;  
  12. }  
  13.   
  14. ul#navigation li.three {  
  15.     z-index: 3;  
  16. }  
  17.   
  18. ul#navigation li.four {  
  19.     z-index: 2;  
  20. }  
  21.   
  22. ul#navigation li.five {  
  23.     z-index: 1;  
  24. }  
  25.   
  26. ul#navigation li.selected {  
  27.     z-index: 100;  
  28. }  
The server-side code dynamically adds a class of “selected” to the currently selected tab, and the z-index for that tab is given a higher value than the rest. In this example I’ve used 100 which ensures that the “selected” item will still be on top even if more tabs are added later.

Some Notes to Keep in Mind About Z-Index

The z-index property affects the position of an element on the Z-axis, which refers to how an item is stacked perpendicular to the display (instead of Y-Axis and X-Axis which refer to elements positioned parallel to the display). The higher the z-index, the closer the element will be to the user.

In IE6, select elements always appear on top of all page elements, no matter what the z-index value of any element on the page. The best way to deal with select elements appearing over top of drop down menus and other elements, is to actually make the select element invisible using display: none via JavaScript when the overlapping element appears.
The z-index property generally takes an integer as a value, but can also accept values of inherit and auto, although those values do not work properly in all browsers.

In Internet Explorer versions 6 and 7, the stacking order of z-indexed elements is essentially “reset” for any elements that are contained by a positioned element, regardless of wether or not the container (or parent) has a z-index value set. In other words, an element with a z-index value of 100 will appear underneath an element with a z-index value of 1 if the former element is contained by a positioned parent, and the latter is not. This is an incorrrect implementation of the z-index property that has evidently been corrected in IE8.

To change the z-index value of an element with JavaScript, you would use the usual “camel casing minus the hyphen”, which is generally the norm for accessing CSS properties with JavaScript (e.g. myElement.style.zIndex = "100";).

Summary

In short, the z-index property can be a powerful tool when used correctly, and can offer a very easy solution to many layout issues in graphically complex designs. As long as you remember that it only applies to elements that have a value set for the position property, you will have no trouble using this interesting CSS property.