JavaScript is a dialect of the standardized ECMAScript programming language, primarily used for scripting web-pages. Use this tag for questions regarding ECMAScript and its dialects/ implementations: JavaScript, JScript, etc., excluding ActionScript.

learn more… | top users | synonyms (2)

3
votes
2answers
359 views

Node.js - Is there any front-end js? Or is it all backend?

With Node.JS as a backend solution; is there any frontend javascript or all events controlled on the backend?
2
votes
1answer
128 views

Why don't people embed style and scripts in the HTML?

I know this sounds like a silly question, but hear me out. These days, there are a lot of 'media aggregator' tools that will take your globs of javascript (laden with coffee and underscores and ...
1
vote
2answers
351 views

Putting Together HTML, CSS, and JavaScript

Hopefully this question isn't too broad… I am a competent iOS programmer and have some experience with Java (command-line tools). Over the last year or two I've dabbled into HTML, CSS, and ...
5
votes
1answer
470 views

When opening a local HTML file, how do I ensure I get the content not a cached version?

I have an issue where the newest content of a local HTML file is sometimes not displayed. Instead, the browser shows a cached version. The workaround is to press <Ctrl>+<F5> but I'd like ...
4
votes
1answer
916 views

Dictionary API for a website?

I would like to have a dictionary for my website where the user can easily fill in a word or better yet right click a word and get the definition right there on the page or something along those ...
2
votes
2answers
61 views

How does this stackexchange form saved the work, I mean keep an auto save function, to retrieve loss of work

How does this stackexchange form saved the work, I mean keep an auto save function, to retrieve loss of work, in case the user's browser crashes.
5
votes
2answers
1k views

JavaScript based Audio player.

I am trying to find an Audio-Player, javascript based. I have tried a bunch of them, but was unable to find one with "Analytic", "Caption", "Control-Bar" etc other features. Can I have some ...
1
vote
2answers
2k views

Using <audio> in Firefox with JavaScript

I am trying to implement background music on a website using the audio object, which is controlled by a JavaScript, I have posted a question about this before, @LazyOne explained that IIS will not ...
3
votes
3answers
215 views

Using js and cookies to show different content on homepage? Good or Bad Practice?

I just wanted to get everyone's opinion on this, so I've been thinking about using a cookie I set on our ecommerce site to show customers different content when they return to the website. It is ...
1
vote
1answer
99 views

What is the technology used to let people drag and drop images on top of each other, then save the result?

Fairly simple really, I just want people to be able to drag an image onto another image, position it where they want by dragging it around, and then when they're happy with it, click a button to save ...
0
votes
4answers
2k views

Website or service to view a page without Javascript

Is there any website or service that allows you to submit a URL and displays the corresponding page with Javascript stripped out/disabled?
2
votes
1answer
509 views

How to interpret Events from Unique Events in Google Analytics?

I'm trying to add some javascript triggered Google Analytics events to a website that is already working with GA. I've included the following beneath the standard GA script (new ga.js script). ...
6
votes
1answer
205 views

If all content is on a single page and hidden/shown with JS would it make sense to use hashbangs?

I have a page where the general structure is <a href="#section1">section 1</a> <a href="#section2">section 2</a> <a href="#section3">section 3</a> <a ...
4
votes
2answers
213 views

Adding Google +1 Button Slows Page Load Time

This article says Google +1 tags can add a second to page load time, which means a 10% decline in visitors. The article authors say they use smart tag loading to reduce page load time. Does anyone ...
3
votes
2answers
2k views

Which is better jplayer or jwplayer?

I need to make a video slideshow( slides to contain embedded video players and must play mp4 files), and I am kind of confused what would be the best free solution I can use? jplayer and jwplayer both ...
10
votes
1answer
360 views

When and when not to use a CDN

I'm working on a web-application that loads a couple of small gif images onto the screen. I'm using a relative path, which means they are loaded from the same web server that serves the php page. The ...
1
vote
1answer
132 views

How to have html display a link, but open a javascipt function instead?

I have an html page, and I need a link to show that the user would be going to 'example.html', when really, the link goes to 'javascipt:ajaxLoad(example.html);'. EDIT: I went over to stackexchange, ...
3
votes
4answers
271 views

Is it a good idea to recommend browser on a e-commerce web site

I have built an e-commerce app but I didn't have a lot of time so I decided to build the app compatible with cutting-edge browsers. so of the features are not working and some them are working less ...
1
vote
2answers
454 views

Lightweight javascript editor for textarea

I'm looking for a simple javascript editor, much like the one i'm using to type this message. I've tried searching (and i wondered why starting to ask a question shows much better search results than ...
1
vote
0answers
295 views

Embedding *.swf objects: javascript vs xhtml [closed]

I am a newbie in webdesign and I´ve been wondering which is the modern way to embed swf objects. I've been using the following html code: <object id="flash1" data="presentacion/prototipe.swf" ...
2
votes
0answers
90 views

Is there serious reason why big company like Facebook or Google don't use front-end libraries such as jQuery? [closed]

I saw that Facebook like open-source software a lot. Is there some webmaster-specific reason why don't they use jQuery or another javascript library? Is that because jQuery/another js library has a ...
0
votes
2answers
131 views

Does Google Analytics track links that use onclick=“parent.location='Something.html' ”?

I am using onclick="parent.location='#'" to make a table into a link, but will Google Analytics see this as a link or will it cause mayhem in the reports?
4
votes
2answers
67 views

Abandoment to blame for the last JavaScript file not always being loaded?

I have a code snippet for an app that users are loading as a 3rd party script on their site. The general sequence is as follows: Site loads http://www.example.com/foo.js foo.js does stuff 1 to 2 ...
0
votes
3answers
110 views

I need a webpage to host my javascript! [duplicate]

Possible Duplicate: How to find web hosting that meets my requirements? Does anyone know a website that hosts javascripts on their page? I have a research project that needs to collect ...
2
votes
2answers
739 views

Prezi HTML 5 & html5 book recommendation

I was wondering what were you thought on being able to build an app similar to prezi (presentation app) using HTML 5. Also while you're at it, I'm looking for a good HTML 5 book recommendation. ...
9
votes
2answers
161 views

Automated Website Testing/Sanity/Quality

I am thinking about building a tool that starts from the root of a webpage and traverses the entire website gathering a list of resources such as CSS/HTML/Javascript files and then runs CSS/Javascript ...
0
votes
2answers
80 views

Mac font on website on PC

I like how fonts look on a Mac. Is it possible to render something similar in a website and have it work on all operating systems and browsers? I'm aware of font-face but I can't seem to find a clean ...
3
votes
1answer
125 views

JS and CSS caching issue: possibly .htaccess related

I've been using the HTML5 Boilerplate for some web projects for a while now and have noticed the following issue cropping up on some sites. My CSS and JS files, when loaded by the browser, are being ...
2
votes
4answers
107 views

Should I rely on externally-hosted services?

I am wondering over the dangers / difficulties in using external services like Google Chart in my production state website. With external services I mean them that you can't download and host on your ...
2
votes
1answer
86 views

Google Ads Blocking Other Site Elements From Loading

I'm using Google DFP to serve Adsense ads. In Google Chrome (this doesn't seem to happen in other browsers), the page will get stuck loading pagead2.googlesyndication.com. It will just load for hours ...
19
votes
6answers
13k views

How do you exclude yourself from Google Analytics on your website using cookies?

I'm trying to set up an exclusion filter with a browser cookie, so that my own visits to my don't show up in my Google Analytics. I tried 3 different methods and none of them have worked so far. I ...
1
vote
3answers
371 views

How to indicate to browser that javascript (external) has been changed

The advantage of including js on web page is that I need not to worry about cached js file. If I change it on the server, the same will be reflected on client side. But it increases the size and ...
1
vote
2answers
296 views

Litmus test to determine if javascript content is crawlable

Already read this: How can I create links in javascript that are crawlable by search engines? I make the assumption that if you view source on a page and can find content / links hidden by javascript ...
3
votes
2answers
631 views

One JS/CSS bundle Vs. One with default and one with custom

On a few of my sites, we use Javascript/CSS bundles to reduce load time. I've always used two bundles for each type (4 in total) so I have JS Bundle 1: Contains scripts that are standard on every ...
0
votes
3answers
121 views

Do search engines care about case sensitivity?

Which is better for SEO ? HTML <p id="hello"></p> <p id="HELLO"></p> <p id="Hello"></p> <p id="hELLO"></p> JAVASCRIPT function hello(){} ...
18
votes
5answers
438 views

What documentation exists for HTML, CSS, and JavaScript?

PHP users have the PHP.net docs Ruby users have Ruby-Doc.org Python users have docs.python.org jQuery users have docs.jquery.com All are considered go-to references when working within those ...
3
votes
1answer
1k views

Does using onclick on div's effect SEO?

I have a few elements on my page that uses onclick as the link, e.g: <div class="service" onclick="location.href='<?php echo $fields->service_1_link; ?>'" style="cursor:pointer;"> ...
5
votes
4answers
3k views

Free search tool for static website

I am looking for a free search tool for a website hosting html documentation files. the tool should display the results as listings of page title and few lines of text from that page. It should also ...
1
vote
3answers
427 views

What could cause analytics bounce rate to go from ~30% to ~100% in a day?

A month ago, my site had about a 30% bounce rate. One day I pushed some changes to the site, and all the sudden my bounce rate shot straight up to around 98% and my average time on site plumetted to ...
1
vote
1answer
265 views

crop some text from segment text

I have a div: <div id="crop"><span> text - 123 views</span></div> I want crop from "-" to "v" ,thanks
3
votes
2answers
221 views

Does Google Analytics allow custom variables to have a value of zero?

I was interested in tracking the versions of QuickTime my users have installed. As suggested in an earlier question, I have set up a custom variable and built a report around it. Here is my code for ...
2
votes
1answer
2k views

Rounded corners in IE7 and IE8

Now every major browser supports border-radius, I was wondering what the best way to get rounded corners in IE7 and IE8 is until IE9+ becomes most dominant version of IE. I've seen several javascript ...
4
votes
3answers
201 views

Why do many websites have so many javascript includes?

I notice this is the case mainly for rather sophisticated pages. However, why don't developers simply combine the JS files and condense it all together? Is it not a more efficient method, in terms of ...
5
votes
1answer
569 views

Looking for a desktop application similar to jsFiddle

Is there a desktop application or IDE for Windows or GNU/Linux similar to jsFiddle where I can insert my JavaScript code, HTML and CSS and see how it executes? I don't mind writing HTML, CSS and ...
1
vote
1answer
1k views

Monitoring JSON requests sent/received from the browser?

Having a website that generates and receives JSON requests via AJAX, I failed to find a tool that shows me live the communication including the content of the JSON calls. I thought that the Google ...
1
vote
3answers
323 views

Javascript in HTML vs in a .js file

I heard that putting the javascript in the html code isn't good for SEO and that it's better to put it in a .js file. It's clear that it makes the code more understandable but is it the only reason?
4
votes
2answers
274 views

Best approach to have Google index content primarily generated by Javascript

I'm developing an app where customers can drop in a Javascript tag onto their website, and it will generate content. What is the best approach to have Google index this content and associate it with ...
2
votes
2answers
100 views

Major SEO Pitfalls of JavaScript loaded CSS?

Looking to start with a basic.css and have JavaScript load enhanced.css when JavaScript is ebabled. What major negatives will this have for Search Engines indexing and ranking my site?
5
votes
3answers
6k views

What is the optimal folder structure for a web directory?

I've been doing web development for years, and I've always done a web structure similar to this: public_html/login.php public_html/css/login.css public_html/js/login.js public_html/img/logo.png ...
2
votes
1answer
4k views

Javascript not loading from local drive

I'm overlooking the obvious...Modifying an index page on local hard drive before uploading it to server. And the javascript is not loading. This doesn't work: ...