homepage Welcome to WebmasterWorld Guest from 54.211.219.178
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

    
Iframes not visible
on 2 machines in IE6 and Firefox
Kenton




msg:3113490
 11:47 pm on Oct 8, 2006 (gmt 0)

Hello

I was trying to confirm a reciprocal link when I found no content on the requestor's site using IE6.

I checked again on the same pc using firefox ... same thing.

I checked on a different pc using IE6 still nothing.

Finally, I was able to see them on our Mac using Safari and IEMac.

I notified the website's owner and was told that I didn't know what I was talking about and that it was designed by a "Professional" and that everyone else can see it bar me. I have the problem.

The issue is with the iframes on the page and I'm wondering what's up with my browser's settings (my IE6 at work works fine).

Here's the code:

<script language="javascript">
var cal;

function change(href){
window.location.href = href;
}
</script>

<script language="JavaScript" type="text/javascript">
<!--
function iFrameItemRefresh(Iframe,href){
document.getElementById(Iframe).src=href
}
//-->
</script>

<script language="JavaScript" type="text/javascript">
<!--
function iFrameSize(h,Iframe){
document.getElementById(Iframe).style.height=h+'px'
}
//-->
</script>

<script language="JavaScript" type="text/javascript">
<!--
function iFrameSizeWidth(w,Iframe){
document.getElementById(Iframe).style.width=w+'px'
}
//-->
</script>

<script type="text/javascript">

function iframeDisplay(url,id) {
document.getElementById(id).style.display="block";
document.getElementById(id).src=url;
}
function iframeHide(url,id) {
document.getElementById(id).style.display="none";
document.getElementById(id).src=url;
}
function iframeDisplayRelative(url,id) {
document.getElementById(id).style.display="block";
document.getElementById(id).src=url;
document.getElementById(id).style.top=document.body.scrollTop + 220;
}
function iframeDisplayRelativeSize(url,id,w) {
document.getElementById(id).style.display="block";
document.getElementById(id).src=url;
document.getElementById(id).style.width=w+'px'
document.getElementById(id).style.top=document.body.scrollTop + 220;
}
</script>

<body bgcolor="#FFFFFF">

<IFRAME STYLE="position:absolute;width:220px;height:50px;z-index: 1000;border-style:solid;border-width:1; left:80; top:180; display:none" Name="newmenuitem" ID="newmenuitem" MARGINHEIGHT=0 MARGINWIDTH=0 NORESIZE FRAMEBORDER=0 SCROLLING=NO></IFRAME>
<IFRAME STYLE="position:absolute;width:220px;height:50px;z-index: 1000;border-style:solid;border-width:1; left:80; top:180; display:none" Name="newmainmenuitem" ID="newmainmenuitem" MARGINHEIGHT=0 MARGINWIDTH=0 NORESIZE FRAMEBORDER=0 SCROLLING=NO></IFRAME>
<IFRAME STYLE="border:1px solid #C0C0C0; position:absolute;width:500px;height:50px;z-index: 1000;border-style:solid;border-width:1; left:80; top:180; display:none" Name="showmedia" ID="showmedia" MARGINHEIGHT=0 MARGINWIDTH=0 NORESIZE FRAMEBORDER=0 SCROLLING=NO></IFRAME>
<IFRAME STYLE="position:absolute;width:500px;height:50px;z-index: 1000;border-style:solid;border-width:1; left:80; top:180; display:none" Name="newmedia" ID="newmedia" MARGINHEIGHT=0 MARGINWIDTH=0 NORESIZE FRAMEBORDER=0 SCROLLING=NO></IFRAME>
<IFRAME STYLE="position:absolute;width:220px;height:30px;z-index: 1000;border-style:solid;border-width:0; left:80; top:180; display:none" Name="login" ID="login" MARGINHEIGHT=0 MARGINWIDTH=0 NORESIZE FRAMEBORDER=0 SCROLLING=NO></IFRAME>
<IFRAME STYLE="position:absolute;width:220px;height:30px;z-index: 1000;border-style:solid;border-width:0; left:80; top:180; display:none" Name="logo" ID="logo" MARGINHEIGHT=0 MARGINWIDTH=0 NORESIZE FRAMEBORDER=0 SCROLLING=NO></IFRAME>

I am not after how to fix this code as I do not beleive in iframes (and it's not my code) but I am after fixing the setting on my PCs so that I can see this stuff

Thanks in advance

 

daveVk




msg:3113503
 12:05 am on Oct 9, 2006 (gmt 0)

Javascript disabled maybe?

encyclo




msg:3113558
 1:20 am on Oct 9, 2006 (gmt 0)

it was designed by a "Professional"

To be blunt, the site owner doesn't know what he's talking about. The site may have been built by a "professional", but certainly not a professional web developer who knows anything about HTML. :)

The markup you gave is total garbage. No spider could ever be expected to make anything of that junk, and any link from the site should be considered worthless. It's a credit to browser makers that their products can make anything of the site at all.

To answer the precise question, are the PCs in question running any "security" software such as Norton Internet Security?

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / HTML
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved