Does anyone know how to change the <area ...> tag into RoR code?
<%= image_tag("image.jpg", :size => "80x40", :border
=> 0, :usemap =>
"#Map") %>
<map name="Map" id="Map">
<area shape="rect" coords="100,20,100,20"
href="../help.html"
target="_parent" alt="help" />
</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
--
Posted via http://www.ruby-forum.com/.