Howto use the <map> tag?

Does anyone know how to change the <area …> tag into RoR code?

<%= image_tag(“image.jpg”, :size => “80x40”, :border => 0, :usemap =>
#Map”) %>


Or how can I change the “…/help.html” to always point a
“http://root_dir/help.html” file?

I would like to use this code on the application.rhtml but:
if I leave it as it is and open let say http://localhost/index.html
it works fine,
if I open http://localhost/controller/method the link does not work
because help.html is not in the http://localhost/controller/ directory

Any ideas?

Thanks

Am Montag, den 20.02.2006, 10:17 +0100 schrieb Rath:

Or how can I change the “…/help.html” to always point a
“http://root_dir/help.html” file?

“/help.html”

This will always request the help.html file from your document root.


Norman T.

http://blog.inlet-media.de