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)

6
votes
2answers
509 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 ...
3
votes
1answer
2k views

Fixing validator error “cannot generate system identifier for general entity”

The W3C validator shows a "cannot generate system identifier for general entity" error when attempting to validate a page that contains the following code: <script type="text/javascript" ...
5
votes
1answer
161 views

Repeated calls with random Javascript append to the URL

I keep getting calls to my server where there is random Javascript appended on the end of lots of the calls, e.g.: /UI/Includes/JavaScript/).length)&&e.error( ...
4
votes
4answers
1k views

Protect js code from being stolen

I have developed an web app with jquery,html-css markup which would be an premium web app. So I have to ensure the security of the code from being stolen.But as all these are client side,so there is ...
-2
votes
3answers
466 views

If something can be achieved using CSS or JavaScript, which will render faster? [closed]

I have two working solutions for hover navigation that I've built. One solution uses JS, one use CSS. My question is, assuming a browser is JS-enabled, which solution will work faster? I'll most ...
0
votes
1answer
205 views

XSS with local storage - Is it a concern?

I am working on creating a demo of how to use HTML5's local storage. The demo will be placed on my personal website and will append the user submitted data to the html. Can XSS stored on the client ...
1
vote
3answers
520 views

Is there a third party JavaScript that adds Facebook Chat style messaging to a site?

I'm looking for a service (happy to pay) that will provide Facebook style chat to users of my website. I'd expect it to work somewhat like Disqus but probably require a bit more work to implement user ...
0
votes
3answers
164 views

Can google “see” this custom javascript code which displays links from an external site to mine

I have a javascript code on my site who displays links from another site. This is what I have on my source before: <script language="JavaScript" ...
1
vote
1answer
76 views

Posting a link to our page on facebook doesn't resolve correctly within FB

We have a product page, there is a javascript popup that requires users to enter an email address to gain access. But the page behind the popup is fully rendered (for SEO value and such). ...
-3
votes
3answers
147 views

Interlinking websites using javascript - safe for SEO?

I have a nutrition network of 20 sites which share the same hosting account, though different C class IP's. They were interlinked and suffered a massive traffic drop after penguin. I have decided to ...
1
vote
2answers
127 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 ...
12
votes
4answers
2k views

Loading main javascript on every page? Or breaking it up to relevant pages?

I have a 700kb decompressed JS file which is loaded on every page. Before I had 12 javascript files on each page but to reduce http requests I compressed them all into 1 file. This file is ~130kb ...
2
votes
1answer
112 views

If my URL's are static, but then parsed by Javascript, does that make it crawlable?

Lets say I have a link: <a href="/about/">About Us</a> But in Javascript [or jQuery] catches it and then adds the hash based off of the href attribute: $('a').click(function(e) { ...
0
votes
3answers
479 views

Tracking Outgoing Links With Google Analytics Events

I've been trying to track clicks on external links on my website using the events tracking method. So I've got my Google Analytics code setup before body ends as shown below (note: quotes have been ...
2
votes
1answer
765 views

Why am I getting messages from cloudfront in my error log?

I frequently have messages like this in my websites error log: "Script error.". URL: https://e3m4drct5m1ays.cloudfront.net/items/loaders ...
0
votes
1answer
656 views

Parallel downloading of JavaScript files on page load

Below is a quote from one of the Yahoo performance pages: While a script is downloading, however, the browser won't start any other downloads, even on different hostnames. When I look at page ...
4
votes
3answers
187 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 ...
1
vote
1answer
128 views

what is standard approach to create a responsive website using javascript,php ajax and perhaps zend framework [closed]

I am working on a web system currently and plans to heavily use javascript with ajax to make the user interface more friendlier, not fancy as such. The javascript will be used for client side form ...
1
vote
4answers
777 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
1answer
540 views

Does loading and executing external javascript have influence on SEO?

Say I have a script that executes after DOM Ready. It loads more resources (like a twitter feed and the like). So, it adds up to the total experience of 'waiting' for the page to load, though it isn't ...
2
votes
3answers
314 views

What parts of JavaScript and jQuery are essential reading for Web Designers [closed]

As a web designer, how should I go about learning javascript and jquery? I would like to avoid duplicating my efforts and focus on whats important. I am very much confused and need a place to start.
1
vote
1answer
78 views

Visual aspects of JAVASCRIPT and logical aspects of JAVASCRIPT? What is good for a web designer, aspiring to be and UI designer?

Visual aspects of JAVASCRIPT and logical aspects of JAVASCRIPT? What is good for a web designer, aspiring to be and UI designer? I am learning Javascript, however, while learning I observed that ...
6
votes
4answers
1k views

Something like firebug for internet explorer?

Is there something like Firebug for Internet Explorer? I've got a site that is only supposed to be working in IE so I'm only targeting IE and the site is not supposed to work in Firefox.
1
vote
1answer
141 views

Icon grid that overlay when clicked?

I'm looking for something that works like this: The page is a 4x4 grid of icons (boxes with small pictures and a title). When someone clicks on one of them, an overlay gracefully is displayed with ...
1
vote
0answers
22 views

Will crawlers find content that appears after document.ready using javascript? [duplicate]

Possible Duplicate: Does the Google spider render JavaScript? I have a page that initially loads and looks pretty empty, but after it has loaded uses an ajax call to populate the content on ...
0
votes
1answer
373 views

Using style.less from lesscss.org doesn't properly show changes I make to the style.less file?

I inherited a wordpress project that was initially developed by another developer and for the CSS they utilize the script from: http://lesscss.org (which so far seems to not only be overkill but ...
1
vote
2answers
1k views

How to get browsers to only download CSS/Javascript when it changes?

I had an epiphany earlier when reading codinghorror. On a content website (blog/forum/website) the basic things rarely change if at all. So I was wondering if there was a way to cache them and only ...
21
votes
1answer
1k views

Someone else is using our Google Analytics Tracking code number. What do we do?

After looking over our Analytics today, I realized that another website is also using our same tracking code #, which is cause quite a few incorrect hits to our Analytics. Are there any ways to ...
0
votes
1answer
268 views

Collapsible menu and amount of links in a web page [duplicate]

Possible Duplicate: 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 ...
3
votes
1answer
344 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 ...
1
vote
0answers
242 views

How to add Google App Script as a gadget to Google Calendar?

I created a small App Script with a small UI. Now I'd like to have it as a gadget in my Google calendar. I tried to embed a gadget with the following basic XML: <Module> <ModulePrefs ...
1
vote
1answer
112 views

Is text in Javascript HMTL scripts taken into account in Google (or other) indexes?

I have a HTML page where I update the content of a div to display some introduction text when displaying the page. It is hard for me to create copies of this page for all possibilities and move the ...
7
votes
3answers
7k views

Upload image file: is compression on client side already possible?

When offering photo file uploading, usually the user will have badly compressed and huge (10+ megapixels) JPEG files from their cameras or phones. On the server side, these files will get ...
2
votes
3answers
465 views

Site failing randomly - could it be Cloudflare or something weird in the JS?

I've been working on a simple site that uses javascript to fade through some fullscreen background images as well as some other simple animations. I've tested the site on Chrome, Safari, FF and Opera ...
2
votes
0answers
134 views

two columns text block with an image [closed]

I have a dilemma. Here is the layout: How should I markup this kind of layout? P.S.: The columns have different width.
3
votes
2answers
457 views

Is traditional JavaScript image pre-loading taboo

I remember the good-old-days (not really) back when I was still sucking the teet of Dreamweaver to build websites and the lure of playing copypasta with fancy built-in scripts (ex, image-swap) was ...
1
vote
0answers
634 views

Javascript autotab function not working on iPad or iPhone [closed]

I have this this piece of html code: <form name="postcode" method="post" onsubmit="return OnSubmitForm();"> <input class="postcode" maxlength="1" size="1" name="c" onKeyup="autotab(this, ...
0
votes
3answers
253 views

Is this form of cloaking likely to be penalised?

I'm looking to create a website which is considerably javascript heavy, built with backbone.js and most content being passed as JSON and loaded via backbone. I just needed some advice or opinions on ...
6
votes
2answers
937 views

Text limit on analytics event code

I am just about to add the event code a button that downloads the PDF. Event code fields: _trackEvent(category, action, opt_label, opt_value, opt_noninteraction) Example of event code: ...
5
votes
3answers
2k views

expires headers and forcing cache-loading instead of 304?

so here is a little mystery. google analytics javascript somehow always loads from browser cache on F5 (in Firefox). i cannot get the same thing to happen with my own scripts. here are the headers ...
4
votes
3answers
2k views

How do search engines handle <noscript>?

On my site, I have something like the following: <noscript> <p> <strong>JavaScript is currently disabled.</strong> Please enable it for a better ...
1
vote
0answers
29 views

What are the required skills to bulid a online book editor? [closed]

I want to build a website for a printing company. My plan for this website is to offer a online book editor system for users to upload photos, choose the layout, type some text, put some stamp or ...
1
vote
1answer
2k views

Vertical page flip effect

I found turn.js as a very simple and nice effect to create page flip effect. The problem is that I'm looking for that effect but vertical not horizontal. Does anybody knows any Javascript or what ...
2
votes
1answer
695 views

How to redirect user into mobile website?

Hi how to redirect the user into mobile site when the user accessing from mobile. Say example i have site called www.mysite.com. Now, a person accessing a website from mobile it should redirect to ...
13
votes
1answer
4k views

Is this a good approach to image Lazy Loading for SEO?

For images loaded via AJAX, or that I don't want indexed, use the data-* attribute approach: <img data-src="path/to/image.jpg" class="js-lazy-load" /> The javascript maps the data-src ...
1
vote
1answer
179 views

Need a table that can sort, lock

I need table that will be able to: sort lock columns lock the header row resize columns scroll if possible can add/remove columns. Was hoping to able to do this with jquery / html5 and have all ...
1
vote
0answers
575 views

I need this Font Picker for my project but I'm not able to get it working. [closed]

I am trying to create a "FontPicker" just like a normal "color picker". I have see many websites implementing "font picker" please check out http://mklogo.com for example, where the fonts are ...
1
vote
3answers
639 views

Looking for a slideshow with delayed elements

I'm looking for a slideshow script that's using a delay for the individual slide elements. Made preferably with jquery and with responsive webdesign in mind. It's easier to understand what i mean if ...
2
votes
3answers
360 views

what's a good jquery-based content slider?

I've searched around there's so many but none seems to fit the requirements. so here is what i'm looking for: - needs to be lightweight (10+kb of JS just to slide images around is an overkill in my ...
0
votes
1answer
738 views

How can I determine why my site loads slowly in Google Chrome?

My site seems to be making my Google Chrome hang. I assume it has something to do with javascript. Is it just my personal computers chrome or everyones chrome? http://blog.blundell-apps.com It ...