I have this working html tag but am not sure how to convert it rails.
i’m getting compile errors.
original html:
WebQuestPro.com
i have tried the following:
<% link_to(“WebQuestPro.com”, “http://webquestpro.com”, :onmouseover =>
“drc(‘Enter into the world of professional web marketing.’,‘PlanMagic
WebQuest Pro’); return true;” onmouseout=“nd(); return
true;”) %>
any ideas?
On Jun 22, 2008, at 4:33 PM, Scott K. wrote:
true;">WebQuestPro.com
Which is also fine in Rails.
i have tried the following:
<% link_to(“WebQuestPro.com”, “http://webquestpro.com”, :onmouseover
=>
“drc(‘Enter into the world of professional web marketing.’,‘PlanMagic
WebQuest Pro’); return true;” onmouseout=“nd(); return
true;”) %>
Use <%= (with the equals sign) if you want to put the result of the
link_to() into the page output.
any ideas?
If you aren’t generating the links, then there’s no need to convert
HTML to erb with Rails helpers.
-Rob
Rob B. http://agileconsultingllc.com
[email protected]