web-development

How do I allow the user to move an absolutely positioned div?

I am using jQuery to create a "dialog" that should show up in the center of the page on top of everything and should remain centered at all times unless the user moves it. It has a header area (like a title bar) and I would like the user to be able to click there and drag the dialog "window" around. It is an absolutely positioned div. W...

How can one determine page render time in Spring (on Google App Engine/Java)?

We are building an application on Google App Engine in Java using Spring 2.5. I would like to put something in the footer that displays page render time. Where are the best code hooks in either Spring or GAE/J to calculate render time and put it into the Spring model for JSP rendering? ...

How to create a certificate for local development with SSL?

I am currently doing local development on a webproject using a LAMP stack. Since my production application will be using https for login, I'd like to be able to mimic this in my local dev environment so that all the url's remain consistent. I am new to ssl certificates so could anyone please point me to some reference on how to do this...

Switching to web development

Hello folks, I'm new here. Seems to be a great site. What are the most important programming languages for web development? Since now I created desktop applications in C++ but now my boss is forcing me to create webapplications. Maybe someone can provide me with an overview. ...

Tomcat Error . Apache Tomcat error... org.apache.catalina.core.StandardWrapperValve invoke

here's my problem.. i have recently got my liferay portal ext running on Tomcat 6.0.20. everything works fine, but when i click some link this error comes up on the log.. some Javascript also is not working i guess. i am also running my server on Ubuntu 9.04, used Mysql as my database. hope you can help me thank you in advance here...

Command-line web browser that outputs the DOM

I'm looking for a way to process a web page and associated Javascript from the command-line, so that the resulting DOM model can be outputted. The purpose for this is to identify forms within the page without doing any nasty HTML (and Javascript) parsing with regular expressions. Are there any command-line tools that will do this? So ...

Why does the cursor keep jumping to the end of my TextFieldView while typing?

I have a sproutcore 1.0 page with SC.ListView items and a SC.TextFieldView bound to the same property of a model. When I type at the end of the TextFieldView everything works as expected. If I position the cursor in the middle and start typing the cursor jumps to the end. What could be causing this? I suspect that the jumping is happen...

Using custom Browser Keyboardshortcuts

I am looking for some hints/examples how to get Keyboardshortcuts working for my Browser. Lets take Internet Explorer 7 to get an Idea how this can work...any ideas? ...

Good blogs/articles/ books on building highly scalable systems?

Any good blogs/articles/ books on designing highly scalable systems? Good source code for studying would help a lot too. ...

How to stop all CSS overrides on a container DIV?

I have a container div which i add to external websites using a bookmarklet to do some functions, the problem i face that this div contains some elements and each element has its inline style, but when i put in the external site, sometimes it overrides styles from the site CSS. There is a way to stop any overrides on this div? ...

Amount of extra work caused by IE6 for web application development?

Even with frameworks like GWT you end up scratching your head because of IE6 specific problems. How much discount you would give if you do not have to support IE6? Or how much of the overall time is spent on IE6 issues? ...

HTML: Difference between <button> and <input type="button">?

Possible Duplicates: <button> vs. <input type=button />. Which to use? Difference between <input type=button /> and <input type=submit /> Hello to you all, What is the difference between <button> and <input type="button">? Also, what is the difference between <button type="submit"> and <input type="submit">? ...

Are these DIVs really necessary?

Hey there I sometimes find myself creating a div which serves no other purpose than to hold another element. For example when creating a menu, I would create a div and assign it a background colour, position etc. Then within it I would create an unordered list. I could surely assign all the properties I assigned to the DIV to the UL ...

How to test websites in IE 6 when running Windows 7?

Is there a way to install Internet Explorer 6 in Windows 7? I need to test the layout of a website. Using a website which takes screenshots is a bit awkward, as often you are making changes and testing the effect. Thanks ...

How can I detect if IE8 is running in compatibility view?

Is there anyway to determine if an IE8 browser has compatibility view switched on? I can't seem to find anything on Google, and so I'm wondering if this is a piece of information that is available... Why you ask!? I'm trying to track down a bug in our application. I'm piecing through the Elmah logs and there seems to be a trend; thi...

how to detect - where did the user came from?

Let's say I have google'd for digital photography school http://www.google.com/search?q=digital+photography+school&amp;ie=utf-8&amp;oe=utf-8&amp;aq=t&amp;rls=org.mozilla:en-US:official&amp;client=firefox-a I get few results. And from the results if I click "Photography Tips & Tutorials" under subsection of first result "Digital Photo...

Showing content over a flash 9 swf?

Hi, I have a swf that requires flash 9, and I'm trying to show content over it. To facilitate this, I've set wmode to transparent. The problem is, this ONLY works when the user has flash 10 installed, and I really don't want to require flash 10 to view the content on the site I'm working on. When I pull up a div over the flash content wi...

How can I disable network activity on Aptana (Eclipse IDE) until I save it to speed it up?

I'm working on a mapped network drive with Aptana. Some activity is making it very slow. Keystrokes may takes seconds to appear. I don't know what activity is causing the problem (background synchronization, backup tmp files, whatever ...), but I need to speed it up. Any ideas? Note: This question may apply to any Eclipse variant, but...

Override IE email auto formatting.

Hello, Our site makes use of a web based, rich-text editor FreeTextBox. In IE, not FF, if a user types in something like: someone@blah IE automatically creates a mailto hyperlink. I have tested this with other text editors out there and the story is the same with all of them. So the question can I override this browser behavior s...

How are intellectual property/patents enforced on the Internet?

It seems that throughout the Internet, different companies often take core ideas from one another and implement it on their own website. A good example is Facebook taking ideas from Twitter and Friendfeed and incorporating it into their news feed, although there are hundreds of other examples of products being "inspired" by other product...