Link_to rel tag

Hi,

throughout my site i use a bit of javascript to display a ballon tool
tip over each hyperlink code below works fine:

Clicke here for link.

This is the tool tip information

Is it possible to add the rel tag to a rubyonrails link_to tag? The
reason im asking this is i dont want to have to change the address in
the hyper link everytime i move from development to testing to
production and even if the site changed its name.

So how would i associated the rel=“balloon2” to the below? Is it
possible?

<%= link_to ‘Clike here’, :action => ‘index’, :controller => ‘main’ %>

JB

On 3 October 2006 14:30, John B. wrote:

Is it possible to add the rel tag to a rubyonrails link_to tag? The
reason im asking this is i dont want to have to change the address in
the hyper link everytime i move from development to testing to
production and even if the site changed its name.

So how would i associated the rel=“balloon2” to the below? Is it
possible?

<%= link_to ‘Clike here’, :action => ‘index’, :controller => ‘main’ %>
Try this one:
<%= link_to ‘Click here’, { :action => ‘index’, :controller => ‘main’ },
:rel
=> ‘balloon2’ %>

Maxim K. wrote:

On 3 October 2006 14:30, John B. wrote:

Is it possible to add the rel tag to a rubyonrails link_to tag? The
reason im asking this is i dont want to have to change the address in
the hyper link everytime i move from development to testing to
production and even if the site changed its name.

So how would i associated the rel=“balloon2” to the below? Is it
possible?

<%= link_to ‘Clike here’, :action => ‘index’, :controller => ‘main’ %>
Try this one:
<%= link_to ‘Click here’, { :action => ‘index’, :controller => ‘main’ },
:rel
=> ‘balloon2’ %>

Thanks.