Daniel Harvey
Member since Sep 9, 2009
- Profile: /members/4275-daniel-harvey.htm
- Comments: 32
Recent Blog Comments By Daniel Harvey
-
Playing With Finite State Machines And ColdFusion Components
Posted on Dec 23, 2009 at 12:12 PM
I noticed a small error in your State Table and your code, Your state table says you are going to Increase your mood if you are rude and are excited, your code decreases it by -5.... read more »
-
Using $Variable In jQuery Code Is Just Hungarian Notation
Posted on Dec 10, 2009 at 1:30 PM
@Jeffrey, Something else to think about to denote it is a selector is to give it a more meaningful name. In your example there it does not limit it to a specific div or a set of div. It selects all divs. Thus wouldn't a more concise name than "div" be appropriate rather than prefixing it with t... read more »
-
jQuery UI 1.7 By Dan Wellman
Posted on Nov 23, 2009 at 1:33 PM
@Ben, Would you need to read the first book before reading this one?... read more »
-
My First ColdFusion Builder Extension - Encrypting And Decrypting CFM / CFC Files
Posted on Nov 19, 2009 at 1:32 PM
@Ben, Have you tried refreshing the folder instead of the project?... read more »
-
My First ColdFusion Builder Extension - Encrypting And Decrypting CFM / CFC Files
Posted on Nov 19, 2009 at 1:29 PM
@Ben, Ya I guess I should have looked over a little more detail, some reason I thought that was coming from the file being encrypted/decrypted.... read more »
-
My First ColdFusion Builder Extension - Encrypting And Decrypting CFM / CFC Files
Posted on Nov 19, 2009 at 11:02 AM
@Ben, I haven't tried working with this at all but here is something that came to mind. Did you try using your variable you first create "thisDirectory" when you try to refresh the project? such as <param key="projectname" value="#thisDirectory#" />... read more »
-
Tracking Google AdSense Clicks With jQuery And ColdFusion
Posted on Nov 10, 2009 at 12:10 PM
@Ben, Maybe I am missing something, does it give a false positive if you click in the google adsense not on a link?... read more »
-
Tracking Google AdSense Clicks With jQuery And ColdFusion
Posted on Nov 10, 2009 at 11:42 AM
@Ben, Thanks for clarifying, wasn't sure with the way you worded it before. Interesting that the blur() even is triggered there. I wonder if it has to do with the internal workings of firefox... read more »
-
Tracking Google AdSense Clicks With jQuery And ColdFusion
Posted on Nov 10, 2009 at 11:33 AM
@Ben, did the CTRL+Click open a new window or new tab, I know when it is a new tab the tab opens in the background; However, when it is a new window, the window is in the foreground... read more »
-
Tracking Google AdSense Clicks With jQuery And ColdFusion
Posted on Nov 10, 2009 at 11:10 AM
@Ben, I think I see a couple areas this may fail first case What if a user uses ALT+TAB while the cursor is over the GoogleAd second case What if the user opens the link in a new tab? which I don't think blurs the window at the time of the click... read more »
-
How To UN-Unformat Your Code (Like A Pro)
Posted on Nov 9, 2009 at 8:20 AM
@Ben, I am glad they fixed that in CF9 as that doesn't make sense why you wouldn't be able to if one was private and one wasn't. In general I can see that they don't add value to the way most people program. Though if CFBuilder continues to get better I hope their insight would be able to detect... read more »
-
How To UN-Unformat Your Code (Like A Pro)
Posted on Nov 9, 2009 at 7:24 AM
Looking over your cfc I notice you set all function to access publicly. Since only two(Plus Init) of them should ever get called from outside of the cfc, why don't you make the rest private?... read more »
-
How To Unformat Your Code (Like A Pro)
Posted on Nov 6, 2009 at 10:47 AM
@Nathan, That is what I was thinking too... read more »
-
Matching Multi-Line Regular Expression Patterns In MULTILINE Mode (?m)
Posted on Nov 5, 2009 at 2:43 PM
Did you look to see if it would return the end of line character if in single line mode? I have an idea how I would go about it and may try it later.... read more »
-
Using Regular Expressions In Javascript (A General Overview)
Posted on Nov 2, 2009 at 1:03 PM
@Ben, I am not saying I prefer one over the other but in that case the more readable and easier one to deal with was the implicit constructor. It allowed me to be able to look at the RegExp as just that a regular expression and not worry about the escaping a backslash that is suppose to escape a ... read more »
-
Using Regular Expressions In Javascript (A General Overview)
Posted on Nov 2, 2009 at 12:50 PM
When I did the "\\(" it kept both of them in when it was turn into the RegExp, so it would find a \ not a (... read more »
-
Using Regular Expressions In Javascript (A General Overview)
Posted on Nov 2, 2009 at 12:48 PM
@Ben, I found putting it such as "\\(" didn't work as expected either... read more »
-
Using Regular Expressions In Javascript (A General Overview)
Posted on Nov 2, 2009 at 12:42 PM
@Ben I just had to go over all this stuff myself last week for a project I was working on. Would have been helpful then but it is still good. One thing to note that I found easier to do with the implicit constructor was how they handle matching a parentheses. I believe it has to do with the way j... read more »
-
Using SMS Short Codes And TextMarks To Send Text Messages With ColdFusion
Posted on Oct 21, 2009 at 4:16 PM
@Ryan, There are several people that I personally know that want nothing to do with a smartphone. So there will always be the people who will have the ordinary phone.... read more »
-
Introduction To Regular Expressions Presentation Notes
Posted on Oct 15, 2009 at 2:25 PM
Ya that is all it is. It works great. I believe it will allow you to make it so only certain groups will have the single line flag... read more »