Showing posts with label CSS3 institutes. Show all posts
Showing posts with label CSS3 institutes. Show all posts

Tuesday, December 15, 2015

Transform Functions in CSS3

CSS 3 transform property changes the coordinate position of CSS. By this property element can be translated,rotated, scaled, skews .

The transform functions include:
translate()
The translate(x, y) function is similar to relative positioning, translating, or relocating, an element by x from the left, and y from the top.

translateX()
The translateX(x) function is similar to the translate() function above, but only the left/right value is specified.

translateY()
The translateY(y) function is similar to the translate() function above, but only the top/bottom value is specified.

scale()
The scale(w, h) property scales an element by w width and h height. If only one value is declared, the scaling will be proportional. Since you likely don’t want to distort an element, you’ll generally see only one parameter in this transform function.

scaleX()
The scalex(w) function is similar to the scale() function above, but only the width value is specified. It is the same as declaring scale(w, 1).

scaleY()
The scaley(y) function is similar to the scale() function above, but only the height value is specified. It is the same as declaring scale(1, h)

rotate()
The rotate(angle) function with rotate an element about the point of origin (described below) but the angle value specified.

skew()
The skew(x,y) function specifies a skew along the X and Y axes. The x specifies the skew on the x-axis, the y specifies the skew on the y-axis. If there is only one parameter, then it’s the same as skew(x, 0), or skewX(x) . The values are angles: degrees, turns or grads.

skewX()
The skewx(x) function is similar to the skew() value above, but only the x-axis value is specified. It is the same as declaring skew(x,0).

skewY()
The skewy(y) function is similar to the skew() value above, but only the y-axis value is specified. It is the same as declaring skew(0,y).

The elements styled with CSS3 can be transformed in 2D or 3D space using CSS transform functions. CSS3 is a useful language to describe the rendering of structured documents like (HTML5 and XML) on screen, on paper etc.

Wednesday, October 14, 2015

Learn The Basic Concepts of The HTML5 and CSS3

HTML stands for hypertext markup language, which is widely used for structuring and presenting content for the world wide web. The latest version of the HTML is called HTML5 i.e.,the fifth revision. The main aim behind of this language is to improve it for the latest multimedia while keeping it easily readable by humans and clearly understood by computers and all other devices (web browsers, parsers, etc).

HTML5 is a single markup language, which includes HTML and XHTML syntax. This language includes detailed processing models to encourage more inter-operable implementations; it extends, improves and rationalists the markup available for documents, and introduces markup and application programming interfaces (APIs) for complex web applications. Due to this reason this language is much more useful for the cross-platform mobile applications. Lots of feature of HTML5 is develop with the consideration of being able to run on small-screen devices such as smartphones and tablets.

There are some semantic feature in HTML5, which includes the new elements like:(video), (audio) and (canvas), as well as the integration of scalable vector graphics (SVG) content and MathML for mathematical formulas. The main concept of developing this feature is to handle multimedia and graphical content on the world wide web easily without using plugins and APIs. Another elements of this language is (section), (article), (header) and (nav), which is designed to enrich the semantic content of documents.

What Is CSS3?
CSS3 is stands for Cascading style sheet version 3. The main changes of latest CSS level 3 is introduction of modules.
Some important modules of the CSS3 are :
  • Selectors
  • Box Model
  • Backgrounds and Borders
  • Image Values and Replaced Content
  • Text Effects
  • 2D/3D Transformations
  • Animations
  • Multiple Column Layout
  • User Interface
Using CSS3 we can easily maintain the look and design of the Website. Using combination of Html5 and CSS3 we can make our website much more attractive to the users. Using the CSS3 code we can represent our html5 code in different styles for the different rendering methods like in smartphones, tablets,in print or by voice on speech based browsers. Responsive web designs allows us to adjust the website according to the size of screens like smart phones, tablets and small screen devices. Using CSS3 we can design table less website, which is helpful in developing responsive websites.With the power of CSS3, it is possible to create some very cool and effective web elements that can just slot into place on any eCommerce website.

Wednesday, August 19, 2015

How to create theme changer using Cookies in JavaScript?

What is the theme?
Website theme determines the overall look of your site. Your theme is the layout or blueprint of your site, it helps structure your website, giving you to areas to place pictures and text, or things like navigation bars and other widgets.
A theme requirements the look and style of your website. Your theme is made up of a range of things, such as font types and sizes. Your theme helps to reflect your identity through your site, and helps to improve your customer’s experience.

Simply put, the layout and themes are the same as decorating a room in your house.
What does the theme control?
Website themes control the following elements of your website:
       Default colors and shapes
       Default site background and background image library
       Text style choices in the content editor(e.g. Heading 1, heading 2)
       Master layouts
       Customization option that appear on the colors and styles screen
       Menu location (vertical and horizontal) and the menu are static and dynamic.
Step to adding a Style Sheet change in JavaScript:
Let’s suppose that we have the following style sheet defined in our HEAD section.
<link rel="stylesheet" type="text/css" href="web-css/theme1.css" title="theme1">
<link rel="alternate stylesheet" type="text/css" href="web-css/theme2.css" title="theme2">
Create a Button:
<form method="post" class="left">
            <input type="submit" value="theme1" onclick="change_style('theme1');return false;" name="theme" id="theme1">
            <input type="submit" value="theme2" onclick="change_style('theme2');return false;" name="theme" id="theme2">
</form>
When the visitor clicks any of the button, the javascript onclick handler, change_style(), will run. The function will be passed either theme1 or theme2 as its parameter, depending on which button is clicked. The words theme1 and theme2 correspond to the title attributes for the link elements referencing the style sheets.
JavaScript Function to Change Style Sheet: 
The actual JavaScript code needed to implement css style changing can be found below.
<script type="text/javascript">
var scname = "style" ;    //Global variable declaration and initialize a value
var scduration = 30 ;      //Global variable declaration and initialize a value
function change_style ( css_title )   // let’s create a function Name
{           //css_style is used to pass  a value
  var i, tag ;   //local variable declaration
  tag = document.getElementsByTagName("link") ; 
/*getElementByTagName is a method and link is representing the name of elements. */
  for (i = 0; i < tag.length ; i++ )  //for Loop execute a block of code
  {
    if ((tag[i].rel.indexOf( "stylesheet" ) != -1)&&tag[i].title)
    {
      tag[i].disabled = true ;
      if (tag[i].title == css_title)
      {
        tag[i].disabled = false ;
      }
            /* The above code checks the value : If value is exact equal(==) than condition is true and put the Boolean value false. */
    }
/*The above code checks the value: If value is NOT EQUAL -1 (!=-1) and tag(array) of I value are same than condition true then after tag[i] is array and disabled is method and put the Boolean value true.*/

    set_cookie( scname, css_title,scduration );

  }
}
function set_style_from_cookie()   //Another function
{
  var css_title = get_cookie( scname );
  if (css_title.length) {
    switch_style( css_title );
  }
}
function set_cookie ( cookie_name, cookie_value,
    lifespan_in_days, valid_domain )  
{
   
    var domain_string = valid_domain ?
                       ("; domain=" + valid_domain) : '' ;
    document.cookie = cookie_name +
                       "=" + encodeURIComponent( cookie_value ) +
                       "; max-age=" + 60 * 60 *
                       24 * lifespan_in_days +
                       "; path=/" + domain_string ;
}
function get_cookie ( cookie_name )
{   
    var cookie_string = document.cookie ;
    if (cookie_string.length != 0) {
        var cookie_value = cookie_string.match ('(^|;)[\s]*' + cookie_name +
                        '=([^;]*)' );
        return decodeURIComponent ( cookie_value[2] ) ;
    }
    return '' ;
}
Onload Cookies Change: 
The visitors style sheet settings remain when they visit other pages of your site, as well as when they reload the page, you will also need to add an onload attribute to your web pages body element.
For example:
<body onload=”set_style_from_cookie()”>
Summary:
This article finish the series on creating a theme changer, to change style sheets, using both CSS and JavaScript. Above explanation will surely help you in understanding Theme Changer in JavaScript, CSS and HTML.

Wednesday, August 12, 2015

Practical Differences in Opacity and Alpha in CSS3

Both Opacity and Alpha refers to the same feature: the level of transparency. However, their usage and effect is very different.

1.The “Opacity” means the transparency of an element. “RGBA” stands for Red Green Blue Alpha. RGB will set the color of an object and “Alpha” sets the level of opacity.

2. Opacity is a property. Alpha is the one of the components of RGBA.

3. Opacity affects the entire element (including child elements) on which it is applied, whereas Alpha value will affect the color and level of transparency of the object where it is applied. This can be further explained with below example.

Example:-
 If a square is made and text is written inside the square and Opacity property is applied, then depending upon the opacity values, transparency effect will be reflected on entire element i.e. both on the shape as well as text. (See Figure 1.)


                                                 Figure 1. Opacity Example

Whereas if the same square and text is made and “Alpha” effect in RGBA is applied then only square will be affected and square color will be changed depending upon the alpha values. Text will remain unaffected. (See Figure 2.)


4. The value of Opacity and Alpha can be an integer or decimal depending upon the values taken between 0-1.

VALUE
MEANING
0
Element would be fully transparent
Any value between 0 (eg. 0.5) and 1
Element would be translucent.
1
Element would be fully opaque

Learn more about HTML5 and CSS3 at ADMEC Multimedia Institute.


Monday, August 3, 2015

Contribution of IT Training Institute for better Career

Due to the increasing population of India unemployment and underemployment have become quite common today. So, the demand of better career and secure job is also increasing day by day. According to the survey approximate 12 lakhs, students completed technical degree per year. But according to survey 10 to 15 % students get a job after completion of a job.

Here a better training institute pitch in to fill the gap. This type of institute provides required skill to the trainee and make industry ready. Keeping the demand of industry, a well reputed training institute provides a comprehensive training in web design, web development, AutoCAD, Revit, animation, digital marketing, and architect etc. They also partnering with company or industry for offering specialized training and placement. This tie-ups helps training institute to offer other value added services like live project training and certifications to the trainee. 

There are lots of training institute in all over the country which provides excellent , web development, Revit, animation, digital marketing and architect courses to the student. These type of institutes offers short term and long term courses in both classrooms and online mode. Further, they also conduct quiz competitions, workshop, events and all other activity to encourage trainee-industry interaction and also make them ready for face interview.

Let's Consider over some important factors to evaluate before selecting best IT training institute:
1. Evaluation of personal interests and skills: It is necessary evaluate our personal interests and skills before joining any training institute. Some people are proficient in web design, web development where others prefer to acquire software knowledge. There are lots of training institute that help students to achieve their dream career. But few of them also help as a career guidance counsellor to provide adequate career by assessing students strengths and weakness.

2. Evaluation of present industries demands: It is also necessary to understand the latest ongoing demands for professional skills and related job opportunities. A best it training institute instructor always aware about latest industry demand and skills requirement for professionals.

3. Evaluation of institute of accreditation: Completing training from an accredited institute is its own importance. So, before joining the institute it is essential to know is that institute is accredited or not?

4. Evaluation of Fee structure: During the consideration of it training institute, It is important factors to considered the fee incurred by an institute. Some institutes charge hefty amounts while some charge reasonable amount for training courses which can be paid in installment.

5. Evaluation of placement assistance: There are many institutes which that also provide placement to its trainee. It is necessary to analysis the placement record of the training institute.

ADMEC Multimedia Institute offers careers courses and also provide skills requirement for the trainee. It is one of the well known it training institute, which is ISO Certified 9001:2008 and also provides 100% placement to student. We always trained student using the latest technology and most up to date software, so that student can aware about latest technology which is adopting by industry. 

Featured Post

ADMEC Multimedia Institute Scholarship Program

The ADMEC Multimedia Institute scholarship program aims to select and trained talented non working female, married woman and non married m...