web-development

Why is my CSS overriding the CSS in the Wrapper?

I'm trying to figure out why the text in the left navigation panel on the following page is shrinking & underlining when you mouseover in Firefox. http://fundcentre.newireland.ie/ Everything on the left & top is part of a wrapper that we inject our content into. Our content is everything from "FUND CENTRE" down. Can someone suggest s...

web: How can I place an input box in a picture?

I want to use a picture as my website design. It's a plain one, like google's. <img src... done... > now, I want to place an input box at the text area of the picture, how to I do that? ...

What is the better way to include dynamic content via ajax?

Is it a better practice to retrieve only data from a (java) backend in xml or json format and use javascript to create the display elements (i.e. div, span, etc.) and insert the data into to them or is it better to retrieve and insert a complete "view" (data and html created by the backend)? For example, let's say we have the following ...

Why doesn't PHP appear to store my variables?

I have a page that allows the user to draw an image using HTML5 canvas, convert it into text with JavaScript and post it to a PHP page. http://dsiextensions.co.cc/chatdraw.php The page is quite confusing, each text box is for each line of to 100px X 100px canvas. To put the data in the boxes, click "Finish" and then click "Submit" (Sorr...

How to get 2 CSS files to work together? - Problem with !important overriding rules

I have a problem where our CSS file is not playing nice with the CSS in a wrapper we're injecting our content into. I have some rules specified in our CSS file with !important declarations because the wrapper's CSS is causing the browser to ignore my rules. Unfortunately, this is overriding the styles in the wrapper and I don't want it t...

What is the best place to display the language in your url

I have a multi-language website that makes use of pretty urls, so called search engine friendly urls. Now there are a few places to define the language in the url. 1) www.mydomain.com/en/articles/random www.mydomain.com/nl/articles/random 2) en.mydomain.com/articles/random nl.mydomain.com/articles/random 3) www.mydomain.com/artic...

IE8 removing border around some parts of my fieldset. Confused.. Works in ie6 and ie7..

Anyone have any ideas why the left and right border around first name and last name disappear in IE8. It works fine in firefox, ie6, ie7 and chrome. http://amc.hsac.com.php5-10.dfw1-2.websitetestlink.com/waiver.html I am at a bit of a loss. Page validates. Update If you enter some bogus information, and get to the 2nd page, you will...

Using custom buttons with js & php

How can I make a form with my own "submit" button & post the info to a php server side? how can I get js to post it? ...

Global variables in Javascript across multiple files

Hello, A bunch of my JavaScript code is in an external file called helpers.js. Inside the HTML that calls this JavaScript code I find myself in need of knowing if a certain function from helpers.js has been called. I have attempted to create a global variable by defining: var myFunctionTag = true; In global scope both in my HTML cod...

Daemon with Clojure/JVM

I'd like to have a small (not doing too damn much) daemon running on a little server, watching a directory for new files being added to it (and any directories in the main one), and calling another Clojure program to deal with that new file. Ideally, each file would be added to a queue (a list represented by a ref in Clojure?) and the ...

How to develop a site for multiple browsers these days ?

I would like to develop a site that works in all major browsers. I wonder what tools are available these days that may help me to check the functionality across browsers. I mean after I add some functionality to my site, I want to check it in all browsers. Are there any tools/software for this task ? I understand that it's impossible to ...

How do I show datetime in the same time zone as user using PHP or javascript?

Suppose now I've got the datetime to show like this: 2010-05-29 15:32:35 The the corresponding time zone can be get by date_default_timezone_get, how do I output the result in the same time zone as user's browser so that users don't get confused? ...

How can I paste an image from the clipboard into a web form?

I found this question, but the question is about how to get an image from the clip board into a wyziwyg editor! My question is "How can I paste an image from the clipboard into a field (what field is not that big issue as long as it works)", and then sent to the server. Jira has this functionality, so it should be possible! Any ideas ...

Unrecognized configuration section httpHandlers in Web.Config with Microsoft Visual Web Developer 2010 Express

Hi all, I am in need of some help with an error message I get with Microsoft Visual Web Developer 2010 Express. I would like to create a gallery for my site so I downloaded the NotesForGallery from codeplex. I have added the reference into the project like it told me to in the installation instructions. The instructions then say Re...

Webdevelopement : Login Specification

Hi there , i just started with PHP and i wanted to implement a Login. Rather than inventing the Wheel : is there any Online Specification for a Login System ? Things a should care about : detect Brute Force attacks implement password recovery maybe openID and/or with facebook account prevent SQL injection ..... So i think this has ...

install python modules on shared web hosting

I am using a shared hosting environment that will not give me access to the command line. Can I download the python module on my computer, compile it using python setup.py installand then simply upload a .py file to the web host? If yes, where does the install statement place the compiled file? ...

Tasks carried out for a Software Project

Hi, We were asked to propose a web based system for a shop, for an assignment. As i'm a newbee for project management stuff find it quite difficult to come with Tasks for our Gantt chart. Can someone pls suggest a sample gantt or main tasks followed in developing such system Thanks ...

What web platform is right for me?

I've been looking at web frameworks like Rails, Grails, etc. I'm used to doing applications in Spring Framework with Hibernate... and I want something more productive. One of the things I realized is that while some of the things in Grails is sexy, there are some serious problems with it. Grails' controllers: 1) are implemented awfull...

Table is centering by itself?

I have a page here: http://animactions.ca/Animactions/accueil.php and it has a right column. When the right column's content is longer than then the main content, the main content centers rather than start at the top despite I defining it in a style not to do so. From my style sheet: .tbsyles { margin: 0px; text-align: justif...

Cache Web Application files locally (for responsiveness)

is there a way i can cache all required application files on the local computer for speed without any disruption (at least those that can be run locally)? i want it to be able to start even without connection right from the start, isit possible? is Google Gears what i shld use? i heard theres a HTML5 feature/module for it? ...