web-development

How to "refresh" a window in IE without the window stealing focus?

I have a page on which, periodically, I must change the URL to incorporate some GET parameters in the background using JavaScript, such that the page refreshes using the new GET parameters. So, for example, I'll periodically do window.location.href = window.location.host + '?' + ss; or window.location.search = '?' + ss; Where 'ss'...

Is there a great WYSIWYG html editor component that had Drag n' Drop *like* the Google Waves editor?

Is there a component out there that can be used that provides some of the great capabilities that the Google Waves editor provides (or Google Docs editor)? If it only works on a certain browser, that is fine. If it is part of GWT or some other framework, that is fine. I know that this will probably require Google Gears. I would prefer ...

How to turn a very long column into multiple shorter ones?

This is a challenge question / problem. Hope you find it interesing. Scenario: You have a very long list (unreasonably long) in a single column. It would be much better displayed in multiple shorter columns. Using jQuery or another tool, what do you do? The format of the list is as follows: <div class="toc"> <dl> <dt>item 1</dt> ...

How to write a basic stackoverflow.com for self use?

I am not a web programmer...I am trying to write a basic stackoverflow.com or similar for internal knowledge exchange. I want to know what I should start from and what I need to learn. I am usually program in C++, and I have been programming in Java for a while for new job. I know html, python, and some javaee technology: EJB, Servlet et...

Is saving one control's value to the database better than saving all controls?

I came across this a few times in my career and never really found an answer. My question is in regards to a web form that contains multiple controls that the user can update, and then saves the data to a database (easiest example I can think of right now is a user profile form - see SO profile edit screen). So far, I have always just s...

Configuration error after deploying asp.net files into iis server

I am getting the following error which deploying my code in the production server. Code is working fine in development. Configuration Error Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file...

Is there any reason not to use HTTP PUT and DELETE in a web application?

Looking around, I can't name a single web application (not web service) that uses anything besides GET and POST requests. Is there a specific reason for this? Do some browsers (or servers) not support any other types of requests? Or is this only for historical reasons? I'd like to make use of PUT and DELETE requests to make my life a lit...

How to manage multiple (different) view layers

I have a website (ASP.NET MVC) which I would like to extend to another similar topic (like stackoverflow-serverfault-superuser). Database layer and controllers layer are the same for both websites. What differs is just the vie layerw, and only for just a few detail: logos, masterpage and some resources files (in part) and css. What's t...

What's the best way to provide a web shop application to multiple customers?

If I had a web shop application and I'd want to provide it to multiple customers, who sell their products from the web shop, how would I design such application when it comes to deployment? One application with one database on a central server. Every data row has a customer ID which states to which customer ("shop instance") it belongs...

Working with Dreamweaver and ASP.NET - is this recommended?

Hi, I am a ASP.NET 3.5 web developer using VS 2008. I just started at a new company and there are alot of Web Designers here (never worked with Web Designers before). They all use Dreamweaver CS3 and PhotoShop (something i know nothing about). What I would like to know is the following: Would they have problems opening my ASP.NET pag...

Best way for a 'forgot password' implementation?

I'm thinking what are the best method to implement the forgot password. I come out with 2 ideas. One, when user click on forgot password, the user is required to key in the username, email and maybe date of birth or last name. Then a mail with temporary password will be sent to user email account. The user use the temporary password to l...

Using Parallels to test Web applications in IE

I am developing a Web application in Pylons on the Mac. My development server serves pages to http://127.0.0.1:5000/. Is there any way that I can access this page from Parallels for testing with IE without having to set up a development environment in Windows? ...

Developer Web Proxy

I need a proxy for web development debugging. Preferably something standalone so I can use it with both IE and Firefox. The one I have used so far is CharlesProxy but I was hoping to find a free one. Anyone know of a good one? ...

Tutorials for iPhone Web Dev

Hello everyone! I was wondering if any one knows of some good tutorials for iPhone web development. Specifically, for optimizing a website for viewing in MobileSafari ...

Forwarding POST data

I've got a website that has a form that the user can type in. I want it to be the replacement for a 3rd party website (Autotask) form with the same fields. Normally I'd just have the action in my form go to where the 3rd party's form points and then have all the same id/name values for my own fields, but there are several problems with t...

Why is Internet Explorer 8 messing up my website look and feel?

My website look and feel is not 100% the same in Internet Explorer 8 as it use to be with Internet Explorer 7. My site is created with VS 2005 and ASP.NET 2.0. How can I fix this? Is there a way to fix this? Edit: For those who want to see my website, it is Located Here - Some borders are diff. and the Email/Username text box in th...

Should I use Java or .NET for web development?

Which of these two platforms/ecosystems are better for writing web applications/websites? I am not interested in language features, but rather in the available tools like: Monorail, MVC.NET, NHibernate, etc. These kinds of tools are usually used to build modern, data-driven, AJAX enabled websites. Assume the choice of platform is up to...

Resolving relative resources in AJAX content

I'm trying to figure out how to resolve relatively referenced resources inside dynamically loaded content. For example, suppose I had the following page downloaded from /index.html: <html><body> <div id="insert-here" /> <script> $(function(){ $("#insert-here").load("x/ajax-content.html"); }); </script> </body></html> And aja...

Safe Web Text Formatting

I am building a web application that will need to allow users to save formatted text to a database. Basically they just need to be able to change font color, font background color, font size, bold, italics, and underline. I would like to use something that I can just attach to a text area to make a formatting bar show up. It would be n...

Creating interlocking, irregular borders with CSS.

I have a layout made up of 4 "interlocking" divs, like so: -------********** - -* * - -* * - -* * ------- * ++++++ * * + + * * + + ********** + + ^^^^^^^^^^ + + ^ ^ + + ^ ^ + + ^ ^ + + ^ ^ ++++++ ^^^^^^^^^^ I want to put borders ar...