The World Wide Web (abbreviated as WWW or W3, and commonly known as "the Web") is a system of interlinked hypertext documents accessed via the Internet.

learn more… | top users | synonyms (1)

59
votes
8answers
40k views

How to use the new affix plugin in twitter's bootstrap 2.1.0?

The bootstrap documentation on that topic is a little confusing to me. I want to achieve similar behaviour like in the docs with the affix navbar: The navbar is below a paragraph / page heading, and ...
19
votes
2answers
9k views

Position absolute but relative to parent

I have two divs inside another div, and I want to position one child div to the top right of the parent div, and the other child div to the bottom of the parent div using css. Ie, I want to use ...
18
votes
6answers
26k views

.htaccess: Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration

I have this error when trying to browse php files locally [Fri Apr 13 19:16:40 2012] [alert] [client 127.0.0.1] C:/AppServ/www/hr-website/.htaccess: Invalid command 'RewriteEngine', perhaps ...
18
votes
2answers
6k views

AngularJS - losing scope when using ng-include

I have this module routes: var mainModule = angular.module('lpConnect', []). config(['$routeProvider', function ($routeProvider) { $routeProvider. when('/home', ...
17
votes
3answers
5k views

Concat String in LESS CSS

I think this is not possible, but I thought I ask in case there is a way. The idea is that I have a variable for path to web resource folder so that I only need to change 1 variable in case the path ...
16
votes
2answers
443 views

Is unobtrusive JavaScript outdated? [closed]

When I first read the principle of unobtrusive JavaScript in the Web Standard Curriculum I thought it's a really great thing. Unobtrusive JavaScript is more of a programming philosophy than a ...
16
votes
2answers
382 views

How does Stack Overflow notify of server-side events without a page reload? I see no request in Firebug

How does Stack Overflow show the answer added/edited message without a page reload? Yes, I know it will happen with Ajax. So I opened Firebug in a browser to check it, to see whether any requests ...
15
votes
4answers
10k views

Ruby on Rails error “cannot load such file — less”

I am fairly new to ruby on rails, I have been trying to use twitter-bootstrap as an asset, so I have included it in my Gemfile, bundled and it installs successfully. However I have noticed that it ...
15
votes
1answer
359 views

Code from scratch an image cropper AND resizer (at same time) in jQuery/javascript?

We are coding a rather simple Javascript (jQuery) image cropper & resizer. Basically, for now, only features needed are indeed crop and resize. I have been checking a few jQuery plugins like ...
13
votes
7answers
405 views

Prevent Source Code Stealing

Hopefully this is suitable for stackoverflow. Recently I did some web design work for a person. I continued to show him progress by giving him a link to his new site on my development server. Nearing ...
13
votes
2answers
256 views

Are repeated backgrounds in html more efficient if they are larger than 1px?

If there is a one-dimensional background that is repeated on a certain dimension, is there any mentionable difference in performance if the image is e.g. 1px wide versus 10 or 20 pixels wide?
12
votes
6answers
906 views

Put CSS and JavaScript in files or main HTML?

Although it is always recommended to put JavaScript and CSS code into appropriate files (as .js and .css), most of major websites (like Amazon, facebook, etc.) put a significant part of their ...
12
votes
1answer
195 views

What is the equivalent of “android:windowSoftInputMode” for a web site?

I'm building a web site app that will be used from Android devices. At the moment, the browser squashes the page when the soft keyboard appears. I rather want it to scroll the page up. I've read that ...
11
votes
2answers
4k views

How do they do this - Mobile Site Added to Homescreen Appears as Standalone App

So I've only seen one website do this and I'm very curious to know how they do it. I'm using an iPhone 4 with iOS5 by the way. Go to http://m.funnyordie.com/ (Will Ferrell's sketch comedy site) on ...
11
votes
1answer
4k views

Jquery ui - sortable: drag by icon 'handle' within sortable element

I have jquery ui sortables working fine but my sortable elements have other interactive elements within them. In order to prevent accidental sorting when interacting with the elements within the ...

1 2 3 4 5 510
15 30 50 per page