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)

1
vote
1answer
130 views

S1000D JavaScript search engine

I am developping a static web application. My goal is to create a search engine. So, I have a list of training's documents and I want to search a fulltext from each one; My documents are stored on ...
1
vote
3answers
24 views

Separating portion of website to its own server

So my job is to take the homepage (or maybe I should say "homesite" because it encompasses a few interrelated pages) and drag this onto its own Apache server. The problem I'm having right now is being ...
2
votes
1answer
315 views

Reduce HTTP Requests method for js and css

Is these way can Reduce HTTP Requests? multiple javascript files with & symbol <script type="text/javascript" ...
3
votes
2answers
918 views

How to crawl a webPage with dynamic content added by javascript

I guess there is a news that Google bots have the capability to understand our javascript code. It means this is possible to fully crawl a webpage which has lazy loading feature enabled. I am using ...
0
votes
1answer
289 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 ...
6
votes
2answers
429 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
1k 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
146 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
985 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
413 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
173 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
443 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
159 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
63 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
140 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
117 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
1k 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
103 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
422 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
542 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
526 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
176 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
121 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
615 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
513 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
246 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
76 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
127 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
359 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
971 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
266 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
327 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
202 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
110 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
5k 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
400 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
129 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
427 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
530 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
235 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
849 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: ...
4
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
1k 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
656 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 ...
11
votes
1answer
3k 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 ...