web-development

Jquery fade in / out looping more than once

I've been using jquery to do some image swapping and fading. I have a div, with and id of cup-builder-error I use jquery to load images into divs, then on error fade in and out the error div $("#imgShell").attr("src","products/components/" + idArray[2] + ".png").error( function(){ ...

What specific issues are there to be aware of when attempting to use WatiN in .NET Framework 4.0 test projects?

My situation is this: I have an ASP.NET web application that I want to implement tests for. When I initially tried WatiN, I was able to get the Google search example working, and a small test for one of the pages of the web application. But once I added the WatiN assemblies to a shelveset so a co-worker could try out my tests, WatiN st...

How to cross-domain identify a user with third-party cookies ?

Hello, I am doing an internship in an ad-targeting startup. We have publishers in our network that can display ads we send them. Currently our system is able to analyze the behaviour of a user whenever he visits one of our publishers. On the publisher's site, some javascript code creates a user ID. This javascript code stores the user...

n*n table vs (n^2)*3 table in mysql

A while back I posted a different question regarding column order. While this question does not relate to column order, I was suggested to make my table differently from how I was making it. Lets say I am selling 100 products. Some of these products are compatible with each other, some are not. Some have not been tested yet (I did not m...

IF statement not running in PHP

I have a code to declare a variable and then an IF statement which uses that variable to either display, or not display an image. This code is before HTML <?php $contents = file("textdocument.txt") ?> This code is in the HTML <?php if ( $contents = 10 ) { echo '<img src="image.png" name="image" border="0">'; } else {echo "wrong num...

Web Site code process with server side and client side code. When should the client side code be implemented?

I'm developing a web site, which would make use of PHP, Javascript (JQuery) and use AJAX to connect the two. My question is, how should the coding process go. I know that Javascript is supposed to be used as an extra kick, and should not be relied upon because it can be turned off. So, should I code the entire site in PHP, and then afte...

Why do so many MVC web frameworks favor grouping multiple controller actions in a single class?

My experience is mostly limited to PHP, yet as far as I know both Rails and ASP.NET MVC have taken the same path. The point is that nearly every web framework I've ever come across implements controller actions as methods, e.g. create, edit, show, etc. These methods reside in a single class like PostsController, but they hardly ever sha...

Freelancing book recommendation for a web developer?

I've just started my freelancing career as a web developer, I found a lot of books about this topic but I don't know which one is the best, any recommendation? Thank you :) ...

How can i test my site on iPad without having one?

i recieved comments that one of my web sites (tumblr theme) is crashing on iPad. i dont have an iPad so i wonder how will you test your site on iPad, iPhone or any other smart phone for that matter? ...

Comparison of tools offered by different browsers for web developers?

How do browsers compare in terms of tools offered to web developers? What is the browser of choice for you as a web developer? What features or extensions make it so? ...

Which technology should i use to develop a high performance web application

HellO Everyone, I have couple of ideas in my brain which i would like to bring out before its too late. Basically i want to develop a web application which i could sell it to clients. So which technology shall i use to accomplish this. I have been a C and C++ software developer but its been a very long time since i have developed one. S...

How important is it to have a validated site?

Many big website (google.com, apple.com, microsoft.com) are never validated. When the big shots don't do it, is there a reason why others should? ...

Comparison of Clojure web frameworks

There are a few web frameworks for Clojure Compojure Webjure Conjure Moustache and also some libraries for dealing with certain web development subtasks, such as Enlive for templating Hiccup for templating Ring to handle lower level stuff with requests/responses ClojureQL for persistence (it doesn't seem very active, though) Ther...

How determine if my stream is listed on a online radio website?

Hi, I am trying to develop a web application that will do the following: Collect the information like websiteUrl, email address, language, stream format (audio, video). Now I have a list of directory names and website url and submission url and their accepted stream format (i.e: Radio, Tv or Both) as well as language (en...

Help on HTML and PHP development tools

hello, I am new to web development. I have experience with raw HTML (using notepad). But I am planning to make a website for my final year project. I had previously asked a question on its idea, now i need some help with the development part. Which tool can I use to design the website? Please suggest some easy to use and powerful tools,...

Set and Retrieve cookie trouble in PHP

I have a three pieces of code that are giving me trouble. This one sets the cookie setcookie("verify", "$value", time()+3600); This one is on a different page, it makes sure the cookie has the correct value if ( $_COOKIE["verify"] != file("name.txt")) { header("location: notset.html"); } else { die; } And this one deletes the ...

How to open an app from a browser?

Amazon has the button that opens an app as follows. Clicking this button opens a 'Amazon Kindle', for my case, 'Amazon Kindle for Mac'. How is this possible? I mean, how can I program to do this job? It's definitely not Flash. I tried to use button to open an App using button provided by HTML, but I couldn't make it because of the s...

Write to text file problem in PHP

I have this page called up.php that adds 1 to a txt file set with all permissions. <?php $name = file_get_contents("name.txt"); if(!file_exists('number.txt')){ file_put_contents('number.txt', ((int) file_get_contents('number.txt')) + 1); header('Location: "$name.txt"); } ?> I have a form action button that runs this php page, how...

How to make a Tag cloud app that post on a website?

I want to make an app where the users can post messages that will be displayed on a website. The users would need to create a username and password to be able to post. The app would be like a twitter, but only be able to post through the app and read the last few posts and not be able to write private messages. The website would funct...

How can I type in a textbox and have whatever I typed simultaneously appear in a div?

Hello All, I want to have it so when I type into a textbox (or an input field) and have whatever I am typing simultaneously appear in a div or just other place on the page? The stackoverflow site does this when we type up a question. As we type a question, it shows whatever we are typing in a box below the textbox. Hope my question mak...