Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 365
  • Last Modified:

custom scrollbar with searchable text

I'm working on a site that is created with tables. in one cell, i have a div with scrollable text. the default scroll bar is just not acceptable for my client. she wants something really clean and sleek. is there a way to do this with html or do i need to use flash and if i use flash, is the text in the box still searchable? i'm using dreamweaver.
0
kenmac722
Asked:
kenmac722
  • 3
  • 2
1 Solution
 
Mr_SplashCommented:
I'm afraid this cannot be achieved in all browsers, however for IE and a couple of other browsers you can achieve a certain degree of design using colours, it can be done with a simple bit of css which you would apply to the divs class or style tag.

You can use as many or as few of the declarations below


scrollbar-base-color:
scrollbar-track-color:
scrollbar-face-color:
scrollbar-highlight-color:
scrollbar-3dlight-color:
scrollbar-darkshadow-color:
scrollbar-shadow-color:
scrollbar-arrow-color:

Open in new window

0
 
kenmac722Author Commented:
if i do it in flash, can i keep the text searchable?
0
 
Mr_SplashCommented:
No, at present there is no way for search engine spiders to read flash text.

However, when you embed the flash file you can specify the text used in the animation. It won't show up in the page but it can be found by search engine spiders. Let me know if this is what you want and I can give you an example.

Or did you mean searchable from inside the site? as that is a whole different kettle of fish and would completely depend on your sites search code and you would still need the above method.
0
 
kenmac722Author Commented:
no, i meant searchable by google. could you show me an exampple? thank you so much!!!
0
 
Mr_SplashCommented:
Well,
The easiest way is to add

<noembed>All the text that's in the flash file</noembed> after your <embed> tag

Or you can use some javascript that will deliver certain material to search engine spiders and the flash to visitors, such as http://www.adobe.com/devnet/flash/articles/swfobject.html

Then when you've done either of the above, you can use the following website to check what search engines will see. http://www.spidertest.com
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now