•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the JavaScript / DHTML / AJAX section within the Web Development category of DaniWeb, a massive community of 456,234 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,810 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JavaScript / DHTML / AJAX advertiser: Lunarpages Web Hosting
Views: 1038 | Replies: 5
![]() |
The following 3 pages which are user activated popups on my site are not rendering in mozilla firefox. Raw source is displayed instead. I dont know why.
http://herproom.5.forumer.com/index....e=post&id=9948
http://herproom.5.forumer.com/index....e=post&id=7101
http://herproom.5.forumer.com/index....e=post&id=9817
http://herproom.5.forumer.com/index....e=post&id=9948
http://herproom.5.forumer.com/index....e=post&id=7101
http://herproom.5.forumer.com/index....e=post&id=9817
Always carry a flagon of whiskey in case of snakebite and furthermore always carry a small snake.
W. C. Fields
W. C. Fields
Your title tags are missing, for one thing. They are required.
You have < characters and unencoded quote marks in your JavaScript. This confuses the rendering. You need to remove those characters from the JavaScript, or use an external JavaScript file, to prevent this.
You have < characters and unencoded quote marks in your JavaScript. This confuses the rendering. You need to remove those characters from the JavaScript, or use an external JavaScript file, to prevent this.
Daylight-saving time uses more gasoline
Somebody else seemed to think it was a server problem since it renders perfectly in IE. have added Title tags anyway, The most inportant javascript code cant be external though unfortunately, unless you can think of a suitable re-write?
If i remove all the frames n other crap to host it as js it wont work anymore.
<table width="83%" td align="center" cellspacing="0" id="submenu">
<tr>
<td align=left>
<table width="100%" height="40px" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="row1" width="100%" height="40px"style="text-align:center"><marquee behavior=scroll direction=up scrollamount=4 onmouseover=this.stop() onmouseout=this.start() id="activetomar"></marquee></td>
</font>
</td></tr></table></td></tr></table>
<script language="javascript" type="text/javascript">
<!--
if(self.location.href.match('http://herproom.5.forumer.com/index.php?&act=Search&CODE=getactive')){
actm = document.getElementById('activetomar');
actm.innerHTML += "<table class='tableborder'>Active Topics Removed</table>"
}
else {
document.write("<iframe name='activetopmarq' src='http://herproom.5.forumer.com/index.php?&act=Search&CODE=getactive' style='display:none;' onload='latemarqHarvest()'></iframe>");
//-->
function latemarqHarvest()
{
martab = window.frames["activetopmarq"].document.getElementsByTagName("table");
for(var i = 0; i < martab.length; i++){
if(martab[i].className == "tablebasic" && martab[i].parentNode.className == "tableborder"){
tabdiv = martab[i].innerHTML
goingNav(tabdiv)
}
}
}
function goingNav(tabdiv)
{
actm = document.getElementById('activetomar');
actm.innerHTML += "<table class='tableborder'>" + tabdiv + "</table>";
}
}
//-->
</script>If i remove all the frames n other crap to host it as js it wont work anymore.
Always carry a flagon of whiskey in case of snakebite and furthermore always carry a small snake.
W. C. Fields
W. C. Fields
All you need inside the html file is a small piece of JavaScript, just enough to call a function. Those functions can be in a separate .js file.
I see two rendering killers in the above code.
This doesn't work any more with the latest browsers:
Get rid of it.
This line confuses the browser's parser:
As soon as the parser gets to the <, it gets lost.
I see two rendering killers in the above code.
This doesn't work any more with the latest browsers:
<!-- -->
This line confuses the browser's parser:
actm.innerHTML += "<table class='tableborder'>Active Topics Removed</table>"
Last edited by MidiMagic : Nov 19th, 2007 at 8:18 pm.
Daylight-saving time uses more gasoline
![]() |
•
•
•
•
•
•
•
•
DaniWeb JavaScript / DHTML / AJAX Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
ajax asp browser browsers browsing developer development email eudora europe firefox gecko home html internet internet explorer javascript leak linux memory microsoft mozilla msdn networking news office open source patch penelope phishing scams security site social software sql thunderbird users vista web
- IE does not open *any* online web pages (Web Browsers)
- How to create/design a web page? (Site Layout and Usability)
- Mozilla and Font Sizes (*nix Software)
- Mozilla + Frames? (Windows NT / 2000 / XP / 2003)
- Question for ASP.NET/Mozilla Users...or anyone... (ASP.NET)
- CUPS problems with mozilla (*nix Software)
Other Threads in the JavaScript / DHTML / AJAX Forum
- Previous Thread: Script
- Next Thread: Adding Functions to existing code (transitions)



Linear Mode