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
3answers
151 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
2answers
281 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 ...
1
vote
3answers
191 views

cookie not being sent when requesting JS

I host a webservice, and provide my members with a Javascript bookmarklet, which loads a JS sript from my server. However, clients must be logged in, in order to receive the JS script. This works for ...
4
votes
3answers
2k views

Is there a Magento extension for combining/compressing javascript and css?

I thought Magento came with this feature out of the box but it doesn't appear to be working at all. I'm not sure if I haven't set it up properly, but right now I'm resorting to using cat and altering ...
12
votes
4answers
3k views

Does the Google spider render JavaScript?

Does the Google spider knows how to render JavaScript, or only HTML?
3
votes
2answers
506 views

How can I create links in javascript that are crawlable by search engines?

If I use JavaScript + jQuery, for example, does links inserted in $(document).ready() will be available for crawling? How can I insert crawlable links in JavaScript?
4
votes
5answers
934 views

JavaScript to stream video files

Is there a JavaScript API for streaming WMV/AVI/MOV files?
1
vote
1answer
522 views

Overriding link action with ajax - SEO

If I override default link href with onclick and ajax, for example link <a href="/mypage">, so onclick I load mypage through ajax, if javascript is disabled, or its a text browser or bot, I let ...
0
votes
2answers
116 views

Recommendations for affordable and reliable Drupal theme designer [closed]

Can anyone recommend an affordable and reliable Drupal theme designer, who can take a concept and produce a Drupal 6.19-compliant theme? The backend functionality and structure of the web site is ...
9
votes
5answers
205 views

What new cross-browser features can we use if we drop support for IE6?

My company is dropping support of IE6 and I just realize that we can use a set of great features. Is there a list of CSS, Javascript features which we can use with IE6 RIP?
2
votes
1answer
637 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 ...
7
votes
3answers
4k views

Would redirecting to a new home page affect SEO?

I'm currently working on a new landing page for this site. I want the landing page to replace the existing front page of the site. However I don't want to lose the Page Rank of the current front page ...
15
votes
4answers
30k views

How do I set expiration headers for CSS, JS, and Images?

I have recently analysed my website with pagespeed addon on firebug. It suggested me to set expiration on CSS, JS and image files. I am wondering how do i do this?
1
vote
1answer
104 views

Same page looks great in Firefox & crome But Not in IE8

I have a site hosted at: http://41.223.52.100/ which i used jbar to display certain text on the page. The same page looks great in Firefox & google crome but not in IE8, Can't figure-out why! ...
1
vote
1answer
460 views

Google Analytics shows 0 Visits?

I checked Analytics yesterday for pageviews, and had several hundred of them (for yesterday). Not today when I check "Yesterdays" stats (which yesterday showed several hundreds), it shows 0...? How ...
4
votes
3answers
246 views

Which jQuery slider do you suggest?

I need a slider like this one . As you can see when it's on the last part, and is needed to show the first again, it scrolls fastly to the left. I want a slider that doesn't have this behavoir. What ...
12
votes
5answers
3k views

Should I worry about people disabling Javascript?

Often when picking new tools and frameworks I see the warning "Will not work if the user has disabled Javascript". I then look at my Javascript powered slideshow, Javascript powered menu, and ...
1
vote
3answers
491 views

Have You Used Node.js In A Production Environment?

This question goes out to anyone that's used or tried to use node.js in a serious project. How stable is it? What did you use it for? How robust is it?
2
votes
2answers
698 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. ...
0
votes
1answer
281 views

addthis button default message

How to set default message, I am using addthis button for invite a friend Email on a website. that default message should also work if user choose gmail, yahoo etc from addthis box.
1
vote
1answer
590 views

Memory problem - CPU high usage in IE

I have a problem with a site, in which I try to find out what is wrong. The website is kiteclub.gr. I think that following two scripts are corresponding for the high memory usage from ie and cpu: ...
3
votes
2answers
4k views

Free/cheap Whois Api [closed]

Is there a free API where I can pull whois data and server location data? (similar to who.is)
4
votes
2answers
1k views

Embedding a Disqus forum on my website: showing scrollable area instead of expanding the height

I hope I put this question as it should, I am not an expert in html/css/javascript, so forgive me if it's not very clear. The issue is as follows. I made my first website last week for the birth of ...
2
votes
0answers
443 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 ...
3
votes
2answers
2k views

Is JavaScript or Flash able to extract the MAC address from a browser?

MAC address = Media Access Control address Believe I saw that this was possible somewhere, but now that I'm looking for it I can't find the implementation.
3
votes
3answers
729 views

is there any webpage preloader?

I found preloader for flash|swf files. preloader,lazyloader for images.But nothing for complete webpage. Some sites, like mine, have big header and footer. I need some preloader for this. Please ...
1
vote
1answer
106 views

HTML 5 drag and drop file attachment?

Looking for a tutorial re implementation of this functionality. I can only find blog posts saying that gmail added this, but not how it was done.
4
votes
1answer
265 views

Creating a “presentable”/filtered twitter profile widget

I would like to include a subset of tweets I make on my professional web development site. Now, twitter provides two applicable widgets: a profile widget and a search widget Unfortunately, the ...
3
votes
1answer
2k views

Cufon text replacement and IE8 standards mode

I have a perculiar issue. In IE8 standards mode text replaced by Cufon.Replace works roughly 50% of the time, the rest of the time the DOM modifications are there (viewed through IE developer toolbar ...
5
votes
3answers
8k views

Possible to only load specifiv div of a website?

I have this project i'm working on and id like to add a really small list of nearby places using facebooks places in an iframe feature from touch.facebook.com I can easily just use ...
1
vote
0answers
183 views

Updating browser window title with Javascript [closed]

Can I target the window title with Javascript and have it update based on certain events?
0
votes
3answers
1k views

Multi column flyout menu [closed]

I want to build a horizontal menu bar with a multi column flyout of the hovered item. It should be done with html lists, css and javascript (if needed) only. There should be a max height of the flyout ...
7
votes
4answers
360 views

Who Is Against CSS and JS?

I know there is a group which promotes very basic HTML. They advocate against CSS and JavaScript. Does anyone know the name of this group? Just to be clear this was a website, or a foundation, or a ...
7
votes
3answers
10k views

Why would you use document.location.protocol instead of plain // prefixed urls?

For instance Google Analytics uses document.location.protocol in the boilerplate for tracking: <script type="text/javascript"> var _gaq = _gaq || []; _gaq.push(['_setAccount', ...
11
votes
5answers
277 views

Should JavaScript referenced in the head section be served from the same hostname as the main document?

I was under the impression that for the best performance, Javascript should be treated as static content and served from a cookieless domain along with CSS files, images, etc. But Google says here: ...
3
votes
2answers
1k views

Does Internet Explorer 'timeout'?

Within my website I have a single page that dynamically updates via AJAX / JSON in a plain HTML page. Now this page may be left open for up to three or four days. When I left it running over the ...
6
votes
3answers
890 views

Multiple google analytics instances on a page?

My company creates (and hosts) sites for many different clients. We allow clients to send us tracking code, including Google Analytics, and we put them on the page. We would also like to include our ...
3
votes
4answers
810 views

Advantages/disadvantages of “separated” web applications

I'm in the process of designing a (soon-to-be) rather large PHP/MySQL web application. I've come to a fork in the road as far as internal architecture; I can build the website as a "traditional" web ...
7
votes
6answers
447 views

Font resizing widgets: worth it?

I see some text-heavy sites implement the little JavaScript widgets that allow you to choose smaller or larger text sizes on sites. (e.g.: as described on the Guardian's website) Are these little ...
2
votes
1answer
95 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. ...
3
votes
2answers
187 views

What MIME type are you meant to use for JavaScript files?

In the html we always use <script type="text/javascript" charset="utf-8" src="???"></script> (the ECMA stuff confuses some browsers) but on the HTTP side what are you meant to use as the ...
16
votes
6answers
3k views

Can we ignore visitors without JavaScript enabled?

If you have developed a JavaScript based website, is it worth doing the extra work to make it accessible for visitors who don't have JavaScript enabled? What percentage of visitors are in this ...
3
votes
2answers
565 views

Google JSAPI Auto-Loading

When using Google's JSAPI Auto-Loading system - is there a way to get the returned file with all the JavaScript (combined) in one HTTP request? At the minute is just calls the load routines (with ...
3
votes
2answers
356 views

AJAX Keyword Suggestion Tool

Are there any JavaScript includes to provide an AJAX based keyword suggestion tool based on some existing text? For instance Yahoo offer a Keyword Extraction Tool but due to cross-domain JavaScript ...
3
votes
4answers
176 views

Are there any scripts to integrate social networking site's chat and posting features into a webpage [closed]

Are there any scripts to integrate social networking site's chat and posting features into a webpage using PHP or JS... for example a section with Facebook chat, a section to post to twitter and maybe ...
23
votes
5answers
686 views

How can I reduce the costs of loading large JS libraries?

If I am using a large Javascript library for my page, how can I make sure that this does not impair the user's use of the site?
14
votes
7answers
2k views

What should I use to automatically combine css/js files?

I'm aware of sprockets for combining javascript files, but haven't tried it. What are some other options and how do they stack up?
25
votes
4answers
3k views

Does “putting Javascript at the bottom” defeat the purpose of document.ready?

I know that it is recommended to put Javascript at the bottom of the page, but if I'm using jQuery doesn't this defeat its purpose to run as the DOM is loading? If I have a dropdown menu, for ...
11
votes
1answer
161 views

What is the benefit of using Google Analytics' asynchronous tracking code compared to the non-asynchronous code?

What, specifically, does the asynchronous code accomplish or allow that the older code does not?
11
votes
4answers
2k views

Should I combine js/css files into a single file?

Both YSlow and Google's Page Speed add-ons recommend combining script (and style) files into a single file each to reduce the number of HTTP requests, and I can certainly see the point of this when ...