web-development

is there any way to find orphaned pages without having access to the server?

Let's say I am testing beta pages on my server and was too lazy to password protect the pages I put up. I am putting them up in some obscure named sub-directory. Is there any way of people seeing the beta pages without guessing around at file names or looking at the directory from an FTP client? These are all orphaned pages, there is no...

Web UI design guidelines for selection from large hierarchy

Problem at hand: How to present two large hierarchies in Web UI for computer-illiterate users that fill some kind of boring application form. Use-case: User selects item "a" from hierarchy "A", then it selects item "b" from the (completely unrelated) hierarchy "B" and fills in a short free-form text to supplement his choice. Both hiera...

Content scroller that works with iPad + HTML5 video?

Hi. I'm looking for a content scroller ("carousel" component) and HTML5 video library that work well across browsers but most importantly handles HTML5 video and the iPad well. I've tried the AnythingScroller + JW HTML5 Player and they simply don't work on Safari 5 and iPad -- the HTML5 video goes outside of the scroller component, even ...

XSLT finding links inside tags in XML documents

Is there a way to have an xsl stylesheet recognize when a link appears inside a tag in an xml document and turn it into a working link? Example: <?xml version="1.0" encoding="ISO-8859-1"?> <?xml-stylesheet type="text/xsl" href="guys.xsl"?> <people> <person> <name>Guy 1</name> <bio>Guy 1 is a guy.</bio> </person> ...

Detect if Javascript is enabled?

Hi, Is it possible to detect whether javascript has been disabled if so redirect to another page? My application is being developed with JSPs, as I am using a lot of fancy javascript stuff in my application. Thanks in Advance Dean ...

How does Remember Me work in Spring Security?

I'm curious how does Remember Me work and how does it work in Spring Security? I understand that server sends long-lived cookies to the client. And then client sends cookie back and server can recognize the client because there's something like hash-map on the server with relations cookie --> session. I don't understand how does the se...

Architecting from scratch in Python: what to use?

I'm lucky enough to have full control over the architecture of my company's app, and I've decided to scrap our prototype written in Ruby/Rails and start afresh in Python. This is for a few reasons: I want to learn Python, I prefer the syntax and I've basically said "F**k it, let's do it." So, baring in mind this is going to be a pretty ...

Executing a python script using subprocess.Popen() in a django view

I've looked around a bit but I can't seem to solve this problem I have. I'd like to execute a python script within a view of my django app. I've placed the code I'd like to execute inside a django management command so it can be accessed via command line python manage.py command-name. I then tried to run this command using subprocess....

SQL Insert in an AJAX form

In a database where there is a many to many relationship (say 3 tables like this for example) Book | Author | BookAuthor _____ | ______ | __________ BookId | AuthorId | BookId Title | Name | AuthorId ... | ... | I want a form to create a new book. In that form, the users would enter...

force browser to add horizontal scroll bar?

Hey, Just wondering if there's some way to force the browser to bring up the horizontal scroll bar. My problem is that I have some images in a div and they "overflow" out of it when I make the window smaller. I would rather not use the overflow property nor do I want to resize the images. Thanks in advance, Matt ...

Using a large image (file size) but not hinder load time?

My demo is here. Basically, I have a HUGE image (19160px × 512px to be exact, just under 2MB) that I transition the backgroundx using javascript to make it appear as if a transformation was happening. I cannot compress the image much more without ruining its quality dramatically. Is there another way that I can achieve this with the sa...

What topics in web development are important to know before starting web development?

Possible Duplicates: What should a developer know before building a public web site? Where to start from in web development? I'm going to be totally honest: I'm not a web developer. However, I do want a web presence and I've looked at a number of free and open source products (WordPress, Joomla!, Movable Type, Drupal) and ha...

Java Web Application - Deployment Strategy Alternative to WAR - Managing UI Changes Separately from Full Code Base Patches

I've heavily edited this question because responses indicated I wasn't being clear problem: UI changes to a Java web project can be tedious and time consuming because every web-app file is contained within the WAR my proposed solution: Manage the JSP's, CSS, JS and Tags separately from the application code base which for the purpose ...

Converting filesize string to kilobyte equivalent in Rails

Hello, My objective is to convert form input, like "100 megabytes" or "1 gigabyte", and converts it to a filesize in kilobytes I can store in the database. Currently, I have this: def quota_convert @regex = /([0-9]+) (.*)s/ @sizes = %w{kilobyte megabyte gigabyte} m = self.quota.match(@regex) if @sizes.include? m[2] eval("se...

IE7/IE8 Table Display bug <thead> background image goes behind <table> background image

I have been developing a new page which includes a series of tables. The tables have a background image repeating on the y axis for the <table>. A background image for the <thead> and a background image for the <tfoot> It works fine in all browsers except IE7 + IE8 - I have isolated the problem as: the repeating background image for th...

Safari 5: Refused to load an object (GoogleSites flash player)

I made a (quick) website for a composer friend on Google Sites to be economical. I added a flash player to the site so that his music would be streamable online. All of this went swimmingly until Safari 5 came out. The flash player is not loaded on Safari 5. Worked fine on Safari 4. I imagine this could be related to Google redirectin...

How to trace .net code deployed in remote server

Hii, I have deployed my application to the remote server. But some error occures during that runs on the server. So i need to trace the server side code. I don't have Vs .net in my server but i have that in my client machine. Is there any way to trace the code from the client? ...

In search of a good and customisable IDE, Is eclipse is the ultimate one?

I am using GNU/Linux (Ubuntu + Gnome). I have been using netbeans on windows since a long time and on Linux I prefer to use vi or emacs. Now my problem is I want to totally migrate into Linux for all my development works but i have seen that netbeans do not has that appealing look as it used to have on windows. Same with eclipse. I kno...

Insert div over flash in IE

Hi, I have a menu bar which has several submenu items. The homepage contains a flash animation which is located under the menu bar. When the submenu items are over the flash file, the flash file will be displayed over the menu bar. I tried with z-index, but it won't work. This problem only happens in IE. Any tips? Thanks ...

Mobile cross-browser web testing

When building websites I commonly use tools such as http://browsershots.org to ensure that my pages looks reasonably OK in the different browsers. I am however starting to get complaints about a heap of mobile browsers running on different portable devices. My question is simply how do one best carry out mobile cross-browser tests ? (an...