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)

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

Disqus analogs? (comments platforms) [closed]

What analogs of Disqus for comments do you know?
2
votes
3answers
152 views

Recommend me a CSS/JS compressor

There are scripts to compress CSS on-demand like these. Have you stumbled upon something similar for javascripts? Also, any recommendations regarding CSS and JS compression are more than welcome. ...
2
votes
1answer
98 views

Guidelines for Opera Mobile

Opera Mobile fails to render two sites I help out with correctly and I cannot find the guidelines for Opera Mobile. All other browsers tested (even Opera for the Wii) show these sites correctly. ...
2
votes
1answer
913 views

Internet Explorer iframe JavaScript access denied

I have a webpage on domain www.example.com that has an <iframe> with a page test.html from sub.example2.com. test.html includes a JavaScript from another domain: <script ...
2
votes
2answers
11k views

Do pop-up ads have a negative impact on SEO?

I was observing Google results for months to determine if pop-up ads have a negative impact on SEO. Regarding my observations, sites without pop-ups usually get ranked better. Actually, that doesn't ...
2
votes
1answer
267 views

Can minification in Google PageSped service break Adsense?

A few days ago I applied for Adsense account. But it was rejected due website being down. Here is the full message: We did not approve your application for the reasons listed below. Issues: ...
2
votes
1answer
259 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
109 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 preexisting ...
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 ...
2
votes
1answer
350 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" ...
2
votes
1answer
680 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 ...
2
votes
3answers
328 views

Cross Browser CSS script?

a few weeks ago I stumbled over a javascript that you can add to your site, and it would automatically modify your css, to work around some bugs in browsers, and add features they don't support (e.g. ...
2
votes
1answer
89 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 ...
2
votes
2answers
101 views

Major SEO Pitfalls of JavaScript loaded CSS?

Looking to start with a basic.css and have JavaScript load enhanced.css when JavaScript is ebabled. What major negatives will this have for Search Engines indexing and ranking my site?
2
votes
2answers
389 views

A JavaScript Rich Editor That Doesn't Convert Non-ASCII Text to Character Entities?

I am working on a site for Spanish speakers, and I am looking for a UTF-8 enabled JavaScript Rich Text Editor that preserves non-ascii characters as text, instead of entity encoding. That is, when I ...
2
votes
1answer
286 views

What are the PCI compliance and security implications for processing payments through my embeddable widget?

I've built a little embeddable Javascript widget that list items for sale for publishers to embed on their site. The current use case is that when the user clicks on an item, they are redirected to my ...
2
votes
2answers
706 views

Google Search iFrame works in Chrome and firefox but not IE8

I use Google site search in a IFrame for my sites search engine. When I search for something in Chrome/FireFox "Flight" I get the results page. When I do the same search in IE8 I get 404 error. ...
2
votes
1answer
253 views

AngularJS SEO for static webpages (S3 CDN)

I've been looking into ways to improve SEO for angularJS apps that are hosted on a CDN like Amazon S3 (i.e. simple storage with no backend). Most of the solutions out there, PhantomJS, prerender.io, ...
2
votes
2answers
50 views

May site A or B get banned/penalized if from site A I use window.open to site B?

As many advertising systems open popups, I was wondering what if from my site A I make (randomly, I mean not every time) a window.open(B)? Could one of the sites get banned?
2
votes
1answer
130 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 ...
2
votes
2answers
290 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 ...
2
votes
1answer
834 views

Weather Widget/API

I am developing a website and am looking for an easy piece of code that I can add to a webpage that will display the weather for today and also for the next 5 days for a given location (Wellington, ...
2
votes
1answer
875 views

Show/Hide Div - Cross browser compatibility and jquery concerns

I'm working on displaying a hidden div when clicked on for a website. This would be a contact for to request more information about a product, so, its a very important form. So, i came across the ...
2
votes
2answers
278 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 ...
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) { ...
2
votes
2answers
255 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 ...
2
votes
2answers
578 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). ...
2
votes
1answer
5k views

Javascript not loading from local drive

I'm overlooking the obvious...Modifying an index page on local hard drive before uploading it to server. And the javascript is not loading. This doesn't work: ...
2
votes
2answers
234 views

What could artificially increase the bounce rate reported in Google Analytics?

Since deploying Janrain Engage to our website, which includes a javascript snippet that is loaded from their servers, I've noticed about 10-15% increase in our bounce rate. I think this is artificial ...
2
votes
1answer
426 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. ...
2
votes
1answer
647 views

Google Search results not showing up

I have added a custom Google Search to a site and while the search box functions the results page is pathetically empty. Here is the search box code: <form ...
2
votes
0answers
23 views

Store a formula in a table and use the formula in a javascript/PHP function [closed]

I have a MySql database where part of it handles instrument's depth of water. Each instrument has its own formula of calculation how depth the water when the operator collect the reading I stored the ...
2
votes
1answer
47 views

JavaScript conditional “builds”

I'm working on a piece of JavaScript code that searches its host page for references from a certain source and when hovered, shows the definition/referenced text in a tooltip (something like Google ...
2
votes
1answer
132 views

Schema.org's WebApplication: for web applications or references to web application?

Assuming one offers an online service on a page using HTML5 + Javavascript. Technically speaking, it can be considered as a web application. Is the WebApplication itemtype appropriate for this page ...
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 ...
2
votes
0answers
58 views

Design scrollable table structure [closed]

I'm currently looking for a way to design a table structure with HTML and JS which should be Horizontally Scrollable (It has to be possible to dynamically add new columns) Tolerant to changing sizes ...
2
votes
0answers
52 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 ...
2
votes
0answers
105 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 ...
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 ...
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.
2
votes
4answers
418 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 ...
2
votes
1answer
198 views

How to fix page lag on load [closed]

I have a problem with my website, when you load the index page , the headers load fine but the main content appear with a delay between each photos. The error is only on the index because there is ...
2
votes
0answers
92 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 ...
2
votes
0answers
437 views

Hijax == sneaky Javascript redirects? Will I get banned from Google?

Question Will I get penalised as "sneaky Javascript redirects" by Google if I have the following Hijax setup (which requires a JavaScript redirect on the page index by google). Goal I want to ...
2
votes
2answers
283 views

How do i properly use CustomVars in google analytics?

How do i properly use custom vars in google analytics? I used the code below and here is what i notice i only seen 'one' being in the get request After 24 hours only 'one' showed up After commenting ...
2
votes
0answers
446 views

Disqus integration in website.. what is wrong? [closed]

I try to embed a disqus forum in a website I created. I used the exact code and instructions they give on the installation instructions. I just don't get it. Not much on Google either. Is something ...
2
votes
1answer
92 views

@Viewport @media use for input type?

I've searched high and low for some way to setup my HTML5/CSS3 for various devices. Going by screen resolution isn't the best route because some times the screen size of one device is the same as ...
1
vote
3answers
348 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?
1
vote
2answers
170 views

403 Error Fetching Image with JS

I've read all the 403-related questions here and elsewhere and I can't find an answer to this question: When I try to get a particular image on a remote domain via JavaScript I get a 403 error. But ...