web-development

How do i let the user input text in German / French for a website

Hi, Is there a way that I can let the end user type text in German / French in a text box for a c# asp.net website. Is there any available solution for the same, Thank You ...

JSF 2.0: Action doesn't work

Hi guys, I set up a JSF2.0 project with maven. Everything works fine exept action handling :-( Here is my .xhtml page: <h:form> <h:commandButton id="submit" value="Absenden" action="#(projectController.saveProject)"> </h:commandButton> </h:form> and here my managed bean: @ManagedBean @SessionScoped pub...

ie8_getElementById()

Whats the difference between document.getElementById() and document.ie8_getElementById(). Thanks in adv. ...

How to reverse the text with js/css?

Possible Duplicate: How does uʍop-ǝpısdn text work? How to make the text upside down while keep the left-right order? ...

common problems with images html

Are there any common problems why alt attributes on images wont work. Tested for IE8 Standards mode. Thanks in adv. ...

Getting back into the website development game.

Back in the 90's I used to develop websites using Cold Fusion. We also still used tables for most of our page layout, hehe. I just started getting back into website development again seriously. I'm getting a pretty good handle on the basics with CSS and starting to add Javascript. I'm guessing that I will eventually add PHP as a mode...

vbscript - How to get the type of a variable?

The title says it all really. I want to get the type of a variable using vbscript. Thanks. ...

What makes CakePHP secure, and how can we increase it's security?

Hello Stackers, Right now I'm learning about the CakePHP framework, and I just wanted to know what makes CakePHP secure. How secure are its components like for example how secure is the authentication component. Also, what can we do as developers to increase the security of our CakePHP base web application? Also do you guys recommend a...

clientHeight returns defferent values depending on the mode IE8 is in

In a javascript function i use document.body.clientHeight to get the height of the body. Now depending on the mode IE8 is in i.e quirks or standard, the value is different. Example In quirks, document.body.clientHeight = 800px In standars, document.body.clientHeight = 650px Hope i've made sense. Please help. ...

What would be better to use in this case? c# or php?

I am making a website where users can upload pictures and draw on them, add text etc. My team knows some php, but we know nothing about c#. Time is not too much of an issue. We all know java, what would the perks of each be? I have been hearing that c# will be much better for handling the canvas because there is a lot more libraries ...

ASP.NET Master Page frameworkName: Value cannot be null error

I'm going over some ASP.NET tutorials and the first one I'm looking at is how to make a Master Page. When I do create a master page, I get an error: Value cannot be null. Parameter name: frameworkName It occurs in the first line of my master page (MasterPage.master) and it's the default page that gets created- I haven't modified it a...

How to write the code for self expiring download link for asp.net website ?

I am planning to sell digital goods on my website (Asp.net). After successful payment the customer will be redirected to the download page of my website, which will display the link to download the digital content stored in my server. I want to secure the location of the file, by creating a disposable link to the file. Every time a cus...

Table cell doesn't stick to height I'm trying to enforce

I have a <td> that is just about empty since it only contains an &nbsp;. The height I'm trying to enforce is 110 pixels, but for some reason the table cell is rendered with a height of 182.317 pixels. Why? There are a few things I already checked: The font-size that applies to the non-breaking space isn't set to something that cannot ...

What alternative frameworks for ASP.Net exist?

Ok so we all of course know of the big two frameworks built atop ASP.Net. Webforms and MVC. Are there any alternatives to these two big and Microsoft-made frameworks? I believe that OpenRasta had something extremely lightweight which was independent from both, but I'm not sure. Is there anything else like that though? The reason I as...

Need your help with creating an invoicing application using php

Hello, I am working on a php and mysql based client and invoice management web application. In my apps Invoice section, I want to allow users to add any number of invoice items (qty, description, price) dynamically (by default only one will be displayed), and autogenerate total, grandtotal amount. I want to do this using jquery. And wh...

Pattern for website content that updates periodically?

I often find myself designing simple little web projects that are serving up aggregate content or doing a 'mashup'. Typically this involves running a script to scrape/parse/manipulate some data periodically, then serving that as 'static' content. I run the 'refresh' script as a cron job that generates HTML that is served up to the end-...

What is the real benefit to make pixel perfect cross browser compatible site for anyone?

IF a site is Valid and Accessible and usable but it's some things are showing slightly different on different browsers and almost matching with design? What is the real benefit to make Pixel perfect cross browser compatible site? While nobody will surf same site on multiple browsers and OS. Why anyone think(client or boss) that pixel ...

Is there a way to stop users from downloading an image from your website?

I'm using asp.net but open to using any language for doing this. I've seen some javascripts that does this but they seem pretty easy to get around. Is there a reliable way to keep users from downloading an image? ...

Please help me fill in the gaps of my knowledge of deploying a web application to a web host? (warning: many related questions)

This will be my first attempt to build a full web application from scratch myself. I have huge gaps in my knowledge and would appreciate some advice. Please point me to a tutorial so I can learn myself, or give me pointers on where to start searching. I do maintain a web application for a living, but work within a set environment. I am ...

Getting height and width of body or window of web page

Hi Depending on which mode of IE8 i'm in (quirks or standard) i get different values for the height and width. I've tried standard javascript and jquery but both return different results. In Quirks $('body').width = 1239 $('body').height = 184 document.body.clientWidth = 1231 document.body.clientHeight = 176 In stand...