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)

0
votes
1answer
292 views

Table-Sort Script with Search Feature

I lost a JavaScript-based, sortable-table script that had a unique feature of a search box. The search box that made non-relevant rows disappear when a user typed a word. Any idea where I can find a ...
4
votes
3answers
291 views

Why do websites require retyping the password upon user error in a registration form?

Many times, when you fill out a registration form and miss a required field, the form reloads with all the fields filled out except for the password which you have to retype. I'm wondering if I ...
3
votes
1answer
1k views

document.referrer from google searches only showing “https://www.google.com”, no search terms

So I put this basic code on my website, and alert with document.referrer: alert(document.referrer); And when I do a search the link is: ...
3
votes
2answers
932 views

How to disallow selection of text on website?

I have a question about preventing the selection of content and right-clicking with your mouse on a website. Some websites that I have encountered display a dialog which prohibits right-clicking but ...
3
votes
1answer
275 views

What is this thing called?!?! (bottom of screen popup)

I am looking for the name and some possible jquery libraries etc for the standard bottom of screen popup bar. Its like a little bar that pops out on the bottom of the screen after X seconds or ...
8
votes
3answers
2k views

Directory structure for a website (js/css/img folders)

For years I've been using the following directory structure for my websites: <root> ->js ->jquery.js ->tooltip.js ->someplugin.js ->css ->styles.css ...
2
votes
0answers
50 views

How to run/test JavaScript? [closed]

I'm reading David Flanagan's "JavaScript: The Definitive Guide, 6th ed". It only actually tells users how to run JS code on page 311, where users are told of the following solutions: "Client-side ...
1
vote
1answer
31 views

Is it possible to export comments from TypePad Connect?

Note that I'm not talking about TypePad, but TypePad Connect, their hosted commenting product. I see comments in their company blog from 2008 (!!!) saying they were working on an export feature, but I ...
4
votes
2answers
283 views

<!--hppage status=“protected”--> Bad for SEO?

I've just come across this protection code: <!--hppage status="protected"--> It hides the html and page code from anyone who wants to right click and view source. I can't see a work around to ...
1
vote
1answer
213 views

SEO - Google and link cleaning / cloaking [duplicate]

Possible Duplicate: Does the Google spider render JavaScript? This a SEO related question, not a code related one. Googles own link cleaning / cloaking Gå to http://www.google.com and ...
3
votes
2answers
288 views

Will a search engine lower the rank of my page if i have hidden iframes?

As a praxis, all external content on our site is put in iframes to lower the risks of any external parties injecting stuff to our users. We also do it to make sure our content shows up before banners, ...
0
votes
1answer
969 views

SEO - Index images (lazyload)

Note:My question is not about Javascript. I'm developing a plugin for jQuery/Mootols/Prototype, that work with DOM. This plugin will be to improve page performance (better user experience). The ...
1
vote
1answer
1k views

Tracking logged in vs. non-logged in users in Google Analytics

I am building a social media site that is similar is structure to twitter and facebook.com where unauthenticated users who go to https://mysite.com will see a login + sign-up page, and authenticated ...
2
votes
0answers
104 views

Which JavaScript carousel zooms blocks from the playlist? [closed]

I saw a carousel/slider for displaying featured content a while ago that does something that most don't. It started fairly simply, with the top feature large, and a playlist to the side of other ...
0
votes
2answers
52 views

Help choosing slider

I'm looking for JS implementation of effect similar to: http://www.citroen.it/home/#/home/ main slider Joomla! module will be the best solution, however, standalone JS snippet is also an option. ...
2
votes
2answers
214 views

How can I create a dynamic site that is still search-bot friendly?

If I want to have a slide effect between pages. You click a link, it is loaded off to the side and then slides in (pushing the old page off the other side). I can imagine using jQuery to do the PHP ...
-3
votes
2answers
147 views

Jquery lie about size of download [closed]

When you go to jquery.com you see on top right "Grab the latest version! Choose your compression level:" its saying 32Kb for Production (compressed) version in reality when you download it its 91Kb. ...
2
votes
2answers
277 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 ...
0
votes
4answers
211 views

Web development and tips for building a website and the advantages of using HTML 5 in the site [closed]

I am trying to make a website for my college, and the program starts from jan 13 and we get 15 days of time to develop a running site. The best site will become the college site. I am participating, ...
4
votes
2answers
200 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
240 views

Does google see the output of document.write? [duplicate]

Possible Duplicate: Will JavaScript (document.write) content be indexed by search engines? I've got a site where people can list machinery for sale. Each item for sale has it's own dynamic ...
5
votes
1answer
420 views

How to overcome politics of the net (Google translate code refuses to work from a specific region)

According to the FAQ's I am not sure if my question is a ok to ask or will be closed or should I post it in the meta or even I would blame some one for downvoting it. However it is one that has been ...
2
votes
0answers
29 views

How to overcome politics of the net (Google translate code refuses to work from a specific region) [duplicate]

Possible Duplicate: How to overcome politics of the net (Google translate code refuses to work from a specific region) I have this Web Site. It uses the Google Translate API (Can't post the ...
3
votes
1answer
63 views

How is this website's architecture structured? [closed]

refer to this URL: http://imagemechanics.com.au/ Every page seems to have its own unique URL, but the "/#!/" leads me to believe it's all one giant page with anchor tags defining the sections. Is ...
5
votes
4answers
470 views

Will JavaScript (document.write) content be indexed by search engines?

I have an external JS file embedding some content inline in a web page. Basically it just does a document.write("my content") via a script tag and loaded externally with the src attribute. Any ...
1
vote
1answer
696 views

How can I block site visitors using legacy browsers

I want my site to block access to visitors that are using outdated browsers such as IE6 and IE7 etc. I am looking for a script that I can use to block certain browsers accessing my site
5
votes
1answer
824 views

How to SEO Optimize JavaScript Image Loader?

I am building an image-centric catalog website. It catalogs collectible gaming cards numbering 100,000+ pages. There are competitor sites receiving millions of hits each month, so with the possibility ...
1
vote
1answer
133 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
344 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
1k 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
323 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
476 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
154 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
452 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
188 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
498 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
163 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
72 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
146 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
123 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
109 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
458 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
677 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
578 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
185 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
125 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 ...