http://www.forta.com/blog/index.cfm/2006/11/1/improving-cfdirectory-performance this post is awesome… it’s an undocumented feature that sits in a live doc note on the live docs of coldfusion…. Here is what’s written on Ben’s Blog:
http://www.forta.com/blog/index.cfm/2006/11/1/improving-cfdirectory-performance this post is awesome… it’s an undocumented feature that sits in a live doc note on the live docs of coldfusion…. Here is what’s written on Ben’s Blog:
Here is a simple browser detection script <cfif Trim(ListGetAt(CGI.HTTP_USER_AGENT, 2, “;”)) EQ “MSIE 6.0″> <link rel=“stylesheet” type=“text/css” href=“css/main_IE6.css” media=“screen” /> <cfelseif Trim(ListGetAT(CGI.HTTP_USER_AGENT, 2, “;”)) EQ “MSIE 7.0″> <link rel=“stylesheet” type=“text/css” href=“css/main_IE7.css” media=“screen” />
Site: http://www.sonburst.com/nng/ The application no longer will display the time on the page, it turned to the original request of a progress bar that shows a percentage…. There are some problems of the page not doing what they want it to, when going back through mp3’s… the problem has been identified in .mp3 files are [...]
This isn’t perfect, but what i had to do was use the “escape” method…. var artist = “Set Your Goals” var album = “Mutiny!” var someVar = ‘<br> Some Test’ + escape(artist) + ‘/’ + escape(album) + ‘end’; This was a workaround for some stuff I do for killtheheart player I haven’t been able to [...]
One of the biggest challenges in programming, is code reuse. In flex i have been challenged, coming from a coldfusion background, and using the ever so popular “cfinclude” tag. I was wondering similar ways to do so in flex. You do this using things called “Components”. Create a new Project in flex: File > New [...]
there is a known bug in the counter on the quiz app Site: http://www.sonburst.com/nng/ Explanation of Problem: the timer randomly skips seconds Fix: Currently Unknown but working on More InDepth: /* do this to get acutal seconds out of the output which are millisecons */ var pos = Math.round(sound.position/1000);
http://www.flashmatics.co.uk/blog/ this person really knows their stuff…
I was testing all of my flex material on my local machine, and i wanted to move it to a production server so my colleagues at work could see my progress… I had a folder named -project_TEST and lets say i copy and paste that folder onto the server… When you try to create a [...]
I’m doing some binding in flex 2.0, and what i’m trying to do is bind a text area to a field that i return from a query with a remoteObject. <mx:RemoteObject id=“remoteObj” destination=“ColdFusion” source=“some_project.somecfc” fault=“Alert.show(event.fault.faultString,’Error’);” > <mx:method name=“getConcernOriginal” result=“concernOriginalReceived(event)” /> </mx:RemoteObject>
In coldfusion i’ve ran across the problem of trying to parse a comma seperated list, and inputing it into a database… there lies a work around for empty values in the list, for example. test.csv ============== value1, value2, value3,,value5,,value7
I have a page that grabs a list of numbers, either from a series of checkboxes, or a multiple select box, and it passes the Value of the item… <select name=“Seminars” multiple=“multiple” size=“10″> <cfloop query=“somequery”> <option value=“#seminarid#”>#title#</option> </cfloop> </select>
INSTRUCTIONS ON SETTING UP ECLIPSE! That is a great reference to get started… i hate to blog something that simple… but i had trouble googling it…
Files: ============ Quiz.fla – Create this file with flash 8. – Create a movie clip and export it for as 2.0 name(mcImage) – Drag that movie clip onto the stage, in the top left corner… – Create a Layer called “a” (actions) open the actions panel, and type the following. #include “main.as” #include “xmlHandler.as” stop();
The object dumper is a great way to open up and get more feedback out of the object instead of for instance: [Object Object] This is the blog i got it from THANK YOU! import mx.data.binding.ObjectDumper; trace(ObjectDumper.toString(_global)); This is fantastic! thank you Jen deHaan
At work I always get confused on good practice of using joins… here is an example of a practical join. <cfquery name=“getConcernDetails” datasource=“#someDSN#”> SELECT C.concernID, C.ClientID, C.DateCreated, C.Status, C.ClientEmail, C.isConcern, C.ownerID, C.ownerGroupID, a.userID, a.username, s.label FROM unmc_Concerns C JOIN WLTAdminusers a ON c.ownerID = a.userid JOIN WLTsecurity s ON C.ownerGroupID = s.secid WHERE C.ConcernID = [...]
I wrote this query for use on my site beta.killtheheart.com When you click on the hotlist tab you will see the query version 1: Problems… i was including the date in my query using a group by <cfquery datasource=“#variables.dsn#” name=“qHotList”> SELECT l.artistID, l.AlbumID, l.Date, count(l.ArtistID) as recordCount, art.Artist, alb.Title FROM tblLogger l, tblArtists art, tblAlbums alb [...]
Here is a simple way to do a dynamic menu, there are some limits to this, but it seems to do ok… style.css /*=========================*/ /* Menu */ #navlist { border-bottom: 1px solid #ccc; margin: 0; padding-bottom: 19px; padding-left: 10px; }
This function does an alert on what you request… it’s a great little function picked it up from activsoftware.com function getQueryVariable(variable) { var query = window.location.search.substring(1); var vars = query.split(“&”); for (var i=0;i<vars.length;i++) { var pair = vars[i].split(“=”); if (pair[0] == variable) { return pair[1]; } } alert(‘Query Variable ‘ + variable + ‘ not [...]
Use this to filter data in a datagrid I always get scared that asfusions blog isn’t going to be available, one day i went there, and the blog and examples part was totally gone, i was freaking out, i go there as a reference all the time… Here is a function i use alot, and [...]
This is a great example, and it’s great for learning what actionscript can do… It uses an import of an actionscript file to put a combo box in a cell in a cfgrid… it’s awesome.View the example Here is the original Post I want to be able to remember this stuff so i blog it. [...]
Popularity: 3% [?]
| M | T | W | T | F | S | S |
|---|---|---|---|---|---|---|
| Mar » | ||||||
| 1 | 2 | 3 | ||||
| 4 | 5 | 6 | 7 | 8 | 9 | 10 |
| 11 | 12 | 13 | 14 | 15 | 16 | 17 |
| 18 | 19 | 20 | 21 | 22 | 23 | 24 |
| 25 | 26 | 27 | 28 | 29 | ||