mediatribe.net -- Drupal and Web Development

Notice: this post was last updated 5 years 27 weeks ago so it might be outdated. Please be cautious before implementing any of suggestions herein.

Building a javascript-based browser map with views for Drupal 6

Recently for a projet I needed to build a javascript-based browsing mechanism for alternatives.ca. You can see the result at http://alternatives.ca/projets. I'll try to describe how this was done. It takes about two hours to set this up properly.

Compatibility: IE7 and above.

The basic idea

I categorized my content with taxonomy, then created a view with exposed filters, enabled ajax in the view, and used some extra modules to make the exposed filters more fluid. Finally, some CSS and a css sprite for the navigation map.

Read the full article on Koumbit.org.

I have experimented a bit

I have experimented a bit with javascript snippets and views, and I have found that, using a style tag and the full html filter, I can embed javascript directly in a view - thus sparing me from creating a custom module or theme just for this purpose, and best of all making my code that much harder to maintain.

-sfyn (www.riotnrrd.info)

Hot tip man! I totally agree

Hot tip man!

I totally agree that using Views Hacks (which I just discovered the other day) is really fantastic.

-- shaneonabike

Has your project link been

Has your project link been taken down. I cant seem to connect to it.

Thanks, yes, I changed the

Thanks, yes, I changed the URL in the post and it should work now.

Albert