开发者

How to use Framesets in Ruby on Rails?

开发者 https://www.devze.com 2023-03-27 19:31 出处:网络
This is actually further asking on a question I posted earlier. I am not sure how to include the path of the file you want to put in the src attribute.

This is actually further asking on a question I posted earlier. I am not sure how to include the path of the file you want to put in the src attribute.

 <FRAMESET ROWS="65%,35%" FRAMEBORDER='0' FRAMESPACING='0'>  

   <FRAME NAME="DISP" SRC="<%= chat_window_path %>">  

   <FRAME NAME="TEXT" SRC="<%= chat_window_path %>B">  

 </FRAMESET>

I wrote the above, following the answers provided for that question. The action *chat_window* was added to my pages controller and the rout开发者_如何学运维e was added as well. However, I am not sure how to replace *chat_window_path* with the actual action path. I tried some things, but nothing worked.

0

精彩评论

暂无评论...
验证码 换一张
取 消