web-development

How to find which section of a website is not compatible with new browsers?

I have been tasked to fix a really old website (.net aspx vb). The website currently is not running well in IE8, Firefox, Chrome. The menus are displaying funny and some images are not correct, and in Chrome the complete header with menus and all is missing. I am not a vb guy, and I have no idea where to start looking. What will b...

How can I prevent the user from navigating back to a previous page?

I have an ASP.NET MVC application, with three views: view1, view2, view3. The logic way for the user to navigate through these is: view1 -> view2 -> view3. When the user reaches view3, then I must prevent them from loading view2, even by using the "Back" button in their browser. What is a good, browser-independent means of implementing...

How would you code Gmail's "Labels" text searchable checkbox list selection drop down control in ASP.NET/Ajax/JQuery?

I imagine having to interact with Gmail is a necessity for most programmers. Gmail's control for associating labels to emails is monumentally effective UI behavior. For those unfamiliar with the behavior, it's basically a button-initiated pop up panel (drop down UI effect) containing: 1) a text entry box 2) scrollable multi-checkbox li...

Login problems for an iPhone Application for a Facebook Connect Site

I'm writing an iPhone app that provides access to a website that has an existing user database. The website is using Facebook APIs to also allow Facebook users to link their existing accounts with their website accounts. I need to be able to log in both Facebook and website accounts on my website when using our iPhone client but I am ru...

Fetch data from a given website

Hello, I want to create a web service in ASP.NET that fetches data from a website every hour or so (the storing part I got it covered). In this example, metacritic.com, how can I get the Users score of a movie at any given time interval? What I know is, I would have to get the source of the website and then find the html element that ...

Are web applications more portable than desktop applications?

I often hear people praising web applications (as opposed to desktop apps) for their portability. Indeed, making a desktop application available on multiple operating systems is difficult. However, I'd think web-applications have to deal with portability issues equally well, only between browsers instead of operating systems. Or is it no...

Storing password in forms authentication cookie - ASP.NET and WCF calls

For my web app security I'm using FormsAuthentication / MembershipProvider with a non persistant cookie. My application interacts with some web services, these also use the Membership providers. User passwords are hashed in the database. The problem is the person logged into application the web service needs to authenticate with the w...

How can I know the Timezone of my Web site Host

Hi, I know this one is the weirdest of all weird questions I have asked till date. But I have a reason. The problem is that I have a no of websites hosted in diff servers (I dont own these servers) and every website has some pages where I have to enter some execution date and time. The date/time I enter should be of the timezone in wh...

Jquery: how to register an event on all pages?

I want to run the following jquery code on every page in my website. $(document).ready(function(){ $("#more").click(function(){ $("#morediv").slideToggle("slow"); return false; }); }); In all my pages I have the more and morediv elements defined, for every page I have different js file and adding this code in ev...

How do you stop a page_load event from running if the page is refreshed

Each time my webpage is loaded it runs a routine in the page_load event of the page behind which increments a viewcount by 1. The problem I have is that the routine runs even if use refresh to reload the page. How do I stop this routine from running if the page has been viewed by a particular user in their current session? I thought I...

Embedding webpage in Flash

I know very little about Flash, and so is not programming in it. I have a website in PHP, and obviously, HTML, CSS, JS, etc. What I want to do is to allow users to full-screen certain pieces of the DOM. So my question is, is there any way to wrap flash around certain portions of the DOM dynamically in order to allow full screening of th...

Where to place heavy jQuery code in web development MVC pattern?

I'm building a website where many of the pages are very interactive without having any communication with the web server. Basically, a page represents a kind of DHTML interface, where users can click on various divs to move them around and perform other actions. In the end, the user is able to save the "state" of all divs on the screen a...

Why developers hate iframes?

While working with web developers, I always hear from them that using iframes is something we must avoid as we can, and some say it's something bad, annoying and makes a lot of problems. Also when i told my previous boss "not a developer" one day that i will use iframe, he looked at me as a bad developer :) What i want to know, does i...

What is the section of Javascript ? - wwOpenInstalled

Ok so I start coding websites (yes I know I am almost 15 years late :0) and in many of the sites I see the following javascript: <script language="javascript"><!-- var wwOpenInstalled; if (wwOpenInstalled || parent.wwOpenInstalled) { if (window.Event) { document.captureEvents (Event.MOUSEUP); } document.onmouseup = (pa...

Which PHP frameworks are used by corporations?

There are several questions about PHP frameworks, but I'm curious as to which one(s) are used in the commercial world when developing web applications with PHP. At my first web-based job, they didn't have a framework for the PHP codebase. Is this common when dealing with PHP? If not, what frameworks to companies producing a product (eith...

Non-Windows RAD Web development

I have spent most of my web-development career in the Microsoft camp, but for different reasons I am trying to look at options. Some years back I did a bit of Java/Struts development in eclipse, which was nice for its time but my memories of it are not close to what Visual Studio delivers today. Some of the strengths of the MS stack a...

How do I test in both Safari 3 and Safari 4?

I only have one computer (running OS X), and need to test in both Safari 3 and Safari 4. While Safari 4 is the "official" release, I don't believe it has been pushed in Software Update yet, and therefore probably hasn't been adopted by most users. Even if it has been pushed, it's still a safe bet that many users haven't updated. The pro...

UTF-8 Problem, no Idea

Hi, I have a strange problem with some documents on my webpage. My data is stored in a MYSQL Database, UTF8 encoded. If read the values my webbpage displays Rezept : Gem�se mal anders (Gem�selaibchen) I need ü / ü! Content in the database is "Gemüse ... " .. The raw data in my error_log looks like this [title] => Rezept...

Requirement gathering over banking website

Hi, I'm currently gathering different requirments over banking website development, and one of the part which I want to know deeply is "saving account" . What the internal working do I have to keep in mind for making a website over "saving account" part? Thanks in advance. ...

How should I start Java-based web development?

I have been using java as my main language for 3 years while developing college assignments, and now I plan to learn the web programming aspect of it. I see there are lots of different "stuff" going on such as JSP, JSF, Spring, etc. Previous topics suggest that Head First Servlets and JSP is a good book to start with, but what do you th...