You can simplify if you don't need to dynamically set the returnFunction and just write everything in img.onload = function(){YOUR STUFF HERE} and get rid of the 2nd argument in loadImg.
First figure out your network architecture and how you are going to load balance and support the massive load if it ever takes off. Take out a business loan. Setup up your network. Assemble a team of...
Save your self the hassle and don't do it. Even if the app launches they will have other bills to pay too so you won't be getting your fair share. You are a developer not a partner. You don't go to a...
Also for extra security buy and get paid only using your LLC bank account. You try to separate your personal accounts from your business checking account as much as possible.
If your contact information on the footer point to your LLC then it is "connected" to your llc. Anything on a website that states you are operating as LLC is what you need to do. Example : on footer...
Finding a partner on-line never works. You have to have capital and pay the programmers/designers to do their jobs as freelancers for you and than cut the cord. This is the only way you will get...
Please tell me why I am constantly getting "alert(10)". How do I modify this code so the alert is unique to the link. Every child should be unique with a unique onclick function. This isn't so!
...
However keep in mind that doing image operation on a high traffic wesbite will slow you down to a crawl. So it is better to display the speed as TEXT. Maybe some fancy CSS overlay.
I think you are over thinking it. You shouldn't be generating the images on the fly. Make all possible images. W,N,S,E,NE,NW,SE,SW ETC.. and display them based on the data. You can look into the...
Many of the government owned weather websites provide feeds to their data which is almost real time. You would have to use a scripting language like PHP to curl the data into your website and display...
Never said that I am better or my knowledge is higher than anyone else. There is always someone better. I don't think anyone is stupid for using WordPress either.
I have tried it on numerous occasions since everyone asks about it. However, if I create a wordpress site for someone then down the road they ask me how can they sell t-shirts on their website or...
I would put setAuthor in the general class and extend the photo class with general if that method is required for photos also. Essentially you want to put everything in general class that belongs to...
I for one stick to hand coding my sites and rolling out my own versions of CMS based on customer specs. I stay away from WP. WP is meant to be used as "do it your self" software not by professionals...
table tutorials - tutorial_id , tutorial_name , tutorial_data and so on.
table patterns - pattern_id , patern_name and so forth.
table tutorials_patterns -...
Don't worry about HTML5 for now unless you need something specific done that only HTML5 can do like animations, sockets , etc... HTML5 is HTML4 + extras. The code is the same there is just more...