Xem 1-14 trên 14 kết quả Using php and jquery
  • PHP and jQuery are two of the most famous open source frameworks used for web development. This book will explain how to leverage their power by building a core CMS which can be used for most projects without needing to be written, and how to add custom plugins that can then be tailored to the individual project. This book walks you through the creation of a CMS core, including basic page creation and user management, followed by a plugin architecture, and example plugins.

    pdf340p hotmoingay9 30-01-2013 69 24   Download

  • All rights reserved. No part of this work may be reproduced or transmitted in any form or by any means, electronic or mechanical, including photocopying, recording, or by any information storage or retrieval system, without the prior written permission of the copyright owner and the publisher.Trademarked names, logos, and images may appear in this book.

    pdf401p hoangdoanisuit 10-09-2011 145 86   Download

  • AJAX applications make extensive use of JavaScript to manipulate the content and the look and feel of web pages. Web pages should have the DOM loaded before any JavaScript code tries to perform any such modification on it. This recipe will explain how to execute the JavaScript after the content has been loaded and the DOM is ready.

    pdf332p tailieuvip13 24-07-2012 58 26   Download

  • CHAPTER 8 ■ EDITING THE CALENDAR WITH AJAX AND JQUERY event_title=Test+Event&event_start=2010-01-04+08%3A00%3A00&event_end=2010-01-04+10%3A00  %3A00&event_description=This+is+a+test+description.&event_id=&token=a52412c2e7bfb993844  0dc9d4e0867370e350134&action=event_edit Submitting the Serialized Form Data to the Processing File Now that the form data is serialized, you’re ready use $.ajax() to send the data to the processing file. Use the POST method to submit the serialized data to ajax.inc.php, and then fade out the modal window and overlay using fx.

    pdf10p yukogaru9 29-10-2010 52 12   Download

  • CHAPTER 8 ■ EDITING THE CALENDAR WITH AJAX AND JQUERY Configuring the Form Submission Event Handler for Deletion Confirming event deletion requires a little more modification to init.js. To execute properly, the value of the Submit button needs to be stored and passed to the processing file. This is because the form can be submitted with either Yes, Delete It or Nope! Just Kidding! as values; the script checks which button was clicked to determine what action to take. To store the button’s value, use the this keyword as the jQuery selector, and then store the returned string from .

    pdf10p yukogaru9 29-10-2010 38 11   Download

  • CHAPTER 8 ■ EDITING THE CALENDAR WITH AJAX AND JQUERY "deserialize" : function(str){...}, "urldecode" : function(str) {...} }; Fixing Timezone Inconsistencies You aren’t passing a time or timezone to the Date object, so that object will default to midnight Greenwich Mean Time (00:00:00 GMT). This can cause your dates to behave unexpectedly for users in different timezones. To address this problem, you’ll need to adjust the date by the timezone offset using two built-in Date object methods: .setMinutes() and .getTimezoneOffset(). The return value of .

    pdf10p yukogaru9 29-10-2010 44 8   Download

  • CHAPTER 4 ■ BUILD AN EVENTS CALENDAR Because the markup generation is fairly simple when only using one event, all this method will do is load the desired event by its ID using _loadEventData() and then return the first—and only, due to the LIMIT 1 clause—result from the method. Add the following method to the Calendar class: _loadEventData($id); /* * Return an event object 161 CHAPTER 4 ■ BUILD AN

    pdf10p yukogaru9 29-10-2010 39 7   Download

  • CHAPTER 7 ■ ENHANCING THE USER INTERFACE WITH JQUERY // Pulls up events in a modal window $("lia").live("click", function(event){ // Stops the link from loading view.php event.preventDefault(); // Adds an "active" class to the link $(this).addClass("active"); // Gets the query string from the link href var data = $(this) .attr("href") .replace(/.+?\?(.*)$/, "$1"), // Checks if the modal window exists and // selects it, or creates a new one modal = fx.initModal(); }); }); Next, set up the call to $.ajax() in the event handler.

    pdf10p yukogaru9 29-10-2010 57 13   Download

  • CHAPTER 7 ■ ENHANCING THE USER INTERFACE WITH JQUERY You may have noticed that the modal window appears to flicker right as it’s opened. This happens because fx.initModal() appends the modal window to the body element without hiding it. To correct this, add a call to .hide() in fx.initModal() using the following bold code: // Functions to manipulate the modal window fx = { // Checks for a modal window and returns it, or // else creates a new one and returns that "initModal" : function() { // If no elements are matched, the length // property will be 0 if...

    pdf10p yukogaru9 29-10-2010 33 7   Download

  • Events and Birthdays Our "Create event" template simply needs fields for the name, date, start time, end time, description, and checkboxes for all of the user's friends. We can give the date field a class of selectdate, to make use of the jQuery datepicker plug-in we used for profiles. We may also wish to use the time picker plug-in too, to make time selection easier. The friends loop is highlighted in the following code: Create an event Name

    Type of event
    Public event Private event


    pdf10p yukogaru10 31-10-2010 29 6   Download

  • This book is intended for anyone interested in building mobile web applications using the jQuery Mobile framework. You’ll need at least a basic knowledge of web technologies including HTML, CSS, JavaScript and web servers. In addition, a couple of chapters — the API chapter and the Task Tango chapter — assume you have some experience of the jQuery JavaScript library on which jQuery Mobile is built, including jQuery selectors and events. The Task Tango chapter also includes a lot of PHP code, so some knowledge of PHP will be helpful when following through the examples.

    pdf34p nhatnam06 25-02-2013 87 33   Download

  • To fully understand jQuery and its applications in modern web programming, it's important to take a moment and look back at where jQuery came from, what needs it was built to fill, and what programming in JavaScript was like before jQuery came around. In this chapter you'll learn about JavaScript libraries and the needs they seek to fulfill, as well as why jQuery is the library of choice for the majority of web developers. You'll also learn the basics of jQuery, including how to make the library available for use in your applications and how the core of jQuery—its...

    pdf360p tailieuvip14 26-07-2012 62 17   Download

  • This book is a tutorial with step-by-step instructions, packed with practical code examples, images, advice, and ideas. If you are a PHP developer who is working with Joomla!, this book is for you. It is also aimed at web designers who want to add JavaScript elements, using jQuery, to their Joomla! sites, themes, modules, and other extensions.

    pdf292p trasua_123 05-01-2013 19 4   Download

  • Learn how to customize websites with XOOPS, the open source CMS that helps non-developers build dynamic community websites, intranets, and other applications. This concise book shows you how to use XOOPS themes and modules to design everything from simple blogs to large database-driven CMS portals. Web designers and current XOOPS users will learn how to create a site theme with CSS and jQuery libraries, including techniques for making additional modules conform to the site's look and feel.

    pdf126p trac2_123 11-04-2013 285 4   Download

Đồng bộ tài khoản