jQuery is a cross-browser Javascript library that provides abstractions for DOM traversal, event handling, animation, and Ajax interactions for rapid web development.

learn more… | top users | synonyms

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 ...
14
votes
5answers
2k views

pros/cons of hash navigation from SEO perspective

I'm working on an application that implements navigation based on hashchange events. Content is mostly loaded through ajax calls after hash changes (and displayed by DOM injections). From a SEO ...
13
votes
4answers
1k views

Google jQuery hosted library - is it any good?

Is there any REAL touchable benefit of using the Google jQuery hosted library? Or shall we just download it to our server? What are your opinions on this?
12
votes
4answers
2k views

Loading main javascript on every page? Or breaking it up to relevant pages?

I have a 700kb decompressed JS file which is loaded on every page. Before I had 12 javascript files on each page but to reduce http requests I compressed them all into 1 file. This file is ~130kb ...
11
votes
5answers
2k views

Is it OK to use jQuery for responsive web design?

I have been tasked to update a site to make it responsive and appear correctly on smart phones. Unfortunately, the site in its current form isn't very easy to work with - I can't just change the CSS. ...
10
votes
2answers
305 views

Is it common, or “smart”, for high-traffic sites use externally-hosted js/css frameworks?

Many popular JS/CSS frameworks are offered via Google's Libraries API (jQuery, Dojo, MooTools etc.). Yahoo also hosts it's own YUI toolkit, as do many others. Do any high volume/traffic sites ...
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? ...
7
votes
2answers
2k 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 ...
6
votes
2answers
15k views

jQuery image slider with different sized images

All of the jQuery image sliders I've seen require images to be the same size. Do you know any which can dynamically resize their display pane to fit the size of the image. I have seen this done on ...
5
votes
2answers
507 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.
4
votes
4answers
1k views

Protect js code from being stolen

I have developed an web app with jquery,html-css markup which would be an premium web app. So I have to ensure the security of the code from being stolen.But as all these are client side,so there is ...
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 ...
4
votes
1answer
1k views

Dictionary API for a website?

I would like to have a dictionary for my website where the user can easily fill in a word or better yet right click a word and get the definition right there on the page or something along those ...
4
votes
1answer
298 views

jQuery/AJAX on old Computers/Browsers

I am working on a plattform that will have a lot of users in the so called "developing countries". So many of them will be using old computers and old browsers in tiny internet cafes. We want to make ...
4
votes
1answer
1k views

Effect on SEO of lazy scrolling on HTML comments

I am thinking about using a JS script that lazy loads HTML when scrolling ( http://ivorycity.com/blog/2011/04/19/jquery-lazy-loader-load-html-and-images-on-scroll/). I am not too sure about whether ...
4
votes
1answer
237 views

How to externally host a mobile website?

I've built a cool mobile website/app using JQuery Mobile. I want to offer that to clients, but I want to use my own hosting. Here's what I want to do If a user uses a mobile device to visit ...
3
votes
4answers
281 views

Is it a good idea to recommend browser on a e-commerce web site

I have built an e-commerce app but I didn't have a lot of time so I decided to build the app compatible with cutting-edge browsers. so of the features are not working and some them are working less ...
3
votes
2answers
510 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?
3
votes
1answer
276 views

What is this thing called?!?! (bottom of screen popup)

I am looking for the name and some possible jquery libraries etc for the standard bottom of screen popup bar. Its like a little bar that pops out on the bottom of the screen after X seconds or ...
3
votes
4answers
453 views

SEO optimization for AJAX site and dynamic HTML canvas

I have a site that uses AJAX to query the Last.fm database and then dynamically draws a graph of the results on an HTML canvas. In the search function, I have a command that sets window.location.hash ...
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 ...
3
votes
1answer
63 views

How is this website's architecture structured? [closed]

refer to this URL: http://imagemechanics.com.au/ Every page seems to have its own unique URL, but the "/#!/" leads me to believe it's all one giant page with anchor tags defining the sections. Is ...
3
votes
5answers
532 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 ...
3
votes
2answers
460 views

Recommendations for a good personal resume/portfolio website

Sorry for the broad question, but I am looking for some kind of package that will look great for posting up some personal details online in a resume type fashion. Possibly with the ability to add ...
3
votes
3answers
5k views

Is there a jQuery lightbox plugin that has thumbnails inside the box?

I'm trying to find a lightbox style plugin in jQuery that displays thumbnails at the bottom of the picture (or video, or whatever). I found plenty of lightbox plugins, but none that allows navigation ...
3
votes
2answers
171 views

Track exit link and ads with PHP

I want to track exit links on my website and also exit ads like Google Adsense etc. I mean by exit ads is that when click on add I get ads dimension and ads type like Google or other ads. In short I ...
3
votes
2answers
249 views

Will text that appears dynamically (via javascript/jquery) be indexed by search engines? [duplicate]

Possible Duplicate: Does the Google spider render JavaScript? I'm writing an article that is broken up into sections, where the content of each section is hidden unless the user expands ...
3
votes
1answer
292 views

Advice for using Google AdSense

The banners on my website are generated by $.ajax() call to the server after the page load is complete ($(window).load() event). I want to to integrate ads from google to fill in empty banners when ...
2
votes
3answers
359 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 ...
2
votes
2answers
407 views

How to check with Firebug if a JS function is applied

How can I check with Firebug if on a certain page a specific JavaScript function - jQuery based - is applied?
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.
2
votes
5answers
897 views

best way to cleanly display 15-20 youtube videos in a webpage?

I am currently building a website for a client who has about 20 or so videos that he wants put on a video gallery page and I was wondering if you guys could help me out and give me some advice on how ...
2
votes
2answers
453 views

Does Google host all the jQuery UI themes?

I have seen the base theme http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.3/themes/base/jquery-ui.css Are the other themes found in the gallery also hosted (Darkness, Smoothness, etc.)? If so, ...
2
votes
3answers
295 views

What parts of JavaScript and jQuery are essential reading for Web Designers [closed]

As a web designer, how should I go about learning javascript and jquery? I would like to avoid duplicating my efforts and focus on whats important. I am very much confused and need a place to start.
2
votes
1answer
217 views

Will content in a default closed jQuery UI tab still be indexed?

I have a website that has a lot of traffic coming from alt text in images. Right now every image is fully visible on each page. But, I want info, images, and contact as jQuery UI tabs. The info ...
2
votes
1answer
278 views

Should I create a sitemap file and, if so, what should I add to it?

I submitted my website/app to Bing and Google recently. I subsequently received this email from bing: Dear Webmaster, This is a weekly report on the open issues categories we have detected on ...
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
1k views

jQuery lightbox-like message box

Is there - as far as you know - a lighbox-like jQuery plugin that can display text in a lighbox fashion? I would need to display information and error messages in a message box which should behave ...
2
votes
4answers
2k views

Broken jQuery/CSS in Firefox - ColorBox and reCAPTCHA

I am working on what would appear to be a basic contact form. I am using the ColorBox plugin for jQuery to build a form with an image link, which then opens a ColorBox containing the reCAPTCHA form ...
2
votes
1answer
846 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
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
1answer
1k views

jQuery: fading scrollbars plugin

I'm looking for a jQuery plugin which changes the standard scrollbars to those invisible ones only visible during scrolling and then fading away. This is probably best known from mobile devices, the ...
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
381 views

Image editor Applet

I'm using codeigniter + jquery on a linux server and i want to integrate in my website a photo/image editor (after that an user have uploaded an image, he must be able to edit it), i need just some ...
2
votes
0answers
104 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
1answer
270 views

Appcache and jquery mobile on a CMS powered site?

Has anyone used the cache manifest to make a CMS site work offline? I've made a demo with static html files which seems to work fine, so I'm assuming it wouldn't be too hard to achieve the same thing ...
1
vote
2answers
2k views

Top web-hosting sites with jQuery support?

I am looking to start building a website and I am looking for some good web hosting companies that gives the best bang for the buck. I had been reading on some websites in regards to some web ...
1
vote
4answers
237 views

jQuery: Looking for slideshow/slider plugin

I'm looking for a jquery's plugin that will constantly slide some elements from e.g right to left and when I move a mouse pointer over an element, the animation stops. When I move the mouse pointer ...
1
vote
3answers
1k views

Search engine misunderstanding

I have this, probably a misunderstanding, about search engines. How do they search for pages? If i have a page which loads contents from database and / or changes content thought jquery will a search ...
1
vote
1answer
120 views

Content loading during scrolling and seems infinite (what script)

I've noticed on several websites that when you scroll down it loads content as your scrolling and this seems to go on forever.... What script is used for that loading system?