The RPG Maker Resource Kit

RMRK General => General Chat => Topic started by: tSwitch on November 03, 2008, 02:56:05 PM

Title: Web Design Question
Post by: tSwitch on November 03, 2008, 02:56:05 PM
is google able to read javascript that is embedded in a page?
Title: Re: Web Design Question
Post by: :) on November 03, 2008, 07:29:17 PM
What do you mean? The content produced by javascript? Such as popups and tabbed content? View the page in FF with javascript  disabled if you can see it,then google spiders can.
Title: Re: Web Design Question
Post by: tSwitch on November 04, 2008, 02:32:12 PM
no like, you hover over a menu item, and the contents of a div will change based on what link you hover over.

not a tab, so much as switching out content.
Title: Re: Web Design Question
Post by: :) on November 04, 2008, 02:33:39 PM
like I said, disable javascript when you visit the page, that's how the bots will see it.

usually the content will just be displayed wildly.
Title: Re: Web Design Question
Post by: tSwitch on November 04, 2008, 02:39:20 PM
it displays "you either have javascript disabled or need to download the latest javascript blah blah blah blah..." in <noscript> tags ._.

I have tabs later on in the site that use jquery so it's an issue if someone visits the site with js disabled :(
Title: Re: Web Design Question
Post by: :) on November 04, 2008, 02:50:46 PM
Ya.

lol, can't say more than that. Though usually the tabs will display even with javascript disabled, just stacked divs

notice: http://nettuts.s3.amazonaws.com/042_jQueryUITabs/demo/index.html

visit that, disable javascript. The hidden tabs will just stack under one another and the tabs will direct link to their position on the page.
Title: Re: Web Design Question
Post by: tSwitch on November 04, 2008, 02:51:43 PM
I'm using a different system, and they don't display without JS enabled :/

the main page works fine without JS, as all that is affected is the little content switcher (which isn't entirely necessary for page navigation) but the tabs on later pages are...