Change page: < 1 2 3 4 5 6 7 8 9 10 11 12 13 14 >  |  Displaying page 6 of 14, items 151 to 180 of 398.
iPad SDK : Preparing Dudel for a New Tool (part 1) - Setting Up the GUI
Let's start off, as before, by dealing with the interface for our controller class. We're going to have a new button for the Text tool, so DudelViewController will get a new instance variable to point at that, as well as a new action method for the button to call.
Coding JavaScript for Mobile Browsers (part 7)
As we discussed in the previous section, on most devices timers (and all JavaScript execution) are paused when the web page is sent to the background. I have an iPod Touch, and in Safari I always have my email open in one of the eight possible tabs (or windows).
Coding JavaScript for Mobile Browsers (part 6)
You can set the focus to a clickable element (e.g., a form input, link, or button) using the focus function of every DOM element. The most helpful usage is for form input controls.
iPad SDK : The Structure of Core Text
Before we start making use of Core Text in our code, an overview of how it works is in order. Unlike most of the new APIs discussed in the book, Core Text is a C-based API, rather than a set of Objective-C classes
iPad SDK : PDF Generation
The iOS new functionality for rendering to a PDF file means that anything you can draw to the screen using UIView can now be drawn straight into a PDF file.
jQuery 1.3 : Sorting and paging (part 5) - Finessing the sort keys
Now, we want to apply the same kind of sorting behavior to the Author(s) column of our table. By adding the sort-alpha class to its table header cell, the Author(s) column can be sorted with our existing code.
jQuery 1.3 : Sorting and paging (part 4)
The alternateRowColors() function that we wrote is a perfect candidate to become a jQuery plugin. In fact, any operation that we wish to apply to a set of DOM elements can easily be expressed as a plugin.
jQuery 1.3 : Sorting and paging (part 3) - Using a comparator to sort table rows
To perform the actual sort, we can use JavaScript's built in .sort() method. It does an in-place sort on an array, and can take a comparator function as an argument. This function compares two items in the array and should return a positive or negative number depending on which item should come first in the sorted array
jQuery 1.3 : Sorting and paging (part 2) - JavaScript sorting
There are times, though, when we either don't want to wait for server responses when sorting, or don't have a server-side scripting language available to us. A viable alternative in this case is to perform the sorting entirely on the browser using JavaScript client-side scripting.
jQuery 1.3 : Sorting and paging (part 1) - Server-side sorting
A common solution for data sorting is to perform it on the server side. Data in tables often comes from a database, which means that the code that pulls it out of the database can request it in a given sort order
Coding JavaScript for Mobile Browsers (part 5)
One of the most popular (and annoying) features of JavaScript is the usage of for opening the classic pop-up windows. For mobile browsers, the usage of this technique is not ideal, for many reasons.
Coding JavaScript for Mobile Browsers (part 4)
JavaScript has two objects related to sizes: document.documentElement and screen. The first is related to the size of the current document’s viewport, and the second to the whole screen of the device
Coding JavaScript for Mobile Browsers (part 3) - Writing to the document
The document.write function allows us to dynamically write HTML code to a document while it is rendering. This was a very common technique in the ’90s, but there are a lot of reasons for not using it in modern websites.
Coding JavaScript for Mobile Browsers (part 1) - Standard dialogs
JavaScript supports a list of standard dialogs that are undervalued in modern desktop websites, often being replaced by Dynamic HTML or UI libraries. They make great standard dialogs for use in mobile websites
Coding JavaScript for Mobile Browsers (part 1) - Code Execution
First of all, let’s see what is happening with basic JavaScript compatibility (variables, functions and basic alert functionality) with mobile browsers. Table 1 illustrates the current levels of support on the different platforms.
Programming the Mobile Web : JavaScript Mobile - Supported Technologies
We are going to test JavaScript compatibility in the following pages, but making JavaScript work requires more than just support for the language. There are many technologies that are bundled with JavaScript, but they are optional and will not work on all devices.
Security in Cloud Computing (part 4) - Audit and Compliance
It is clear that the CSP will face a large number of requests from its customers to prove that the CSP is secure and reliable. There a number of audit and compliance considerations for both the CSP and the customer to consider in cloud computing.
Security in Cloud Computing (part 3)
With the adoption of cloud services, a large part of your network, system, applications, and data will move to a third-party provider’s control.
Security in Cloud Computing (part 2) - Identity and Access Management
Managing access control and governance within identity and access management (IAM) to meet today’s business needs in the cloud remains one of the major hurdles for enterprise adoption of cloud services
Security in Cloud Computing (part 1) - Data Security and Storage
Since the premise of our book is that security is a concern when discussing cloud computing, let’s revisit the security considerations we previously discussed and conclude with our thoughts on the current and future states of these considerations for the cloud
Cloud Security and Privacy : Analyst Predictions
Most financial analysts feel that cloud computing will be a huge growth area in terms of IT spending and revenue streams over the next few years, but the estimates vary.
CSS for Mobile Browsers : WebKit Extensions (part 2) - Border Image
The border image extension is an excellent solution to the problem of creating a dynamically sized rectangle with custom borders. Its implementation is very similar to CSS Sprites, and usage is simple.
CSS for Mobile Browsers : WebKit Extensions (part 1) - Text Stroke and Fill
The open source project WebKit added many extensions to CSS, and several of these are under discussion for addition to CSS3. In the mobile world we have many WebKit flavors, and the extensions compatibility isn’t perfect across all of them.
jQuery 1.3 : Working with numeric form data (part 9) - The finished code
Many of the lines in jQuery could have been merged, were we particularly concerned with number of lines, because of jQuery's chainability. At any rate, here is the finished code for the shopping cart page, which concludes this chapter on forms
jQuery 1.3 : Working with numeric form data (part 8) - Editing shipping information
The shopping cart page also has a form for shipping information. Actually, it isn't a form at all when the page loads, and without JavaScript enabled, it remains a little box tucked away on the right side of the content area, containing a link to a page where the user can edit the shipping information
jQuery 1.3 : Working with numeric form data (part 7) - Deleting items
If shoppers on our site change their minds about items they have added to their carts, they can change the Quantity field for those items to 0. We can provide a more reassuring behavior, though, by adding explicit Delete buttons for each item
jQuery 1.3 : Working with numeric form data (part 6) - Finishing touches
The shipping calculation is simpler than tax since no rounding is involved in our example. The shipping rate is simply multiplied by the number of items to determine the total
jQuery 1.3 : Working with numeric form data (part 5)
The rest of the calculations on the page follow a similar pattern. For the subtotal, we can add up our totals for each row as they are calculated, and display the result using the same currency formatting as before
jQuery 1.3 : Working with numeric form data (part 4) - Dealing with decimal places
Though we have placed dollar signs in front of our totals, JavaScript is not aware that we are dealing with monetary values. As far as the computer is concerned, these are just numbers, and should be displayed as such
jQuery 1.3 : Working with numeric form data (part 3) - Parsing and formatting currency
Now, we can move on to the totals in the right-hand column. Each row's total cost should be calculated by multiplying the quantity entered by the price of that item. Since we're now performing multiple tasks for each row, we can begin by refactoring the quantity calculations a bit to be row-based rather than field-based
Most View
- Navigating the Central Administration Home Page (part 3) - Central Administration Page Option
- Windows Azure : Managing Access Control Service Resources (part 2)
- Developing for Windows Phone and Xbox Live : Multiplayer Games (part 6) - Searching for an Available Network Session
- SharePoint 2010 : Create a Personal or Public View for a List or Library (part 3) - Create a Gantt View
- SharePoint 2010 : Create a New Survey
- SharePoint 2010 : Change the Document Template for the New Button in a Document Library
- Securing Windows 7 : Thwarting Snoops and Crackers (part 1) - First, Some Basic Precautions
- Windows 7 : Installing and Replacing Hardware - Installing a UPS
- Working with Search Page Layouts : Modify the Search Results Presentation (part 1)
- Windows Small Business Server 2011 : Deploying a Second Server (part 1) - Installing a Second Server
Top 10
- Implementing Edge Services for an Exchange Server 2007 Environment : Utilizing the Basic Sender and Recipient Connection Filters (part 3) - Configuring Recipient Filtering
- Implementing Edge Services for an Exchange Server 2007 Environment : Utilizing the Basic Sender and Recipient Connection Filters (part 2)
- Implementing Edge Services for an Exchange Server 2007 Environment : Utilizing the Basic Sender and Recipient Connection Filters (part 1)
- Implementing Edge Services for an Exchange Server 2007 Environment : Installing and Configuring the Edge Transport Server Components
- What's New in SharePoint 2013 (part 7) - BCS
- What's New in SharePoint 2013 (part 6) - SEARCH
- What's New in SharePoint 2013 (part 6) - WEB CONTENT MANAGEMENT
- What's New in SharePoint 2013 (part 5) - ENTERPRISE CONTENT MANAGEMENT
- What's New in SharePoint 2013 (part 4) - WORKFLOWS
- What's New in SharePoint 2013 (part 3) - REMOTE EVENTS