Jump to content


Firefox and my website


7 replies to this topic

#1 NightWolf

    Young Padawan

  • Members
  • Pip
  • 10 posts

Posted 17 December 2005 - 06:45 PM

My website displays perfectly in IE but in FireFox the content isnt showing.
For the content im using I-Frames

The site is http://inevmaps.hl2files.com

Does FireFox even support I-Frames or is something wrong with my code that FireFox doesent like?

#2 BigDog

    Young Padawan

  • Members
  • Pip
  • 277 posts
  • Gender:Male
  • Location:Orange County, California
  • Interests:Running, building computers, PC games and BMX and programming.

Posted 17 December 2005 - 06:56 PM

<html>
<head>
<title>Inevitable Maps - Half-Life 2 Deathmatch Maps</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Description" content=
"Inevitable maps. Half-Life 2 Deathmatch maps. Maps and WIP. Fun maps to play with everyone and anyone!">
<meta name="Keywords" content=
"HL2, Half Life, Half Life 2, Deathmatch, DM, WIP, Maps, Cool, Skilled, Inevitable, Contact, NightWolf, Interlopers, Fun, Links, Friends, Free, Vote, ModDB, Inevitable Maps, HL2 Files, Half Life 2 files, files, News, Media, Steam, lights, detail, Red alert 2, levels, mapping, Doom 3, editor, HL2:DM, SDK, Source Engine, Games, contact, Hosted">
<!-- ImageReady Preload Script (index_sliced.psd) -->

<script type="text/javascript">
<!--

function newImage(arg) {
 if (document.images) {
  rslt = new Image();
  rslt.src = arg;
  return rslt;
 }
}

function changeImages() {
 if (document.images && (preloadFlag == true)) {
  for (var i=0; i<changeImages.arguments.length; i+=2) {
   document[changeImages.arguments[i]].src = changeImages.arguments[i+1];
  }
 }
}

var preloadFlag = false;
function preloadImages() {
 if (document.images) {
  index_02_over = newImage("images/index_02-over.gif");
  index_03_over = newImage("images/index_03-over.gif");
  index_04_over = newImage("images/index_04-over.gif");
  index_05_over = newImage("images/index_05-over.gif");
  index_06_over = newImage("images/index_06-over.gif");
  index_07_over = newImage("images/index_07-over.gif");
  preloadFlag = true;
 }
}

// -->
</script><!-- End Preload Script -->

<style type="text/css">
<!--
.style6 {color: #333333}
-->
</style>
</head>
<body bgcolor="#666666" leftmargin="0" topmargin="0" marginwidth=
"0" marginheight="0" onload="preloadImages();">
<div align="center"><!-- ImageReady Slices (index_sliced.psd) -->

<table id="Table_01" width="700" height="801" border="0"
cellpadding="0" cellspacing="0">
<tr>
<td colspan="11"><img src="images/index_01.jpg" width="700" height=
"150" alt=""></td>
</tr>
<tr>
<td colspan="2"><a href="index.htm" onmouseover=
"changeImages('index_02', 'images/index_02-over.gif'); return true;"
onmouseout=
"changeImages('index_02', 'images/index_02.gif'); return true;"
onmousedown=
"changeImages('index_02', 'images/index_02-over.gif'); return true;"
onmouseup=
"changeImages('index_02', 'images/index_02-over.gif'); return true;">
<img name="index_02" src="images/index_02.gif" width="63" height=
"25" border="0" alt=""></a></td>
<td><a href="Maps.htm" onmouseover=
"changeImages('index_03', 'images/index_03-over.gif'); return true;"
onmouseout=
"changeImages('index_03', 'images/index_03.gif'); return true;"
onmousedown=
"changeImages('index_03', 'images/index_03-over.gif'); return true;"
onmouseup=
"changeImages('index_03', 'images/index_03-over.gif'); return true;">
<img name="index_03" src="images/index_03.gif" width="63" height=
"25" border="0" alt=""></a></td>
<td colspan="3"><a href="WIP.htm" onmouseover=
"changeImages('index_04', 'images/index_04-over.gif'); return true;"
onmouseout=
"changeImages('index_04', 'images/index_04.gif'); return true;"
onmousedown=
"changeImages('index_04', 'images/index_04-over.gif'); return true;"
onmouseup=
"changeImages('index_04', 'images/index_04-over.gif'); return true;">
<img name="index_04" src="images/index_04.gif" width="52" height=
"25" border="0" alt=""></a></td>
<td><a href="http://inevmaps.hl2files.com/forums/" onmouseover=
"changeImages('index_05', 'images/index_05-over.gif'); return true;"
onmouseout=
"changeImages('index_05', 'images/index_05.gif'); return true;"
onmousedown=
"changeImages('index_05', 'images/index_05-over.gif'); return true;"
onmouseup=
"changeImages('index_05', 'images/index_05-over.gif'); return true;">
<img name="index_05" src="images/index_05.gif" width="85" height=
"25" border="0" alt=""></a></td>
<td><a href="about.htm" onmouseover=
"changeImages('index_06', 'images/index_06-over.gif'); return true;"
onmouseout=
"changeImages('index_06', 'images/index_06.gif'); return true;"
onmousedown=
"changeImages('index_06', 'images/index_06-over.gif'); return true;"
onmouseup=
"changeImages('index_06', 'images/index_06-over.gif'); return true;">
<img name="index_06" src="images/index_06.gif" width="72" height=
"25" border="0" alt=""></a></td>
<td><a href="contact.htm" onmouseover=
"changeImages('index_07', 'images/index_07-over.gif'); return true;"
onmouseout=
"changeImages('index_07', 'images/index_07.gif'); return true;"
onmousedown=
"changeImages('index_07', 'images/index_07-over.gif'); return true;"
onmouseup=
"changeImages('index_07', 'images/index_07-over.gif'); return true;">
<img name="index_07" src="images/index_07.gif" width="88" height=
"25" border="0" alt=""></a></td>

<td colspan="2" rowspan="2"><img src="images/index_08.jpg" width=
"277" height="39" alt=""></td>
</tr>
<tr>
<td colspan="9"><img src="images/index_09.jpg" width="423" height=
"14" alt=""></td>
</tr>
<tr>
<td rowspan="2"><img src="images/index_10.jpg" width="14" height=
"611" alt=""></td>
<td colspan="3"><iframe name="FRAME2" src="I-Frames/leftmenu.htm"
width="140" height="600" frameborder="0"></iframe></td>
<td rowspan="2"><img src="images/index_12.jpg" width="8" height=
"611" alt=""></td>
<td colspan="5"><iframe name="FRAME1" src=
"I-Frames/maincontent-index.htm" width="522" height="600"
frameborder="0"></iframe></td>
<td rowspan="2"><img src="images/index_14.jpg" width="16" height=
"611" alt=""></td>
</tr>
<tr>
<td colspan="3"><img src="images/index_15.jpg" width="140" height=
"11" alt=""></td>
<td colspan="5"><img src="images/index_16.jpg" width="522" height=
"11" alt=""></td>

</tr>
<tr>
<td><img src="images/spacer.gif" width="14" height="1" alt=""></td>
<td><img src="images/spacer.gif" width="49" height="1" alt=""></td>
<td><img src="images/spacer.gif" width="63" height="1" alt=""></td>
<td><img src="images/spacer.gif" width="28" height="1" alt=""></td>
<td><img src="images/spacer.gif" width="8" height="1" alt=""></td>
<td><img src="images/spacer.gif" width="16" height="1" alt=""></td>
<td><img src="images/spacer.gif" width="85" height="1" alt=""></td>
<td><img src="images/spacer.gif" width="72" height="1" alt=""></td>
<td><img src="images/spacer.gif" width="88" height="1" alt=""></td>
<td><img src="images/spacer.gif" width="261" height="1" alt=
""></td>
<td><img src="images/spacer.gif" width="16" height="1" alt=""></td>
</tr>
</table>
<br>
<span class="style6">Copyright © 2005 Inevitable Maps<br>

All logos and trademarks in this site are property of their
respective owner.<br>
Best if viewed at 1024x768 or higher</span> 
<!-- End ImageReady Slices --></div>
</body>
</html>

Try using that, i cleaned it up and it worked for me!

#3 NightWolf

    Young Padawan

  • Members
  • Pip
  • 10 posts

Posted 17 December 2005 - 07:38 PM

Thanks,

It works fine locally but it doesent show when its on the internet.

Edited by NightWolf, 17 December 2005 - 07:48 PM.


#4 BigDog

    Young Padawan

  • Members
  • Pip
  • 277 posts
  • Gender:Male
  • Location:Orange County, California
  • Interests:Running, building computers, PC games and BMX and programming.

Posted 17 December 2005 - 07:48 PM

Well, your code was just messed up, i simply cleaned it up using dreamweaver

#5 Programmerguy150

    Young Padawan

  • Members
  • Pip
  • 114 posts
  • Interests:Eating your soul<br />P2L<br />PHP<br />Tutorials<br />Eating your soul..

Posted 17 December 2005 - 09:33 PM

using dreamweaver?!?!?!?! Are you rarking mad? Learn HTML, learn Javascript, and then actually make the page manually:).

#6 coolaid

    P2L Jedi Master

  • Members
  • PipPipPipPip
  • 1,435 posts
  • Gender:Male
  • Interests:i wonder..

Posted 17 December 2005 - 10:01 PM

dont learn javascript.. just learn xhtml and css

#7 Programmerguy150

    Young Padawan

  • Members
  • Pip
  • 114 posts
  • Interests:Eating your soul<br />P2L<br />PHP<br />Tutorials<br />Eating your soul..

Posted 17 December 2005 - 10:20 PM

He is using javascript. Look at the code:P.

#8 rc69

    PHP Master PD

  • P2L Staff
  • PipPipPipPip
  • 3,827 posts
  • Gender:Male
  • Location:Here
  • Interests:Web Development

Posted 18 December 2005 - 12:56 AM

Whether or not he's using JavaScript is of no consequence. From the looks of it, he didn't even write the JS, dreamweaver did.

Anyway, i've got no idea what the problem is, all i know is the easy way to find out if your browser supports frames or not is to do the following:
<iframe name="FRAME2" src="I-Frames/leftmenu.htm"
width="140" height="600" frameborder="0">Your browser doesn't support iframes.  Get a better browser.</iframe>
Simply add text in between the tags, if you don't see the text, then your browser supports iframes, and vise-versa.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users