 |
AutoHotkey Community Let's help each other out
|
| View previous topic :: View next topic |
| Author |
Message |
TOTAL
Joined: 26 Sep 2007 Posts: 39
|
Posted: Thu Mar 20, 2008 12:19 am Post subject: This forum's code expand feature |
|
|
Definitely off topic.
I like the Code Expand as it is done in this forum because
you can expand by clicking on a part of the wrapped code, too
it works flawlessly in Opera browser.
Could anyone tell me where I could get such a piece of css , meeting the above criteria?
I have already experimented with some codes available on internet, but didn’t like any of them.
And this implementing process is very time consuming (adapt css, modify html) each time..
And, in case anyone knows, will using such a code affect indexing in google, etc?
After all, some text is not visible until expanded, which the indexing engines are said to be sensitive to. |
|
| Back to top |
|
 |
Oberon
Joined: 18 Feb 2008 Posts: 458
|
Posted: Thu Mar 20, 2008 12:39 am Post subject: |
|
|
It was created in response to Elevator_Hazard's suggestion in the topic titled "Forum [code] sections: green comments and scrollbars," and the source can be found at http://www.autohotkey.com/forum/code.js
| Quote: | | Could anyone tell me where I could get such a piece of css , meeting the above criteria? | Use the overflow: auto; property on a fixed width element, or for CSS3 supporting browsers word-wrap: break-word;
| Quote: | | will using such a code affect indexing in google, etc? | No because the text is hidden only on the client-side with Javascript. Google crawls web pages with the same understanding as if it were viewed in a text browser such as Lynx. Ideally you would use semantic <code> or <pre> tags so search engines would not treat it as readable text. |
|
| Back to top |
|
 |
|
|
You can post new topics in this forum You can reply to topics in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|