web-development

One application instance for two domain name

Hello, I have two web applications in ASP.NET which are quite the same (same business logic, same DAL, same DB scheme but different instance). The only thing that I need to change is the design (logo, color,...) and the text (global and local resource) to adress two separate business sector. We cannot "subdomain" the application becau...

Suggest product catalog script/framework in PHP which doesn't displays product price

Hey all, I am new to web development and have this project in hand where in I have to build a product catalogue. I don't want any cart functionality or other such features, I just want to display the products,their specifications and images etc. on the website and give my client an admin panel to manage products. Now I looked into variou...

Best way to merge two identical ASP.NET web sites?

We have two websites which only difference is in the design (different images, styles, layouts..etc) but the web structure of files and cs code is the same so we want to simplify its maintenance... The actual structure would be: DefaultA.aspx DefaultA.aspx.cs DefaultB.aspx DefaultB.aspx.cs LoginA.aspx LoginA.aspx.cs LoginB.aspx ...

Can an iframe pop up a Lightbox-style box?

Hi. This question isn't about popping up an iframe inside a Lightbox; rather, it's about an iframe on a page that can launch its own Lightbox-style box in the page that contains that iframe. I'm thinking this can't be possible, because the iframe contains the contents of the other URL and whatever Lightbox that URL launches has to fit wi...

Whats the difference between GET and POST encryption?

What is the difference when encrypting GET and POST data? Thx for answer Edit: i need to write it more specific. When https-SSL encrypts both of this methods, what is the difference in way browser does this. Which parts are encrypted and which are not? I somewhere read, that the destination url is not encrypted in POST, is that true? I...

What's the easiest and safest way to record data being inputted by a user on a web site

Apologies, this is a tragically simple question that will bore most of you. I need to implement the simplest "leave your email and we'll contact you" web page. The simplest thing I could think of is doing an HTML form which calls a PHP script which appends the data in some file on the server. Easy to implement, but now I'm wondering if ...

Colspan in IE7/8 not respected

The DOM looks like this: <table> <tr> <td>a</td>...<td>g</td> </tr> <tr> <td colspan="3"> <table> ... </table> </td> </tr> <tr> <td></td>...<td></td> </tr> </table> Any idea why this wouldn't work in IE? I tried setting width:auto on the TD holding the inner table, and table-layout:fixed...

Dajaxice Autodiscover in Django App (cannot import name dajaxice_autodiscover)

Hi, I was following the directions at http://wiki.github.com/jorgebastida/django-dajaxice/installation to install Dajaxice for simple AJAX support and I ran into an error I can't quite figure out. The lines: from dajaxice.core import dajaxice_autodiscover #dajaxice_autodiscover() in urls.py seem to be causing an error (cannot import...

Using vim, how do you quickly refresh a web page you're working on?

I've been using VIM for a few weeks now while messing with various web languages and I'm really enjoying it. I find it cumbersome having to tab or click into my browser and refresh the page to see the effect of a code change. It's even more annoying as I'm using Virtual Box and I tend to be working from PDF files on the host system so I...

Proper way to use multiple stylesheets...so it WORKS?

I am making a site where I need to have styles separated for layout, colors and typography. So basically I took my main style sheet and just copied it 3 times, and in removed everything but coloring from one, everything but type related in another and etc. But when I link to them now there must be some cascade issue or something, because...

What is the Box Model of IE?

What is the Box Model of IE, I so often see at the internet tutorials? But I never could understand it clearly. ...

QtWebKit problems playing HTML5 video

I have a simple Qt application that launches a window with a QWebView. I tried several sites using the video tag with h.264, and it either can't play the video at all (as in youtube or sublime video), or it renders the video poorly, with black lines covering parts of it, like when viewing the video here. Is this a known issue with QtWeb...

Drupal Module Themes - Default CSS?

There's tons of documentation out there on how to override the appearance of Drupal modules, but I keep finding the docs for writing the original theme to be a little lacking. On this note, how can I tell Drupal to use a specific CSS file for my custom module's block output? ...

full duplex communication over the web w/o flash sockets

A web application I'm helping to develop is faced with a well-known problem: we want to be able to let users know of various events and so forth that can occur at any time, essentially at random, and update their view accordingly. Essentially, we need to allow the server to push requests to individual clients, as opposed to the client as...

Is the anchor part of a URL being sent to a web server?

Say, there's a URL http://www.example.com/#hello Should #hello thing be sent to the web server or not, according to standards? How do modern browsers act? Update: Please do not ignore the first question. ...

how do twisted/tornado et cetera work

I understand that they work in some way distinct from making a thread per user. How exactly does that work? (Does 'non-blocking' have something to do with it?) ...

Setting up a (web) development environment

Hi, I would like to know how I can improve my development environment. At the moment: I'm using Netbeans as my IDE. My local Dev server runs on a RHEL5 VirtualMachine similar to my production server. My Netbeans project is editing the VM files via ssh (I have mounted the server as a local drive) But: It's slow Files can disapear (...

image map software for coordinates using magic wand

Quick question... there are lots of ways to create an image map (old school, I know!) for a web page, but I have a requirement for one. I want to have an interactive map showing UK counties. I have the map, I have "mapspinner" (also dreamweaver) to do the polymap... but, I was wondering if there was a way to use a magic wand to get the...

What is the best way to store site configuration data?

I have a question about storing site configuration data. We have a platform for web applications. The idea is that different clients can have their data hosted and displayed on their own site which sits on top of this platform. Each site has a configuration which determines which panels relevant to the client appear on which pages. The...

How to fix CSS layout issue in IE6 using Grid 960 and custom styles

I am having difficulty getting IE6 to 'play nice' with the layout I'm trying to create (perhaps it's too specific and I'll have to try another approach.) The page in question can be found at http://myersprojects.com/uk/en/index.html I am using the 960.gs grid system, and have a number of custom styles defined (including a conditionally...