Questions tagged [jquery]

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

Filter by
Sorted by
Tagged with
28
votes
4answers
9k 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,...
20
votes
5answers
8k views

Why don't browsers have jQuery installed?

I'm using jQuery on several of my websites and although I use a CDN to serve it, it just doesn't make sense for visitor to download jQuery each time. jQuery must be the world's most widely used ...
16
votes
5answers
3k 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 ...
15
votes
4answers
2k 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?
13
votes
4answers
4k 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 ...
12
votes
5answers
7k 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
357 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 ...
9
votes
4answers
9k 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 ...
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
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 ...
7
votes
3answers
2k views

For webpages using jQuery, will the Googlebot index them on “page load” or after the “page ready” state?

Will the Googlebot index a webpage on "page load" or after the "page ready" state. The reason I'm asking is because I'm trying to change my h1 and h2 tags using jQuery on page Load.
6
votes
2answers
29k 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
1k 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.
5
votes
1answer
3k 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
4answers
330 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 ...
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 ...
4
votes
1answer
5k 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 lines....
4
votes
1answer
719 views

How can I track button click in google analitycs?

I had register my website in the google analytics and I had put the script in my default index like this : <html> <head> <meta name="google-site-verification" content="**********...
4
votes
1answer
8k views

app URI scheme fallback URLs

I am working on a mobile friendly website and liked the idea of having my URLs open in native apps; like say to Google Maps or Facebook using custom URI protocols eg fb:// or comgooglemaps://. ...
4
votes
2answers
472 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
338 views

How to avoid html tags in Google search summary

I am using CKEditor to let people describe their organization with all the styles and fonts. So when it saves in the database its like < gets saved as &gt and rest all you know for the html ...
4
votes
1answer
296 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 client....
3
votes
2answers
865 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
58k views

Forbidden 403 for js file on localhost?

apologies if this isn't the right place to post this. I posted it on Stack Overflow and a user suggested I put it here. Anyway, I've looked all over google and the site and none of the solutions I've ...
3
votes
1answer
2k views

When is a page considered loaded by search engines so I can enhance it without a page-speed penalty?

I'm working on a website that has some high quality images that need to load. Of course, my goal is to get the site to load as quickly as possible so we don't slow down the user experience and I don't ...
3
votes
1answer
1k 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
618 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
3answers
8k 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
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 ...
3
votes
1answer
67 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
755 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
653 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
1answer
87 views

Simulation of text-writing, what is the best way for SEO to allow the written text to be crawled?

For a client's website, I made a script that simulates typing and deleting of text. The client can enter the text himself, using [verwijder]-tags (which means 'Delete' in Dutch). See the demo at ...
3
votes
2answers
548 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
776 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 that ...
3
votes
1answer
352 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 ...
3
votes
1answer
160 views

Does Google index JavaScript ALTERED content over original content?

I know Google nowadays is pretty good at scanning the DOM and adding stuff to your site using javascript isn't a problem anymore. Thing is, I'm using JavaScript (jQuery) to collect information from a ...
3
votes
1answer
523 views

Can I remove AdSense using jQuery?

This question is not on how to remove AdSense, but if I can remove AdSense from my website using jQuery. I was reading the policies on AdSense and I'm a little confused. On the page regarding the ...
2
votes
3answers
376 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
2k views

jQuery not loading from CDN

I have a custom CMS, and for some reason jQuery will not load from the CDN. After sitting on this for days, I remember I made a change the the .htaccess file but not sure if it's really the cause. ...
2
votes
2answers
1k 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
4k views

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

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
976 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
3answers
61 views

Is it best practice to download jquery css or js files to use on website

I have in the past copy and paste a jquery css or js url into my projects. Recently the question has come up, what if the urls stopped working for some unforeseen reason. Either code.jquery.com is ...
2
votes
2answers
4k views

Is loading the article content using jQuery & AJAX bad for SEO?

I am loading the content of main article using jQuery . Is it effective for SEO? Is it bad practice? For example I have a page URL example.com/ariticle?seid=14 Here when the page loads, I fetch the ...
2
votes
3answers
2k 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 ...
2
votes
2answers
590 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
2answers
1k views

Can it save the google tag manager script in an external js file?

My default index html like this : <html> <head> <meta name="google-site-verification" content="****************" /> <script async src="https://www.googletagmanager.com/...
2
votes
3answers
509 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
244 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 ...