Unit 3 notes
Unit 3 notes
http://msdn.microsoft.com/en-us/expression/jj873995.aspx
http://www.webassist.com/go/xweb-add-ins
Once you have downloaded an Add-in, use the following procedure to install the Add-in:
1) Select Tools > Add-ins. The Manage Add-ins dialog box appears.
2) Select Install…. Browse and select the Add-in and then click Open.
3) Select Yes.
4) Repeat the procedure to include more Add-ins.
1) Select Panels > Snippets. Notice the list of snippets available separated into categories
such as CSS, HTML, JavaScript, JQuery, etc.
2) To insert a snippet, do the following:
a) Create a new page. Place the cursor where you want the snippet to be placed.
b) Select View > Page > Code. (Snippets can be inserted only in Split or Code View).
c) Expand HTML, expand Hyperlink folder.
d) Double-click on a snippet, for example: Add to favorites. Notice the code is added
to the web page.
Import a .PSD (Photoshop files use this extension) file and do the following:
1) Create a new web page, save the file as psd.html.
2) Select File > Import > Adobe Photoshop (.psd)
3) Browse and select the file. Click Open. Import Adobe Photoshop File dialog box Appears.
4) You can select the layers you want to import using the options in the left pane. Select
Compatibility Image located at right bottom and click OK.
Unit:- 3 (Web scripting Java Script)
Ans: -
1. JavaScript is a cross-platform, object-oriented scripting language.
2. JavaScript is a small, lightweight language. It is not useful as a standalone language, but is
designed for easy embedding in other products and applications, such as web browsers.
3. Inside a host environment, JavaScript can be connected to the objects of its environment
to provide programmatic control over them.
Que 2:- What is Difference between client side java script and server side java script?
Ans 2:-
Client-side JavaScript extends the core language by supplying objects to
control a browser (Navigator or another web browser) and its Document
Object Model (DOM).
For example, client-side extensions allow an application to place elements on an
HTML form and respond to user events such as mouse clicks, form input, and page
navigation.
Server-side JavaScript extends the core language by supplying objects
relevant to running JavaScript on a server.
For example, server-side extensions allow an application to communicate with a
relational database, provide continuity of information from one invocation to
another of the application, or perform file manipulations on a server.
1. Browser Support
All browsers have accepted JavaScript as a scripting language and provide integrated support
for it. For example, to access flash content, you need to install flash plug-in in your browser.
But to use JavaScript, you don't have to use any plug-in at all.
JavaScript has access to Document Object Model DOM of browser. You can change the
structure of web pages at runtime. Thus, JavaScript can be used to add different effects to
WebPages. On the other hand, JavaScript could be used on the server side as well.
In JavaScript, function could be assigned to variables just like any other data types. A function
can accept another function as a parameter and can also return a function. You can have
functions with no name as well. This provides you the ability to code in functional
programming style.
JavaScript is an object oriented language. However, the way JavaScript handles objects and
inheritance is bit different from conventional object oriented programming languages like C+
+/ Java.
5. Run-time Environment
JavaScript typically relies on a run-time environment (e.g. in a web browser) to provide objects
and methods by which scripts can interact with "the outside world".
6. Vendor-specific Extensions