background preloader

Anatomy of a Page

Anatomy of a Page

kuler Safari Web Content Guide: Configuring the Viewport Safari on iOS displays webpages at a scale that works for most web content originally designed for the desktop. If these default settings don’t work for your webpages, it is highly recommended that you change the settings by configuring the viewport. You especially need to configure the viewport if you are designing webpages specifically for iOS. Configuring the viewport is easy—just add one line of HTML to your webpage—but understanding how viewport properties affect the presentation of your webpages on iOS is more complex. Before configuring the viewport, you need a deeper understanding of what the visible area and viewport are on iOS. If you are already familiar with the viewport on iOS, read “Using the Viewport Meta Tag” for details on the viewport tag and “Viewport Settings for Web Applications” for web application tips. Read “Layout and Metrics on iPhone and iPod touch” to learn about the available screen space for webpages on small devices.Read “What Is the Viewport?”

jQuery Mobile 1.0 The official release of jQuery Mobile 1.0 was recently announced, and this tutorial will provide you with an overview of how this popular framework can assist you in your cross-platform and web based app development! jQuery Mobile is an extension to the popular jQuery JavaScript framework. As the name suggests, it is an implementation specifically geared toward mobile devices, and over the last year it has come a long way. It is now one of the more popular frameworks for developing web based applications on mobile devices. In addition to providing a great solution for standalone web based apps, it is also often wrapped in an SDK like PhoneGap to serve as an essential component to many native applications. The team behind jQuery Mobile has been working hard to get the framework where it is today, and the last three months specifically have taken it from a beta to an official release. Create Your Page Before we begin, we need to make sure that we have a couple of things in the right place.

HOWTO: Native iPhone/iPad apps in JavaScript More resources On top of the information below, I can recommend a few other resources: Building iPhone Apps with HTML, CSS, and JavaScript is the only book I found that covered everything. I highly recommend it if you're planning on doing serious app development in JavaScript. Making it full-screen Normally, if you press "+" in mobile Safari and then "Add to Home Screen," the icon it creates acts like a bookmark into Safari. To get rid of the URL and button bars, just add a meta tag: This is what my log app looks like when launched from the home screen: Changing the phone status bar You can also change how the phone's status bar is displayed with a meta tag. The values for content are default, black and black-translucent. Preventing scaling If you pinch on a web app, it still responds like it's in a browser and zooms in. You'll almost certainly want to set the viewport width to the device width as well, so that the app shows up at its natural resolution. Preventing elastic scrolling Confused?

10 tips for designing mobile websites | These Days Labs 10 tips for web designers in 2010 - the year of the mobile. 1. Design with a fluid layout, min-width: 320px There are two factors that make this a necessity. I have found websites with a minimum width of 320px will look good on most high-end mobile devices like the iPhone, Android and Nokia N97. Technically, the retina display on the iPhone 4 has a screen resolution of 640 x 960 pixels but don't worry, if you optimise your site for 320 x 480, the iPhone 4 will scale it up by a factor of two so it fits the whole screen. 2. The iPhone 4 display has four times the number of pixels as that of the original iPhone. Designers should create their Photoshop documents with a width of 640 pixels. Here's how to use a CSS media query to insert a high resolution image for iPhone 4: The first line that might jump out at you as being a little unusual is probably -webkit-background-size: 100px 40px;. The second interesting part is the media query @media screen and (-webkit-device-pixel-ratio: 2) {...}.

How to Test your Local Website Online with Dropbox Learn how you can code your HTML /CSS /JavaScript files on a local computer and still test the site online using Dropbox. Whether you are designing a one-page basic HTML site or are developing a slightly more complicated site that uses JavaScript and jQuery functions, you need to thoroughly test the design and functionality before putting the HTML/CSS/JS files on a live web server. How do you test the files associated with your project? If you are a professional web designer /developer, you’ve probably set up a local server to test the sites on the computer itself but the workflow is a little more tedious for the rest of us. You write the code in a local folder, then upload the associated files to a FTP server and finally, you load these online files in a browser for testing – this code-upload-test cycle may have to repeated multiple time until your site works as expected. There is however an easier way as well that should save you some time. Also see: How to Completely Test your Website

Thinking In Software Google C++ Style Guide Definition: Streams are a replacement for printf() and scanf(). Pros: With streams, you do not need to know the type of the object you are printing. You do not have problems with format strings not matching the argument list. (Though with gcc, you do not have that problem with printf either.) Streams have automatic constructors and destructors that open and close the relevant files. Cons: Streams make it difficult to do functionality like pread(). Decision: Do not use streams, except where required by a logging interface. There are various pros and cons to using streams, but in this case, as in many other cases, consistency trumps the debate. Extended Discussion There has been debate on this issue, so this explains the reasoning in greater depth. Proponents of streams have argued that streams are the obvious choice of the two, but the issue is not actually so clear. cout << this; // Prints the address cout << *this; // Prints the contents

C Programming and Data Structures Course, IIT Kharagpur Programming Video Tutorials, P.P.Chakraborty SEE: Guide to Download NPTEL Video Lecture Course Description : Contents: Introduction C Programming Data Structuring: Case Study Problem Decomposition By Recursion Problem Decomposition By Recursion Merge sort And Quick sort Characters And Strings Arrays: Addresses And Contents Structures Dynamic Allocation Linked Lists Complexity (Efficiency) of Algorithms Asymptotic Growth Functions Asymptotic Analysis of Algorithms Data Structuring Search Trees 2-3 Trees Algorithm Design Graphs Conclusions Other Resources : Citation | Other Programming Courses » check out the complete list of Programming Video lectures Respected Sir,These Courses are very useful to the students to enhance their subject knowledge and also useful to the teaching staff to enhance their subject presentation skills.It's a boon to the student community as well as parents who opt for Quality Education. Reply message added successfully. Respected Sir, Its golden chance for me for utilizing this type of facilities.

C++ Language Tutorial This website uses cookies. By continuing, you give permission to deploy cookies, as detailed in our privacy policy. ok Search: Not logged in C++ Language These tutorials explain the C++ language from its basics up to the newest features introduced by C++11. Introduction Compilers Basics of C++ Program structure Compound data types Classes Other language features C++ Standard Library Input/Output with files Tutorials C++ LanguageAscii CodesBoolean OperationsNumerical Bases C++ Language Introduction:CompilersBasics of C++:Program structure:Compound data types:Classes:Other language features:Standard library:Input/output with files

Related: