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
5 answers
11k 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,...
DisgruntledGoat's user avatar
21 votes
5 answers
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 ...
user1914292's user avatar
18 votes
5 answers
5k 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 ...
user avatar
15 votes
4 answers
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?
Leo's user avatar
  • 295
12 votes
5 answers
8k 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. ...
MeltingDog's user avatar
  • 1,339
12 votes
3 answers
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 ...
Kyle's user avatar
  • 305
10 votes
2 answers
360 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 ...
jlb's user avatar
  • 203
9 votes
4 answers
11k views

Protect Javascript code from being stolen

I developed a web app with jQuery, HTML, and CSS markup which would be a premium web app. So I have to ensure the security of the code from being stolen. But, as all these are client side, there is no ...
Kaidul Islam's user avatar
8 votes
2 answers
5k 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 ...
Jason's user avatar
  • 2,148
7 votes
9 answers
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? ...
f00860's user avatar
  • 289
7 votes
3 answers
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.
maheshwaghmare's user avatar
6 votes
2 answers
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 ...
Steve's user avatar
  • 1,456
5 votes
2 answers
2k 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.
vurquee's user avatar
  • 153
5 votes
1 answer
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 ...
marlene's user avatar
  • 53
4 votes
4 answers
334 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 ...
tugberk's user avatar
  • 787
4 votes
2 answers
776 views

Does inserting meta elements into the <head/> using JS effect SEO?

I am developing a static HTML/CSS website I have multiple meta tags I add to the head on each page. As it stands currently whenever I want to change the meta information I need to manually update each ...
Bernard's user avatar
  • 143
4 votes
3 answers
264 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 ...
Sotiris's user avatar
  • 197
4 votes
1 answer
7k 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="**********...
Success Man's user avatar
4 votes
1 answer
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....
L84's user avatar
  • 2,026
4 votes
2 answers
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 ...
sphvn's user avatar
  • 143
4 votes
1 answer
9k 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://. ...
john.weland's user avatar
4 votes
2 answers
505 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 ...
Andresch Serj's user avatar
4 votes
1 answer
357 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 ...
Preeti Maurya's user avatar
4 votes
1 answer
304 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....
Vic V's user avatar
  • 141
3 votes
2 answers
1k 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?
CamelCamelCamel's user avatar
3 votes
1 answer
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 ...
Michael Khalili's user avatar
3 votes
1 answer
61k 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 ...
MarvinLazer's user avatar
3 votes
1 answer
2k 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 ...
NRGdallas's user avatar
  • 369
3 votes
4 answers
643 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 ...
Christian Benincasa's user avatar
3 votes
3 answers
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 ...
Gabriel's user avatar
  • 213
3 votes
1 answer
70 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 ...
user1352762's user avatar
3 votes
5 answers
797 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 ...
redconservatory's user avatar
3 votes
2 answers
655 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 ...
Matt's user avatar
  • 131
3 votes
1 answer
103 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 ...
Aart den Braber's user avatar
3 votes
2 answers
597 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 ...
Burhan Ahmed's user avatar
3 votes
2 answers
789 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 ...
killajoule's user avatar
3 votes
1 answer
362 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 ...
Alon Eitan's user avatar
3 votes
1 answer
167 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 ...
Dio Vayne's user avatar
3 votes
1 answer
642 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 ...
SameOldNick's user avatar
2 votes
3 answers
381 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 ...
kyriakos's user avatar
2 votes
2 answers
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. ...
Richard Testani's user avatar
2 votes
2 answers
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?
Marc-André Appel's user avatar
2 votes
2 answers
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.
pax's user avatar
  • 215
2 votes
5 answers
981 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 ...
Phil's user avatar
  • 193
2 votes
3 answers
95 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 ...
Anthony Fornito's user avatar
2 votes
2 answers
5k 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 ...
Abilash Erikson's user avatar
2 votes
3 answers
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 ...
user avatar
2 votes
2 answers
613 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, ...
Homer's user avatar
  • 273
2 votes
2 answers
3k 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/...
Success Man's user avatar
2 votes
1 answer
47 views

Testing the application

We are nearing finish of the web application done in RoR (it is Social website). I am not RoR person, I am just JS/Jquery side. All of us do not have much experience with big applications, and this ...
Amiga500's user avatar
  • 145