web-development

Can't hide my DIV with JavaScript

This is my DIV <div id="MyDiv"> <div class="fa_close"><a href="#" onclick="hFa()"><img src="fadead/close1.jpg" /></a></div> <h1><i>THIS WEEK'S</i></h1> <img src="fadead/special.jpg" alt="special" /> </div> And I am trying to hide it like this but it does not want to work document.getElementById("MyDiv").style.visibility =...

Training Courses for Mobile Web Site Development

Has anybody taken a training course for mobile web site development that they would like to recommend? The course can be on-site or online. The course should cover XHTML MP development, I would think. ...

iPad - Test an HTML5 site on a Win7 PC

I'm looking to target a website specifically for an iPad but we don't have any Macs in house for testing. What's the most accurate way to test the site on a PC? I image I could use the Safari browser and shrink the window down to approximate the iPad screen size but I wonder if there's a better method out there. ...

Can I develop my own websites on my friend website server ?

If I buy a hosting (+ domain) service for the website of a friend of mine, and then I decide to use the remaining web space and mysql databases for my development and test... is google caching my development websites (in other folders and sub-urls) under his website ? What's the downside to develop on a server with already a productio...

jruby warbler set Rails environment variable is not persisting when deployed with tomcat

inside my warbler config file I have the following: config.webxml.rails.env ='development' i build my war, and deploy with the tomcat web utility, and when I go to the app it doesn't run, but instead of getting the development backtrace to help me figure out what isn't getting setup right, it just gives me the production 505 error pag...

Should I hash the password before sending it to the server side?

I noticed that most sites send the passwords as plain text over HTTPS to the server. Is there any advantage if instead of that I sent the hash of the password to the server? Would it be more secure? ...

In order to 'learn' programming, which is better? web-development or traditional console/standalone app. development?

The traditional approach to teaching computer science focuses on standalone application development. That is how I (and I suspect most SO readers) learned how to do it, but I am wondering if that is in fact the best way to learn how to be a good developer. I was wondering what others on SO think about this, is standalone development exp...

Mobile Development Tools

I'm researching various tools available for developing and deploying an app to mobile devices. The existing app is available in two versions: as a traditional desktop application and as a browser-based "Lite" version. We're building out the features of the "Lite" version to make it a full implementation of the flagship software, but th...

Visual Programming tools that can be used for practical app development

I've been interested in Visual Programming Languages (VPL) for a while. However I've hardly seen any environments that can be used for practical projects such as Windows apps or web services. I've heard of the following: LabVIEW - electronics and instrumentation Microsoft VPL - robotics Game Maker - games Google App Inventor - Android...

merge two arrays, while maintaining the numeric keys.

im trying to merge two arrays together. both have numeric keys and are unique. when i use array_merge, it re-indexes starting at 0. so lets say i have [2] = abc [5] = cde and i have [32] = fge [13] = def i want to merge these two together maintaining the unique keys. below is the explaination on the current merge behavior.. an...

Ruby on Rails: odd stylesheet issue

When I open up a page that's using my CSS it will work once, but won't work again until you open up the CSS and re-save it. Every other time I try to directly access my CSS, it works fine. But the other times, it doesn't work and I receive this server output: [2010-08-01 12:49:37] ERROR NoMethodError: private method `gsub!' called for #...

naming convention suggestion for web developement

I have implemented a notification bar at the top of my web page. When the user performs an insert,edit,delete. My messages are Successfully inserted // insert or create Successfully updated // update or edit Successfully deleted // delete Is this ok. Or any other suggestion from user point of view ...

editor for web development - python, html and javascript on ubuntu

Hi, I use gedit in Ubuntu (dual monitor) for web development in python,html,js. its working good and fast enough, but with lots of file open, and file switching and saving reduces productivity. so I am looking for alternative. I am not looking for heavy eclipse for my slow dual core machine. so, what other option do I have ? I am ok ...

Spring MVC: Insert values into all my ModelAndView s

I have a mid-size Spring application and I want to insert key/value pairs into all my ModelAndViews in a cross cutting fashion (much like AOP). The motivation is to add all kind of data to all my pages (configuration values, build number, etc). What is the easiest way to have this done? I prefer without AOP but I am ready to use it if ...

Which Java Web and persistence framwork is best for a beginner?

I am new to Java and J2EE I want to know which Framework is best for a beginner. I dont want to know which is best in terms of performance though that would be necessary once I become acquainted with all the concepts. I would like to try out all the frameworks. So can some one provide me which in terms of readability would be easy. I h...

Font-family selection for a web app

I have an existing web app, which has been coded and tested against Windows XP+, IE and Firefox. I am using the following font-family : Segoe UI, Verdana, Helvetica, Sans-Serif; Our customers like Segoe UI on Windows, but we find that the typefaces degrade poorly on MacOSX, and mobile devices, as well as if ClearType is not enabled. ...

Import Addresses from any email service

How to Import Addresses from Hotmail, Outlook, Yahoo!, Gmail and Others email services. for sending them invitations from my site? ...

how to have multiple web site with one URL?

Hi there, I have 2 web projects, with one URL:www.theurl.com, which is directed to the ISA server, behind this server have a web server, (windows 2003). I have a Default web site, and another web site which I want to add. (website2). when the user click the url,directly goes to my first web site, how can I have forexapmle: www.theurl....

What is the best book to learn website development using PHP?

I am a techie with expertise in Java and C++. I have no knowledge of web technologies. I want to create a new website and for this, I want to learn web development using PHP. I did some research online and came across recommendations that suggest using multiple books to learn the same - "Head First Php & MySql" , "Learning PHP, MySql a...

Sun One Web Server Configuration

Our IT department controls the setup and configuration of our web server. Webserver: Sunone 61sp9 Java version number: 1.4.2 Web Module: 2.3 But developers are only given a folder such as /www/jsp/user/name I don't think it is properly setup for multiple developers to develop their own apps. There is no way that I know how to deploy...