English 中文(简体)
需要一种替代超文本框架的办法(我现在知道为什么它们会重恶)
原标题:Need an alternative to HTML frames (I now know why they re evil)

简言之,Im试图制作一页的活页(浏览网站),同时为功能提供超时的菜单。

在我如何设计我的申请时,我可能会犯错误,需要替代框架。 就此提出的任何建议都会得到赞赏。

因此,申请的目的是分析网站内容。 它带有通常的障碍:形象、标志、环境。 一个具有标准法律障碍的全球脚步,在中间,所有功能都有。

我知道,其中一个功能是现场的一个活 render,向下层穿透。 他们可以查看有关内容,并撰写对其中内容的评论。

每个职能都放在一个框架之内,这样一来,如果点击了页数,框架就会向基数页击落,并转发。 这里是问题。 为了找到一个现场的现场,并以这种方式使用,我不得不在一个框架内设置一个框架,从而产生重复的滚动条。

If anyones confused as to how the layout works there are 2 shots here. http://s1180.photobucket.com/albums/x406/0vertone/?action=view&current=pageviewlayout.jpg And a cleaner designer model (mainly just global menu) http://s1180.photobucket.com/albums/x406/0vertone/?action=view&current=globalview.jpg

我拿着这张ding子,对高压的 men子,我尝试了一种幻觉和一种幻灯片。 你们可以在此研究该守则。

GLOBAL MENU: save this as global.html.erb http://paste.ubuntu.com/648135/

PAGE VIEW: save this as pageview.html.erb http://pastebin.ubuntu.com/648146/ Once you ve done this, it should work as you d expect.

The technology or way its done is option but the design is not. Just looking now, on the page view at the bottom of live website but above the footer. There needs to be an overlaying menu that slides in an out. If anyone has any ideas on how to implement a live view of a site and an overlaying menu, I m all ears.

谢谢。


快速摘要:

我所希望实现的是一份全球菜单,在所有网页上保持一致。 在这种全球菜单的中间点,是我所创造的其他网页,例如名单观点、统计和页面浏览。

Page view is the one I m working on at the moment. In the page view there are 2 components, Live view of website (whatever page they want) and an overlaying menu at the bottom. Think like youtubes playlist on bottom of page. The problem is that in order to put this live render of a website in the frame, you have an iframe within an iframe and I;m trying to resolve that.

但是,我不想把它当作ug子对待,而是想用其他办法替代我如何能够实现上述目标。




My final solution available on pastebin: page view: http://paste.ubuntu.com/648246/

Global view: http://paste.ubuntu.com/648250/

Basically this jQuery( #iframeWrapper ).height( 61% );

最佳回答

This is a quick demo of CSS and divs - you might be able to do what you want using this method.

<style type="text/css">
#holder {position:absolute;left:0;top:0;width:425px;height:350px;z-index:1;}
#menu {position:absolute; left:0;top:300px;height:50px;background-color:#f0f;width:425px;z-index:10;}
</style>

<div id="holder">

<iframe width="425" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.co.uk/maps?f=q&amp;source=s_q&amp;hl=en&amp;geocode=&amp;q=firebox&amp;aq=&amp;sll=53.800651,-4.064941&amp;sspn=17.72791,44.736328&amp;ie=UTF8&amp;hq=firebox&amp;hnear=&amp;z=5&amp;iwloc=A&amp;cid=2836054255231781537&amp;ll=51.386465,-0.138487&amp;output=embed"></iframe><br /><small><a href="http://maps.google.co.uk/maps?f=q&amp;source=embed&amp;hl=en&amp;geocode=&amp;q=firebox&amp;aq=&amp;sll=53.800651,-4.064941&amp;sspn=17.72791,44.736328&amp;ie=UTF8&amp;hq=firebox&amp;hnear=&amp;z=5&amp;iwloc=A&amp;cid=2836054255231781537&amp;ll=51.386465,-0.138487" style="color:#0000FF;text-align:left">View Larger Map</a></small>

</div>

<div id="menu">Nav / whatever goes here</div>

另外,他还可以选择利用亚子将内容提到准持有人的四分五位,而不是使用iFrame。

问题回答

暂无回答




相关问题
CSS working only in Firefox

I am trying to create a search text-field like on the Apple website. The HTML looks like this: <div class="frm-search"> <div> <input class="btn" type="image" src="http://www....

image changed but appears the same in browser

I m writing a php script to crop an image. The script overwrites the old image with the new one, but when I reload the page (which is supposed to pickup the new image) I still see the old one. ...

Firefox background image horizontal centering oddity

I am building some basic HTML code for a CMS. One of the page-related options in the CMS is "background image" and "stretch page width / height to background image width / height." so that with large ...

Separator line in ASP.NET

I d like to add a simple separator line in an aspx web form. Does anyone know how? It sounds easy enough, but still I can t manage to find how to do it.. 10x!

热门标签