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)

3
votes
7answers
862 views

Space in img:s “ALT” attribute good/bad for search engines?

I am trying to make it easier for search engines to crawl my website, as it is almost 100% dynamic. I have a couple of transparent images which are actually links to sections of my page. I wonder, ...
0
votes
2answers
743 views

How to find a good photo gallery for my website? [duplicate]

Possible Duplicate: Which Content Management System (CMS) should I use? For my website I'm searching for a really simple gallery module that looks like the one use by Dropbox. But I'd like ...
0
votes
1answer
110 views

Intentional placing of text in clipboard

By intentional I mean the user is actively clicking a button or performing an action that leads to certain text being places in their clipboard. As far as I know the only solution to this is Zero ...
4
votes
1answer
271 views

Some Adsense domain's ads are causing document.write() statements that remove the html from the page

All that is output on the page is the domain name of the advertiser, for example 'www.solar-aid.org'. The rest of the content is stripped, I believe because of a document.write() statement. I'd like ...
0
votes
3answers
146 views

How can i replicated this functionality?

http://www.astorandblack.com/ab/bespokevisualizer/ (click on "continue as guest") A client wants this "bespoke visualizer" on their site. Is there a third party plugin I can buy for this? It can be ...
2
votes
2answers
125 views

Disqus analogs? (comments platforms) [closed]

What analogs of Disqus for comments do you know?
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
282 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
192 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 ...
13
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
514 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
953 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 ...
10
votes
5answers
207 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
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 ...
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
31k 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
247 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
493 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
704 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
285 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
593 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
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 ...
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
731 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
361 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
278 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
912 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
814 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
448 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
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. ...
3
votes
2answers
192 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 ...
17
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
578 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
361 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 ...