开发者

Frames in erb Rails

I need the information to create frames in erb rails.

I need to display the links in a frames instead of provide as link to new window.

Eg.

开发者_运维技巧a href="taxas?[gm]=<%= prefer.genus_name %>&[sp]=<%= prefer.sp_epithet%>" target="new">Link /a

This should be modified as

frame href="taxas?[gm]=<%= prefer.genus_name %>&[sp]=<%= prefer.sp_epithet%>"> /frame


so in ERB, you can always put in

<frameset cols="25%,75%">
   <frame src="frame_a.htm" />
   <frame src="<%=  url_as_ruby_string  %>" />
</frameset>

or you can use <iframe> too.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜