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
368 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
267 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
337 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
221 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
6k 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
430 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
133 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
445 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
570 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
243 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
890 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
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
670 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 ...
12
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
178 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
535 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
588 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
358 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
692 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 ...
2
votes
4answers
405 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
3answers
88 views

Releasing a CSS minification tool - should it be downloadable or accessable through the cloud?

I am thinking of releasing a CSS minifaction library, which has dependencies on other libraries. Since CSS Minification is not something that occurs a lot (compared to optimising PDFs for example), I ...
2
votes
1answer
326 views

Making JSON page which renders on document ready indexable

I have a page which is pretty much 99% on document ready generated by various JS files. It then gets and renders tons of JSON (I use tempo JS for rendering). It all happens on document ready. So ...
1
vote
2answers
170 views

Looking for a CMS for specific requirements (Javascript, import/export…)

I heard about Joomla, Drupal, Wordpress, etc. but I don't know about their detailed features. I am looking for a content management system meeting the following requirements: Possibility to add ...
1
vote
1answer
278 views

If I cache an RSS feeds' html, but not the images, will this appear to be image hot-linking?

I have a simple RSS news application built using JavaScript, that pulls in feeds through Google's feed API. I'm doing a proof of concept and caching the feed using localStorage though due to storage ...
0
votes
1answer
129 views

Reference single javascript file from many web applications

I have a javascript file (called secure.js that has several functions defined in it. I also have a Visual Studio solution with ten different ASP.NET web applications. I want to be able to call the ...
2
votes
2answers
163 views

Google and random redirects

I have a site where homepage "example.com" redirects to random joke(example.com/random-joke). First I redirected with php, but then google indexed that joke page(rather to be empty). I used "302 ...
1
vote
2answers
241 views

javascript/php sorting plugin

I have a set of thumbnails and I want to sort them by name, by rating and by newest added. I've found Quicksand which I think is pretty good, but I need to know if there are some other scripts/plugins ...
2
votes
2answers
251 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
1answer
91 views

Does anyone know about some Flash or JS image gallery that allows multiple image selection simultaneously?

I need to show a list of image thumbnails, and the user should be able to select one or more images from this list and then the selected images should be "best fit" displayed. For example, with 3 ...
0
votes
1answer
120 views

Are there some good Javascript templates out there? [closed]

I am trying to create a simple .js file that will let me have some submit buttons here and there, with the text paragraph in the middle changing based on which submit button is pressed. Does the ...
0
votes
1answer
148 views

Anchor link structured website & SEO [duplicate]

Possible Duplicate: How to SEO a Single-Page website My client wants to have a website similar to this one. I think that this concept could really work well as a simple presentation of ...
1
vote
1answer
58 views

How can I check that ads are loading correctly on my website?

How can I monitor the JavaScript ads on my website to ensure they show up? I don't want to use this process to generate false impressions but I need a way to gather data and report that ads are ...
0
votes
2answers
696 views

Embed content, iFrame or load via JavaScript?

I have to load remote content in several sites and I'd like to know which is the best technique. I know I can go trough an <iframe> but it isn't SEO friendly. I want the content to be found and ...
1
vote
2answers
264 views

Are github gists SEO friendly?

I am kind of fan of Github and it's Gists. Since the gists can be included via a small Javascript snippet and document.write commands, I was asking myself if they were SEO friendly.
5
votes
2answers
497 views

Which is better, minified or obfuscated code?

I’m confused between the two. Which is better, especially for jQuery and JS? Also, which do you think is more SEO-friendly? Note: I’m a noob.
0
votes
1answer
206 views

Template from ThemeForest in datepicker - unable select date before today

I bought a template from themeforest and in any datepicker I can't select a date before today. I can't find any code who blocks or range this control. In my inline.cs I only have: ...
2
votes
3answers
321 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. ...
3
votes
5answers
526 views

jquery ui minify

I have a series of web pages that link to the following: jquery-ui-1.8.4.custom.min.js jquery.ui.widget.js jquery.ui.core.js jquery.ui.accordion.js jquery.ui.selectmenu.js jquery.ui.button.js Not ...
2
votes
1answer
671 views

Javascript for draggable, zoomable map with Google-Maps-like features

I'm looking for a JavaScript-based tool for displaying draggable, zoomable maps. It has to have the following features: Can add markers, labels, balloons (a la Google maps) Must be scriptable after ...
0
votes
2answers
1k views

Best and easy way to add video to website

I want to add videos to my website. I want to click on images and then to show video in "window" and start playing (popups like lightbox). I just don´t know what is best way to do it. I think one of ...
2
votes
2answers
3k views

Is there a Lightbox style plugin that fits images to screen size?

I'm looking for a Lightbox type js plugin that would take into account the browser window size and resize the currently displayed photo so it fits - like the jquery-imagefit plugin does.
1
vote
1answer
218 views

How to prevent Google Website Optimizer from making Google Analytics spike Direct Traffic and lower Bounce Rate?

I am using Google Website Optimizer (GWO) and Google Analytics. Whenever a person (Google Website Optimizer) does a javascript redirect, Google Analytics will change the referrer. When the referrer ...
8
votes
8answers
5k views

Why not AJAX'ify entire websites?

Is there any solid reasoning as to why sites shouldn't be developed with ajax functionality that loads major parts of each part (assuming there are elements like the header, navigation etc that remain ...
1
vote
1answer
255 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.