Search completed in 0.98 seconds.
6 results for "sample1":
Traversing an HTML table with JavaScript and DOM Interfaces - Web APIs
Web › API › Document Object Model › Traversing an HTML table with JavaScript and DOM Interfaces
ns provided here will work fine in any modern browser, including all versions of firefox and ie 5+. the dom methods presented here are part of the document object model (core) level 1 specification. dom level 1 includes both methods for generic document access and manipulation (dom 1 core) as well as methods specific to html documents (dom 1 html). ...
...de (containing the word "world") from the second <p> element, myp. myp.removechild(mytextnode); text node mytextnode (containing the word "world") still exists. the following code attaches mytextnode to the recently created <p> element, mynewptagnode. mynewptagnode.appendchild(mytextnode); the final state for the modified object tree looks like this: creating a table dynamically (back to sample1.html) for the rest of this article we will continue working with sample1.html. the following figure shows the table object tree structure for the table created in the sample. reviewing the html table structure creating element nodes and inserting them into the document tree the basic steps to create the table in sample1.html are: get the body object (first item of the document object). ...
... at the end of the start function, there is a new line of code. the table's border property was set using another dom method, setattribute(). setattribute() has two arguments: the attribute name and the attribute value. ...
...And 2 more matches
Index
Mozilla › Projects › NSS › Index
s, web development, hashing the nss same code below computes the hash of a file and saves it to another file, this illustrates the use of nss message apis. 175 initialize nss database - sample 2 html, javascript, nss, nss article, nss initialization, web development the nss sample code below demonstrates how to initialize the nss database. 176 nss sample code sample1 this is an example program that demonstrates how to do key generation and transport between cooperating servers. this program shows the following: 177 nss sample code sample_1_hashing examples, nss, security this is an example program that demonstrates how to compute the hash of a file and save it to another file. this program illustrates the use of nss message a...
...mmary! 183 nss sample code sample4 no summary! 184 nss sample code sample5 no summary! 185 nss sample code sample6 no summary! 186 utilities for nss samples these utility functions are adapted from those found in the sectool library used by the nss security tools and other nss test applications. 187 sample1 example, nss 1. a program to compute the hash of a file and save it to another file. /* nspr headers */ #include <prprf.h> #include <prtypes.h> #include <plgetopt.h> #include <prio.h> #include <prprf.h> /* nss headers */ #include <secoid.h> #include <secmodt.h> #include <sechash.h> typedef struct { const char *hashname; secoidtag oid; } nametagpair; /* the...
Introducing the Audio API extension - Archive of obsolete content
Archive › Mozilla › Introducing the Audio API Extension
le event has 2 attributes: framebuffer: framebuffer (i.e., an array) containing decoded audio sample data (i.e., floats) time: timestamp for these samples measured from the start in seconds the framebuffer contains an array of audio samples. it's important to note that the samples are not separated by channels; they are all delivered together. for example, for a two-channel signal: channel1-sample1 channel2-sample1 channel1-sample2 channel2-sample2 channel1-sample3 channel2-sample3. we can extend the previous example to visualize the timestamp and the first two samples in a <div> element: <!doctype html> <html> <head> <title>javascript visualization example</title> </head> <body> <audio id="audio-element" src="revolve.ogg" controls="true" st...
Skinning XUL Files by Hand - Archive of obsolete content
Archive › Mozilla › XUL › Tutorial › Skinning XUL Files by Hand
at appear in the global skin and to make new classes only when necessary. browse through the global skin to familiarize yourself with what's there. in the next few sections, you will be importing this style information into a custom stylesheet and extending it with new style rules for your xul. loading stylesheets in xul for your custom skin, let's assume you want to skin the xul file, xulnote_sample1.xul. to work with this xul file, save it locally and rename itsample1.xul. though applying inline styles is a perfectly legal move in xul and a good idea in some rare cases, in general you should try to keep the xul skin separate from the actual xul structure. this independence of function and form is a great advantage of xul, and it should not be overlooked. a css file is a regular text file w...