Optimizing a website which uses JavaScript and jQuery
-
Just a quick question (or 2)
If I have divs which are hidden on my page, but are displayed when
-
a user clicks on a p tag and the hidden div is displayed using jquery
-
a user clicks on an a tag and the hidden div is displayed using jquery with the href being cancelled
in both examples, will the hidden content be optimized, or will the fact it is initially hidden make it harder to optimize?
Thanks for any answers!
-
-
Google will see the content as plain text, check for example seobrowser.com.
However, there is a chance that Google is parsing the CSS to find out that this particular content is hidden, and therefore devalues it. I don't recall ever reading about this, but it would make some sense because many visitors won't see the text.
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
-
Why did my website DA fell down?
Hello, Could you please let me know why might my website's DA have fallen down in merely a week? What might be a reason? I also noticed traffic from google dropped down at the very same week. Will be very thankful for any advise!
Technical SEO | | kirupa0 -
Canonical Tag when using Ajax and PhantomJS
Hello, We have a site that is built using an AJAX application. We include the meta fragment tag in order to get a rendered page from PhantomJS. The URL that is rendered to google from PhantomJS then is www.oursite.com/?escaped_fragment= In the SERP google of course doesnt include the hashtag in the URL. So my question, with this setup, do i still need a canonical tag and if i do, would the canonical tag be the escaped fragment URL or the regular URL? Much Appreciated!
Technical SEO | | RevanaDigitalSEO0 -
Website affected by Penguine / Panda
Dear All,
Technical SEO | | omverma
We have some websites. How we can check if site got affected by penguine / panda. We have observed few things since last few days like impressions are going down and keyword ranking is going down too. Any tools or any steps, to detect it will help us.
Thanks,
Om1 -
Using Javascript to Display Responsive Images?
Hi We're making our new website responsive and are thinking of using a solution that would resize the images using javascript. So the image would be displayed like this <div data-src="/img/200x100.png">div> depending on what size fits the screen Is is okay for SEO? Or do we also need a fall back that doesn't use javascript? Thanks
Technical SEO | | ShearingsGroup0 -
Using the Moz to weed out bad backlinks
How do you use the opensite explorer to weed out bad backlinks in your profile, and then how do you remove them if you cannot contact the various webmasters.
Technical SEO | | marketing-man19900 -
Multi Company websites
Hello SEO community ! Hope you'll have some good advice for this project. 🙂 I'm working for a group of companies just starting its SEO experience. Nowadays they have 10 different websites with different names and pretty much the same objectives. So basicly, > Would it be better to gather all website under one adress with subdomains ? They want to display almost the same info, blogs and products.. It make dupplicate content a real pain and Social Media strategy a nightmare. More info: 10 websites for 8 subsidiaries, 1 holding, 1 online shop Each subisdiary has english + its proper language They want regular posts and info updates (blogs, newsletters) They don't have all the same name They all do the same activity Online shop is full a product keywords Ideas: Working on the holding website as mother ship - for branding (social media), actu (blogs), CM (videos, and more)- Displaying the online shop products in all websites (xml) Diplaying blog updates (no full message) via xml on all websites Linking all websites to the blog, shop and holding Tks a lot !
Technical SEO | | AymanH0 -
Should Canonical be used if your site does not have any duplicate
Should canonical be used site wide even if my site is solid no duplicate content is generated. please explain your answer
Technical SEO | | ciznerguy0 -
Canonical tag used on several pages?
Is it a bad idea to use rel=canonical from several pages back to one (if you are planning on no-indexing them)? Does this concentrate the “link juice” from those several pages back to one?
Technical SEO | | nicole.healthline0