Javascript with Responsive Web Design
-
The company I work for are looking to go responsive which is high up the list on our development plans. Further on down the development plan they want to add more javascript into the website. Is this recommended as we plan to go responsive ?
-
Going responsive is the way to go if you ask me and most other SEO's out there.
I'm not sure i fully understand your question though.Responsive design doesn't have any issues with Javascript in most cases. It would depend a lot on what the Javascript would try to do. As Andy has stated above Google can now read and execute AJAX and Javascript which is great.
The only thing you should be careful is when implementing more Javascript is whether the website will still function as expected on devices/browsers that don't (fully) support Javascript. There are simple fallbacks and such so that all of your users get served great content and not just the ones with the most modern devices and browsers.
Excellent book for more information on this is: Designing with Progressive Enhancement.
Must read for any front-end web developer if you ask me. -
A lot depends on what they intend to do with the Javascript, but this is pretty much commonplace today and should pose no problems.
I use responsive single page themes for my sites, and they are rank well - plenty of funky stuff going on in those as they are parallax designs.
Have a read of this post as well. This goes back to 2011 when Matt Cutts confirmed Google can read and execute AJAX & Javascript. http://searchengineland.com/google-can-now-execute-ajax-javascript-for-indexing-99518
Just remember to test well before sending big changes live.
-Andy
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Will Google Judge Duplicate Content on Responsive Pages to be Keyword Spamming?
I have a website for my small business, and hope to improve the search results position for 5 landing pages. I recently modified my website to make it responsive (mobile friendly). I was not able to use Bootstrap; the layout of the pages is a bit unusual and doesn't lend itself to the options Bootstrap provides. Each landing page has 3 main div's - one for desktop, one for tablet, one for phone.
Web Design | | CurtisB
The text content displayed in each div is the same. Only one of the 3 div’s is visible; the user’s screen width determines which div is visible. When I wrote the HTML for the page, I didn't want each div to have identical text. I worried that
when Google indexed the page it would see the same text 3 times, and would conclude that keyword spamming was occurring. So I put the text in just one div. And when the page loads jQuery copies the text from the first div to the other two div's. But now I've learned that when Google indexes a page it looks at both the page that is served AND the page that is rendered. And in my case the page that is rendered - after it loads and the jQuery code is executed – contains duplicate text content in three div's. So perhaps my approach - having the served page contain just one div with text content – fails to help, because Google examines the rendered page, which has duplicate text content in three div's. Here is the layout of one landing page, as served by the server. 1000 words of text goes here. No text. jQuery will copy the text from div id="desktop" into here. No text. jQuery will copy the text from div id="desktop" into here. ===================================================================================== My question is: Will Google conclude that keyword spamming is occurring because of the duplicate content the rendered page contains, or will it realize that only one of the div's is visible at a time, and the duplicate content is there only to achieve a responsive design? Thank you!0 -
AMP Design help please
Hello Moz Friends So Google is nudging me to submit an AMP version of my website, but I'm no coder. In fact I'm a Wordpress Addict. So I'm just curious if you have created an AMP version, what do you use? Or did you have to recode an entire new website? Thank you friends! Chris
Web Design | | asbchris0 -
Any body can help me to make my web site seo freindly?
any body can help me to make my web site seo freindly? i have not big budget please email me fabric35@hotmail.com
Web Design | | fabric-fabric0 -
How we can check whether website design is good for SEO or not?
Is there any tool available to check website design whether it is good for SEO or not?
Web Design | | ross254sidney0 -
Web Editing Pricing Quote
Hi all, I cannot seem to get my pagespeed up to the level I want, but I do not have the backend knowledge to fix the following errors listed below. I have played around with this for awhile, and gotten a number of them reduced, but these last ones are beyond me at this time. Any idea how long this would take someone proficient to do? Any idea what the cost would be? I know the ideas are going to be super general, but ball park is what I'm looking for. Thanks! Ruben Remove render-blocking JavaScript: http://code.jquery.com/jquery-latest.min.js http://www.kempruge.com/wp-content/themes/kempruge/scripts/custom.js http://www.kempruge.com/wp-content/themes/kempruge/scripts/rem-text-input.js Optimize CSS Delivery of the following: http://www.kempruge.com/wp-content/themes/kempruge/style.css http://www.kempruge.com/wp-content/themes/kempruge/fonts/stylesheet.css http://www.kempruge.com/wp-content/plugins/sweetcaptcha-revolutionary-free-captcha-service/css/style.css?ver=3.6.1 http://www.kempruge.com/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/nextgen_gallery_display/static/nextgen_gallery_related_images.css?ver=3.6.1 http://www.kempruge.com/wp-content/plugins/contact-form-7/includes/css/styles.css?ver=3.5.3 http://www.kempruge.com/wp-content/plugins/easing-slider/css/slideshow.min.css?ver=2.1.2 http://www.kempruge.com/wp-content/plugins/wp-nivo-slider/nivo-slider.css?ver=3.6.1 http://www.kempruge.com/wp-content/plugins/wp-nivo-slider/themes/default/default.css?ver=3.6.1
Web Design | | KempRugeLawGroup0 -
What seo benefit does setting up a photo gallery where each photo is a separate web page?
what seo benefit does setting up a photo gallery where each photo is a separate web page? My old SEO guy set up my photo gallery like that claiming that because each photo was a separate page, it added a big seo benefit and i never understood what he was talking about. Maybe alt text on the photo with key phrases in it pointing to my other pages to give my site a theme for google? I'm not really sure. He has since moved away and i am considering redoing the photo gallery to multiple images on one page to be more user friendly to my users. This photo gallery is 3 years old and the photos might have some page rank to them helping my site so i don't want to remove this gallery if there really is a benefit to it and it will hurt my site. I once removed four static page rank 3 pages from my site that weren't used for my site anymore and my rankings dropped 5 positions. Thoughts anyone? Thanks! Ron
Web Design | | Ron100 -
What is the difference of HTML5 and web 2.0? What is web 2.0 and is this better for seo?
A little bit confused with the new stuff. The web 2.0 webpages are so much better? What changes?
Web Design | | Naghirniac0 -
Products page design | e-commerce
Hi All, We are redesiging our ecommerce site and product page is bothering us. We want to tidy up. We want to hide some of the description with jquery script. Visitor will be able to view first 30 words and there will be a "read more" text link just after that content. If they want to read more (which we think most will do) they will have to click the text link and rest of the content will slide open in the same page. The whole content is visible from source code. Would this be ok as far as Google and SEO concerned? I hope I explained it well 🙂
Web Design | | Jvalops0