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.
1
vote
3answers
145 views
Can Google Analytics track raw data?
I've never used Google Analytics (GA), so maybe this is possible. But, a friend of mine had someone create a site for him for quite a lot of money. Anyway, my friend wanted the guy to add another ...
0
votes
1answer
93 views
Encouraging recurrent users to +1 (or Facebook Like)
I want to display a message to users who have visited my site 5 times, but have not yet +1'ed or Like'd to please do so. I guess javascript and a cookie are likely required. But have no idea how to go ...
3
votes
2answers
225 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
120 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
284 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 ...
4
votes
1answer
399 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 ...
2
votes
1answer
647 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
52 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
188 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
92 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
679 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
384 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
176 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
179 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
1k 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
271 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
102 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
219 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
347 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
241 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
87 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
101 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?
0
votes
3answers
104 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
636 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. ...
8
votes
2answers
118 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
78 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
115 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
103 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
73 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 ...
15
votes
4answers
8k 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
204 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
207 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 ...
0
votes
0answers
51 views
Which rich text editor it is used on SE? Is that under free licence? [closed]
I was wondering if the text editor we are actually using to ask and answer questions on SE is a home made solution, a free software project, something else?
In case it is a free software, where can I ...
3
votes
2answers
398 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
1answer
846 views
how can I get my data in SQL using JavaScript in ASP.Net [closed]
I have no idea in creating javascript. Can javascript fetch data from the database?
0
votes
3answers
110 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
4answers
393 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
861 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
5answers
2k 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
357 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
237 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
182 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
1k 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
173 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
457 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
610 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
254 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?
3
votes
2answers
193 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 ...