Tags
adsense animation apache apple auto future date blog coding compsci css diy flash forum game hard drive internet explorer iphone itunes java javascript link linux mac mysql netbeans network Photography photoshop php Plain Text Custom Post Type plugin Programming prototype python reliti robot scratch teaching tips twitter ubuntu usb video web design wordpress youtube-
Popular This Week
- Difference in Hub, Switch, Bridge, & Router
- JavaScript Error ‘expected identifier, string or number’ in IE
- Multiple cases for switch construct
- Plugins for inserting JS and CSS into posts
- PHP: A function to return the first n words from a string
- PHP: Benchmarking echo vs. print vs. printf
- DIY: Make Your Own Ethernet Loopback Cable
- How to create a wine glass in Blender
- How to get a screen shot from an iPhone
- How to revive a dead Western Digital MyBook
My Other Sites
Tag Archives: javascript
Hiding the “Welcome to your new WordPress site” message
Sitting here working on setting up a WordPress network and hit a snag. New sites have a giant “Welcome to your new WordPress site” message when someone logs in for the first time. Now, I’m not against the message; and … Continue reading
Datatables jQuery plugin – Refresh table
Sometimes I try and make things way too hard. One of the things that a web app I’m working on needs is the ability to do an advanced search. It’s using the outstanding DataTables plugin for jQuery which takes care … Continue reading
Double click on file in Chrome developer tools
How did I not know this already? I’m working on a web app that’s pretty Ajax heavy so I’ve got the Chrome developer tools window opened up to the Network tab so I can see what’s going on. By accident … Continue reading
Adding a label when placeholder isn’t supported by browser
I’m sitting here working on a JavaScript heavy web app, and it has a few forms that are large enough that the placeholder attribute available in HTML 5 was the way to go. Only catch, not all browsers support placeholder … Continue reading
Started a calculator website
Not real exciting, since there are hundreds out there on the internet. But I started a new website with, well, just two javascript calculators for now. I’ve got more planned, but that’s all that’s there for now. Two reasons for … Continue reading
Problem with SyntaxHighlighter and 2 character strings
Had a very odd, very frustrating issue come up trying to get SyntaxHighlighter working on a project I’m working on. When the code to be highlighted was only two characters long it would blank it out and the code would … Continue reading
Just finished up a couple of WordPress plugins
Needed a break from a larger web app I’m working on and this weekend kicked out a couple of WordPress plugins that I’ve had on my idea file for a while now. The first is called rTwit and lets you … Continue reading
Posted in Programming
Tagged ajax, blog, coding, javascript, link, php, plugin, Programming, twitter, wordpress
Leave a comment
JavaScript version of PHP __FILE__ or __DIR__
This is one of those issues I keep coming back to. I need a way to get the path of the current JavaScript file. Something analogous to the PHP __DIR__ constant or dirname(__FILE__). Found something close on Stack Overflow. The … Continue reading
When in doubt, restart
Sure, it’s a cliche. Computer not working? Restart the sucker. This time though, it paid off. I just spent the better part of this afternoon working on a JavaScript issue. I’m using SWFUploader to handle image uploads for a web … Continue reading
Dynamically link to CSS with JavaScript
Needed a way to add a CSS file with JavaScript, so I went out a-Googling like I normally do. Problem is everything I found either worked in Internet Explorer and not in FireFox or the other way around. Nothing I … Continue reading