Today's Question:  What does your personal desk look like?        GIVE A SHOUT

 WEB


  10 Web Design Elements that You Shouldn’t Overlook

When it comes to designing and building websites, it never seems to happen fast enough.Given this fast pace, many small details that are eventually required to build the website are often left out of the design process. While these details might be minor, they are what take a website from nice to truly awesome.These details are often easy to miss because they don’t drive the overall look and feel of the website. The problem is that as your development team works through the design, it will be forced to design and create these elements for you anyway.You could adjust the production cycle...

2,131 0       WEB DESIGN VERIFICATION JQUERY


  Optional arguments in PHP function

In PHP, we can define our own functions which can accept optional number of arguments. In this kind of functions, the optional argument should be set with default value.Fox example, the next code example will illustrate this:<?php function func($name,$type=NULL) { echo "$name $type"; } func("Hello"); echo "<br />"; func("Hello","world"); echo "<br />";?>Here $type is an optional argument. It must be set with a default value either NULL or some other value. Quite simple.Right! In other programming languages, we can achieve similar effects. This is very convenient if we...

4,504 0       PHP OPTIONAL ARGUMENTS USER DEFINED FUNC


  Why is Great Design so Hard?

I want to take a slight detour from usable privacy and security and discuss issues of design. I was recently at the Microsoft Faculty Summit, an annual event where Microsoft discusses some of the big issues and directions they are headed. In one of the talks, a designer at Microsoft mentioned two data points I've informally heard before but had never confirmed. First, the ratio of developers to user interface designers at Microsoft was 50:1. Second, this ratio was better than any other company out there. As someone who teaches human-computer interaction, I wanted to push on this poin...

2,525 0       APPLE MICROSOFT UI DESIGN


  SSL in PHP for WAMP

Sometimes when we need to use email service provided by WAMP, we need to use some remote mail server such as Gmail. In Gmail, if we want to use the SMTP server to send email and want to use port 465, then the SSL connection should be setup. But by default in WAMP, the ssl is not usable. So to allow use SSL, what we should do is go to system tray and click PHP->PHP Extensions->php_openssl. Then now you can use Gmail to send email easily....

45,657 1       PHP EMAIL GMAIL SSL WAMP SMTP


  Interaction between JavaScript and Frameset

ou want to change more than one frame at a time? OK, well here is how to do make the trick work for you!The first thing you will need is a frameset to get you started. Again, I will use a frameset with two frames. Here is the code for the frameset page:<HTML><HEAD><TITLE>Frames Example 5</TITLE></HEAD><FRAMESET cols=\"20%,80%\"><FRAME SRC=\"page1.htm\" name=\"left_frame\"><FRAME SRC=\"page2.htm\" name=\"right_frame\"></FRAMESET></HTML>Be sure you give each frame a name using the name=\" \" attribute. I named the frames above \"left_fr...

4,107 0       JAVASCRIPT INTERACTION HTML FRAMESET FRA


  Square bracket in checkbox name

0down votefavoritei have a form with checkboxes like this:    <input type=\"checkbox\" name=\"type[]\" value=\"1\" />Fast Food<br>    <input type=\"checkbox\" name=\"type[]\" value=\"2\" />Table Service<br>    <input type=\"checkbox\" name=\"type[]\" value=\"3\" />Cafeteria<br>when i use the brackets in the name (type[]), my php works:    $type=$_POST[\'type\'];    echo \"types are:\";for ( $counter = 0; $counter < sizeof($type); $counter += 1) {    echo \"<br>\".$type[$counter];}but my jav...

5,561 0       PHP SQUARE BRACKET JAVASCRIPT ARRAY OF N