Questions tagged [javascript]

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.

Filter by
Sorted by
Tagged with
3
votes
2answers
763 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
2k views

JavaScript to stream video files

Is there a JavaScript API for streaming WMV/AVI/MOV files?
1
vote
1answer
582 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
124 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
228 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
1k 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 action="http://www.nu-living.com/info/...
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 -...
38
votes
4answers
102k 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
109 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! ...
2
votes
1answer
499 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
261 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 ...
15
votes
5answers
5k 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
2answers
511 views

Have You Used Node.js In A Production Environment? [closed]

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
1k 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. Site:...
0
votes
1answer
305 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
702 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: URI:...
4
votes
2answers
2k 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
513 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
3k 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
791 views

is there any webpage preloader?

I found preloader for flash|swf files, a preloader and a lazy loader for images. But nothing for the complete webpage. Some sites, like mine, have big header and footer. I need some preloader for ...
1
vote
1answer
118 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
274 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 ...
6
votes
3answers
29k views

Possible to only load specific 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 Facebook's places in an iframe feature from touch.facebook.com. I can easily just use touch.facebook....
0
votes
3answers
2k 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
414 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 ...
11
votes
5answers
18k 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', 'UA-XXXXX-X']...
12
votes
5answers
323 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
2k 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
1k 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
859 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
468 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
100 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
249 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 ...
22
votes
6answers
5k 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
764 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
445 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
201 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
2k 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
8answers
4k 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?
26
votes
4answers
8k 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 example,...
11
votes
1answer
201 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
4k 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 ...
52
votes
17answers
3k views

HTML validation: is it worth it?

What are the advantages and disadvantages (if any) of making sure that all pages validate compared to having non-valid HTML that however works on all major browsers? Also, is having valid HTML after ...
8
votes
9answers
660 views

How do I compress my JavaScript and/or CSS?

I know that there are ways to dynamically load it into the page, but if I want to compress my code so it loads even faster, how do I do it?
7
votes
9answers
1k views

prototype.js or jQuery for new projects?

Should I use prototype.js or jQuery for a new project? Rails comes with prototype.js but jQuery seems the library of choice for the rest of the world. Is prototype.js still under active development? ...
14
votes
5answers
6k views

What's the best way to load Javascript into a page to optimize performance?

Is there a way to load my JavaScript into a page that will make it load faster?
7
votes
2answers
4k views

What are the differences between Firefox's Javascript engine and Chrome's V8?

I've noticed that Chrome and Firefox take different amounts of time to render certain things. In general, Chrome has been faster. What should I know about both of them (and IE8/9, too, I guess) when ...
29
votes
5answers
7k views

Why insert static files (CSS, images, JavaScript, ECC) in a subdomain?

Why so many big and little sites inserts static files (CSS, images, JavaScript, ECC) in a subdomain like media.example.com or s2.static.example.com? What are the advantages? Why not just a directory ...
5
votes
2answers
112 views

Browser privacy improvement implications for websites

On https://panopticlick.eff.org/ EFF let you test the number of uniquely identifying bits that the browser gives a website. Among these are HTTP header fields such as User-Agent, Accept, Accept-...

1 10 11 12 13 14