Welcome To Snipplr
Everyone's Recent Snippets Tagged c
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
This works with the standard video player component in Flash CS3.
Throw this actionscript in the first frame. Name your video player "videoPlayer" within Flash.
Then in the HTML markup object tag:
param name=FlashVars value="url=PathToVideo.flv...
0
1665
posted 17 years ago by relaxasaurus
Super simple output of browser version. Redundantly outputs the same info using both asp and javascript.
0
2038
posted 17 years ago by squaretone
A quick and easy function that will output table column names and loop through your SQL recordset results outputting it into a HTML table.
2
2697
posted 17 years ago by neal_grosskopf
Appends a css class to all form input elements on a page by extracting the input type from the element in question.
0
1048
posted 17 years ago by stylephreak
A dictionary-like class that can be used to assign unique integer IDs to names. This class is part of the [igraph library](http://igraph.sourceforge.net), but I need it occasionally in other projects so I post it here.
1
1878
posted 17 years ago by ntamas
An example of utilizing a category in Groovy in order to create withIndexfunctionality on lists each methods (traversing the list and having the index on each step), @ http://markmail.org/message/pa2irg4mvydpxi7c
0
1905
posted 17 years ago by narkisr
About the dd command:
dd if=<source> of=<target> bs=<byte>("USUALLY" some power of 2, not less than 512 bytes(ie, 512, 1024, 2048, 4096, 8192, 16384[/b], but can be ANY reasonable number.) skip= seek= conv=<conversion>.
Source is the data being...
0
1740
posted 17 years ago by webonomic
If you want to have a JavaScript confirmation alert to popup before executing the codebehind (e.g. asking the user if they really want to delete a record):
1
1775
posted 17 years ago by blackf0rk
If you need to get the DataKey value in RowDataBound (e.g. Assigning the DataKey to the CommandArgument of a button):
0
1771
posted 17 years ago by blackf0rk