... conn=getConnection();
int x=window.getXPos();
int y=window.getYPos();
int w=window.getWidth();
int h=window.getHeight();
int id=window.getId();
String sql="UPDATE portal_windows SET xPos="+x
... parseInt(elemWin.style.height);
Settings("saveSettings",winProps);
elemWin = "";
}
Listing 11.10 SaveWindowProperties() function
b
Obtain window ID
c
Find
wi...
...
model, and messaging using
XMLHttpRequest and other techniques. Aims to
support JavaScript in a range of settings, including
SVG and Netscape’s Java-
based Rhino engine, as well as in the web browser.
DWR ... clogging
up the calling
HTML code; all events are dynamically attached. Easy to inte-
grate with templating engine, and to hook into existing
PHP classes or MySQL
database for...
... 199
Applying multiple operations in a wrapper method 201
Retaining state within a wrapper method 206
7.5 Summary 216
8
Talk to the server with Ajax 217
8. 1 Brushing up on Ajax 2 18
Creating an XHR instance ... custom plugins 185
7.1 Why extend? 186
7.2 The jQuery plugin authoring guidelines 187
Naming files and functions 187
■
Beware the $ 189
Taming complex parameter lists...
... jQuery plugin authoring guidelines 187
of this chapter, we’ll examine the guidelines and patterns that allow us to create
jQuery plugins and we’ll create a few of our own. In the following chapter, ... in use later in this chapter and in jQuery
functions that will be introduced in chapter 8. But for now, let’s finally look at how
we extend jQuery with our own utility functions....
... expressing (inner and outer) joins:
■
An ordinary join in the
from
clause
■
A fetch join in the
from
clause
■
A theta-style join in the
where
clause
■
An implicit association join
Later, ...
candidates for a join
operation.
What most people think of when they hear the word join in the context of SQL
databases is an inner join. An inner join is one of several types o...
... 481
Working with Microsoft Internet Explorer 483
Working with Mozilla 484
12.5 Completing the search 485
Applying a Cascading Style Sheet 485
■
Improving the
search 487
■
Deciding to use XSLT 489
Overcoming ... 4 48
Autosaving the information to the database 450
11.6 Refactoring 453
Defining the constructor 455
■
Adapting the AjaxWindows.js
library 456
■
Specifying the portal...