web-development

Where do I get Two Letter Domain Name?

For my bussiness purpose I want to take a Two letter domain name(eg: xx.yy). Where do I get this? I think GoDaddy.com don't support two letter domain names? my name is not yet registered, thank god Its available!!!! ...

Browsers with JS disabled

Years ago I used to design with JavaScript disabled browsers in mind. How important is it nowadays? Is it really something you need to worry about? I've never come across a user in real life who has JavaScript disabled. Anyone got any figures? ...

Django for enterprise web application

Hey all I wanted to know is Django a good choice for a big web applicatin(Social Network)? More specifically, I need some suggestion on performace when number of DB transactions increases and I want to know is the embedded OR Mapping included inside Django is a good choice or should I implement them. Thanks ...

Groovy and Grails

I heard that Groovy and Grails has good Job prospects in Big Companies Maybe stick with PHP or try to move to Groovy/Grails considering the Employment Factor and Project Budget . Java based Projects normally have Higher Budgets than PHP based. Groovy/Grails or PHP carries Fatter Paycheck :) ??? ...

Search results and Previous/Next Item links

I apologize for vague title so let me explain. Suppose you have a page with search results: http://example.com/search?q=foo. The results are: Foo - http://example.com/foo Bar - http://example.com/bar Baz - http://example.com/baz The links above point to the item details page. On these pages I want to display links which allow to na...

"Anonymous" Youtube Playlists

Is there a way to embed a playlist of youtube videos in HTML by listing the youtube videos in the embed code, rather than defining a playlist in my youtube account? ...

How can write a windmill test which uses an <input type="file"> to upload data to the server?

Title says it pretty much all... I'm trying to automate tests on a web application with Windmill, and some of the test need to use forms with input type="file". I know it is not possible to manipulate this with js, but I'm wondering if the Python API of windmill allows this. I could not find anything in the docs, though, nor in the exam...

Is it possible to make an advanced rich text editor for web that would allow copy-pasting of pictures?

The long story: The larger problem is that I'm trying to convince people from switching away from Outlook to a more sane bugtracker, preferably web-based that we could also use as a public bugtracker. But the current argument against it is that the Outlook editor (which is really Word with all the bells and whistles) allows easy inserti...

Simple file upload without using asp.net fileupload control

I have an html page and I want to upload a file usign the basic html input file without using the asp.net fileupload control. I tried to write the following code in the html page and redirect it to the home page (aspx page) <form action ="../../default.aspx" enctype="multipart/form-data" method="post" name="myform"> <in...

IE has trouble with jQuery fadeIn/fadeOut

I'm using the following function, called from document.ready(), to set a fadeIn/fadeOut effect on the top navigation of this page: http://bit.ly/dzVXB1 // Initialize the main menu's rollover behavior. function initNavMenu(fadeInTime,fadeOutTime){ $('#top-nav li').append('<div class="hover"></div>'); $('#top-nav li').hover( ...

Add a search box to a master page

I'm trying to add a search box to a master page in an ASP.Net MVC web app. What's confusing me is how to properly implement it in the master page. So the user types in data into this search box, how should the data be handled from an MVC perspective?? I know I could use he master page's code behind, but I shouldn't. I'm currently try...

Help choose web application framework for academic project

Hello people, I'm about to start an academic project related to rich internet applications. I thought that using a web application framework will save me some time and allow me to better structure my code. I've spend the last few days in searching for the best solution. There are certainly lot of choices and I'm basically lost.. I'm eq...

How to create html table by reading column values from an XMLfile

I have to create a table in an html file by reading column names from an XML file. I am using java, Wicket, JQuery etc..(No hard coding of column names in html file) any suggestions? ...

Weird IE8 problem when using .animate({'height':'toggle'})

Check out http://wouter.howafarms.com/faq The goal is to have answers be expanded on click. As you'll see this works perfectly in all browsers except for ie8. I've tried various animation effects .slideDown(), .toggle() to no avail. They always work in Firefox, Chrome and even IE7, but never in IE8. What in the heck might be causing...

JSTL tags not working in plain html file

I have plain HTML file and I want to include some JSTL tags in that, first I am trying whether this works. But somehow JSTL tags are now showing value after rendering. Here is the code: <html xmlns="http://www.w3.org/1999/xhtml" xmlns:wicket="http://wicket.apache.org/" xmlns:c="http://java.sun.com/jstl/core"&gt; <body> <c:...

What is the best practice approach and status code for temporary maintenance pages?

What would the best practice approach and most desirable HTTP status code be for website / application pages that should not be displayed temporarily? To outline possible alternatives - Leave user at the current URL, but return a different status code and 'maintenance' content? Possibly 503 code? SO question - http://stackoverflow.com...

Why is Django so Slow to Refresh Compared to a PHP Site?

This is a nagging issue that I've had with Django. Compared to a typical PHP site, it takes forever to refresh and see any changes I've made. During development I have Apache set to MaxRequestsPerChild 1 - this is fairly slow but is necessary because you end up viewing 'stale' code without it. Running the development server is far worse...

Why does my CSS go screwy "sometimes"

A website of mine is behaving weirdly. The layout sometimes is fine, and sometimes it is screwy. An example page that I see the problem on is this one: link Disclaimer: I have yet to start my investigation into cause in earnest. I am turning to Stackoverflow because I am lazy and I hope someone will say "That happened to me once, it is ...

Should i learn PHP (this is not vague..)

I have been into Python i know a bit. But what i really want is a good balance with web development and actual programs. For that i'll have to learn more than one language for sure. When i look at some companies (Google ) i see that Python has the power i thought it would have in web. But i would have to write the server myself. PHP has ...

XML childNodes gives undefined result in ActionScript 2.0

for example: In the movieclip which is called (content) inside this we have 2 more textfields which are called titleID and descriptionID, now I try to make this inside the movieclip (content) NOTE: _root.title[0] and _root.description[0] are arrays in the root timeline outside the movieclip (content) take a look in the code: title[i] =...