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

0
votes
1answer
76 views

Looking for a HTML5 canvas JavaScript library or framework

I am trying to make an interactive guide in HTML5 canvas element. With interactive guide, I mean something like this. I want a JavaScript library or framework which is suitable for making interactive ...
0
votes
1answer
22 views

Protect SVG from client access

I want to make a presentation that consists from some number of slides. The actual content of the slides is going to consist of vector elements in SVG format. The transition between slides should be ...
2
votes
1answer
281 views

Collapsible menu and amount of links in a web page

One of my pages contain three levels of a collapsible menu (JS + CSS from mycssmenu.com). There are a dozen first level items displayed to users, each one with various second level items, and finally ...
0
votes
0answers
14 views

User entered Javascript security implications [migrated]

I'm creating a web site that lets people create their own site using a subdomain. Are there any security implications by letting people add custom javascript to their pages? If so, which ones? XSS? ...
3
votes
4answers
680 views

JavaScript to stream video files

Is there a JavaScript API for streaming WMV/AVI/MOV files?
1
vote
1answer
86 views

Multimedia web applications that perform well

There are a few multimedia web applications like PHPMotion, ClipBucket that allow playback of multimedia files. Beside the mentioned multimedia web applications, are there other similar multimedia ...
2
votes
1answer
122 views

Is making AJAX site crawlable AND degrading gracefully with JS turned off possible?

According to this spec, making AJAX site crawlable by Googlebot means that you have to use hashbang (#!) links in it which means it won't degrade gracefully when JS is turned off. This might mean that ...
0
votes
1answer
70 views

How to show only disqus thread-votes and nothing else

I want to show just the thread vote portion of the whole disqus commenting system. How would I go about doing it? Here is an example of what I am asking for: http://i.stack.imgur.com/7FvYO.png could ...
2
votes
2answers
34 views

Track exit link and ads with PHP

I want to track exit links on my website and also exit ads like Google Adsense etc. I mean by exit ads is that when click on add I get ads dimension and ads type like Google or other ads. In short I ...
1
vote
1answer
37 views

JavaScript loaded external content SEO

I wonder what is the best way to have Javascript loaded content indexed by search engines. I know that search engines don't execute Javascript, but I am thinking more of an progressive enchantment. I ...
4
votes
2answers
129 views

Is there an elegant way to track multiple domains under separate accounts with google analytics?

I have a situation where a content management system uses the same template for multiple websites with different domain names and I can't make a separate template for each. However, each website needs ...
6
votes
3answers
7k views

Why would you use document.location.protocol instead of plain // prefixed urls?

For instance Google Analytics uses document.location.protocol in the boilerplate for tracking: <script type="text/javascript"> var _gaq = _gaq || []; _gaq.push(['_setAccount', ...
1
vote
1answer
390 views

SimpleViewer + lightbox

Is it possible to integrate any kind of Lightbox with SimpleViewer? But I don't want to display SimpleViewer in Lightbox. I want to Lightbox show when I click on one of the images in SimpleViewer. ...
0
votes
0answers
25 views

Sencha TOuch IDE (WebStorm) [closed]

I am new to Sencha Touch Framework. I am starting to develop a sencha touch application. I am stuck at using the right IDE for the development. Right now I am using Webstorm IDE for running the Sencha ...
0
votes
2answers
58 views

Any drawbacks by including Google Analytics in your main js file?

I'm using MVC that is compressing and minifying all my js files into one file so basically there is only one request. As far as I see every page has Google Analytics code below their js includes. If ...
1
vote
1answer
167 views

GA and /outbound/javascript:void(0) bounce rate

My Google Analytics reports a bounce rate very high for outbound/javascript:void(0) but I don't understand what this URL is. I use Drupal, and in the HTML code there isn't this URL.
1
vote
4answers
377 views

Sudden drop of pageviews/visit and increase of bounce rate in Analytics

Google analytics stats: 04 june 2012 Visits: 4.423 Unique visitors: 3.558 Pageviews: 77.352 Pageviews / visit: 17,49 Visit length: 00:06:26 Bounce rate: 1,09% 05 june 2012 Visits: 4.652 Unique ...
-3
votes
0answers
31 views

Bug in the code, hole in the ship :( [closed]

Here is my php code: <!DOCTYPE html> <html> <head> <meta name="viewport" content="initial-scale=1.0, user-scalable=no" /> <link rel="stylesheet" ...
1
vote
0answers
24 views

Create a more voices for meSpeak.js [closed]

I saw a meSpeak.js project and there is also a folder called voices, but every voice file is json so i want to convert Mbrola voice to .json is there is any way to do that thanks
0
votes
1answer
76 views

Prompting Facebook to embed Youtube videos from a site

On a website for a newspaper, some of our articles are video reports (embedded from Youtube) with small descriptions below. When these get shared on Facebook, perhaps when someone copies the URL into ...
-1
votes
0answers
21 views

Expand/Collapse OR Toggle : Is there a way to work with same code in all browsers? [closed]

I want to have sections expanding/collapsing or toggling or show/hide. Is there any way/technique that I will not need to use different code for IE? Lets say CSS only or javascript or whatever, can ...
5
votes
1answer
258 views

Monitoring GWT Website

We currently monitor our webapps using curl. More and more of our webapps use the GWT framework, which uses tons of javascript, and we can't rely on our curl system to monitor anymore. Therefore, we ...
2
votes
2answers
190 views

jQuery scrolling images for e-commerce site, what to do about users who disable JS

As the title suggests, I am developing an e-commerce site and I intend of having two jQuery plug ins on the default page, one for scrolling images and the other for the navigation menu. Should I be ...
1
vote
2answers
403 views

Comparisons of Javascript 'data grids'?

I've found plenty of questions between here and StackExchange of people asking for the 'best' data grid / data table, or one that has a particular feature, and plenty of lists out there (of various ...
0
votes
1answer
194 views

SVG images grow and create scrollbars when on the server

Okay so I embedded some SVG images into my page and opened it locally on Chrome and it looked fine. I upload the same file to the server and look at the page online and the SVG images have grown by ...
0
votes
0answers
17 views

Does using html5shiv limits javascript usage in page? [closed]

I want to use html5shiv library. My website has many pages that include javascript code. Some page even have: window.onload = new function() { ... }. Do you think that the html5shiv disrupt the ...
1
vote
2answers
65 views

SEO impact of links for javascript functionality

For example, jQuery tabs uses a link as each tab, that opens the tabbed content. Or often times developers will use a link as the anchor text for a hover tooltip, even though it doesn't actually link ...
4
votes
1answer
103 views

What is the best way to optimise a site with lots of images for a Retina display?

I am going to have a website which will deal with a lot of images. What is the best way to optimise them for Retina display without having much of an impact on website loading times? There seems to ...
2
votes
2answers
28 views

Test different timezones

What is a simple way to temporarily change the timezone in Chrome so as to test how a site renders for different locations? On OSX Mountain Lion, I've tried as bash script with: export ...
0
votes
1answer
53 views

JQuery Plugin files getting viruses even with CHMOD 755

I have a bunch of JQuery plugins (eg: masonry, isotope, carousel, etc) within a JavaScript folder in my root. These have been repeatedly infected with viruses making Google put alerts on my site. The ...
0
votes
0answers
12 views

MLS Search Widget (regional) [closed]

Does anyone have any experience with regional MLS search widgets? I am doing some work with a real estate agent (who wants to get rid of his cookie-cutter, pre-paid real estate web site and) who now ...
0
votes
1answer
35 views

more capability from CSS [closed]

so i've just finished a book to learn CSS. (known HTML since high school but didn't have the initiative to pick up CSS 'til now). anyways, ever since i started reading about pseudo-classes in CSS i ...
0
votes
1answer
50 views

What is the syntax for putting a nofollow attribute into a javascript file

Matt Cutts states in this video: It turns out that as we are executing JavaScript, we do look at the attributes. So you can actually use Javascript and put, like, a nofollow attribute on ...
12
votes
4answers
15k views

How do I set expiration headers for CSS, JS, and Images?

I have recently analysed my website with pagespeed addon on firebug. It suggested me to set expiration on CSS, JS and image files. I am wondering how do i do this?
0
votes
0answers
46 views

How to put Evernote on my webpage

I have lists of things to do in Evernote. I want to put this on a webpage. If it can be interactive, that's even better, but I would be happy if I could just display my Evernotes on my page as well. ...
1
vote
1answer
44 views

Toggling between hidden divs instead of two links

For each entity in my site I have a 'joint' section (~30%), and a sub-section (~70%) which has two different options, meaning I only display ONE of them at a time. Currently I have two different links ...
2
votes
0answers
12 views

I want to build a script CDN for my place of employment [duplicate]

I write a bunch of scripts (javascript, php, perl) for my work. Right now, people have to get the scripts themselves from our sharepoint, and then install it as either a bookmarklet or a greasemonkey ...
1
vote
1answer
342 views

Site got hacked while many / all security leaks have been removed [closed]

I've got a website with this code appended to my php document : <? #8f4d8e# ...
7
votes
7answers
908 views

Can anyone list some real examples of 'HTML5' being used in the wild?

I am using HTML5 in the same way everyone seems to be using it these days, meaning: HTML5 tags, Canvas / 3D / javascript and CSS3. I am struggling to find examples of sites that are using these ...
1
vote
1answer
26 views

Organizing main page with detailed content

I need to develop a structure like the one that appears in the following site: http://www.autoic2.com Clicking an image, showing the related content Clicking in that new content, showing the ...
2
votes
2answers
217 views

Run external application on markdown source in ikiwiki

Can I add a button to each wiki page in ikiwiki which launches an external application (on the client side) or script with the markdown code of the current page as input? Edit: I didn't realize that ...
1
vote
2answers
48 views

Proper name scrolling news/photo

I'm very new to webdesign and am wanting to install a scrolling news/picture banner in the site but don't even know the proper term to search for to find out how to do it. Here's an example of what ...
0
votes
0answers
20 views

How do I set the Expires header for Javascript files? [duplicate]

I have successfully set the Expires header for images and CSS files, however, my configuration does not appear to be working for Javascript files. Here is my configuration directive for Javascript: ...
2
votes
1answer
133 views

A JS-based WYSIWYG HTML editor with flexible image upload? [closed]

Is there a good JS-based WYSIWYG HTML editor with flexible image upload out there? Ideally, I'd like an editor that allows me to handle image upload in a custom callback.
2
votes
1answer
69 views

New to website form validation

I'm new to form validation and I have been lucky over the years. I would like to update my method of form creation in my sites. I was curious to know what is standard and if there is a pre-existing ...
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 ...
0
votes
1answer
50 views

PHP and Javascript [closed]

I am a good C programmer. I have recently studied a bit of JavaScript and I plan on developing my skills by also learning PHP. Can I learn both these language in 3 months and after that build a site ...
2
votes
4answers
328 views

Javascript slider with fade [closed]

I've been scouring the web for a slider that offers a particular effect, but I can't find one. I'm hoping that someone here will be able to help out... Specifically, I need a slider that will slide ...
1
vote
0answers
29 views

Top commentators widget compatible with facebook comments

Created a project on freelancer dot com but then i was wondering if this thing is possible knowing Facebook comments has its own restrictions and limitations. "Hi, I want a widget on the sidebar ...
-1
votes
1answer
347 views

Does anyone knows a good Facebook chat script? [closed]

I'm looking for a facebook chat script.. that can handle a large number of users.. does anyone knows one? I need one urgent and please post one that you had experience with.

1 2 3 4 5 7