0
是否有任何JavaScript我可以包括導致iFrame中選擇任何鏈接到父頁面加載在SharePoint 2007?我正在使用內容編輯器Web部件。
這是我目前使用的代碼。我有我的iFrame顯示目標頁面的特定部分。我從http://www.webdeveloper.com/forum/showthread.php?t=108520
<style type="text/css">
<!--
#container{
width:700px;
height:300px;
border:1px solid #000;
overflow:hidden;
margin:auto;
}
#container iframe {
width:720px;
height:605px;
margin-left:-20px;
margin-top:-305px;
border:0 solid;
}
-->
</style>
</head>
<body>
<div id="container">
<iframe src="my URL" scrolling="no"></iframe>
</div>
</body>
</html>
我已經取代我的實際URL以 「我的網址」 得到這個代碼。
任何建議將是偉大的。
由於提前, 卡爾
喜上Einacio,謝謝你的回覆。我忽略在我的原始文章中提到,我嘗試在SharePoint中實現這一點(我已經編輯了我的文章)。我嘗試了您的補救措施,但並未解決我的問題。它必須是特定於SharePoint的問題(意外驚喜)。不過謝謝。 –