473,769 Members | 1,637 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Pages Not rendering In Mozilla Help?

77 New Member
The following 3 pages which are popups on my site are not rendering in mozilla firefox. Source is visible instead. Any idea 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
Nov 14 '07
27 2592
pronerd
392 Recognized Expert Contributor
Exactly as I said, In firefox Its rendering as plain text
That does not answer the question. What SPECIFICALLY is happening or not happening? You did not answer any of the questions I asked. Please answer these questions.

Again meaning what? Are you seeing text in the page, instead of the HTML content? If so that would explain why your JavaScript is not running. When I checked the sample like the page with Firefox 2.0.0.13 it is rendering as text/html for me.


Id like to try a new Approach, If you could assist
How can I assist you when you continue to refuse to state the problem, and will not answer any of the questions asked?



I want to alter the code to expand the Image in the same page instead.
One thing to consider here would be depending on the size of the image this could make it very grainy looking.



I have tried for several hours but just cannot get it to work,
Meaning what? Just saying it does not work does not tell us anything. What is or is not happening? Are there errors happening, if so what do they say?
Apr 17 '08 #11
Inny
77 New Member
Sorry We seem to have a miscommunicatio n issue.

Yes Im seeing plain text under firefox, just the page source, of the display page. Does that make it clearer? I beleive this is an issue with how my server
is configured for displaying attached files (html) in various browsers.
I think this because the display page renders as it should (text/html) under firefox, if I host it on an external server, however the code will not function because I get access denied error accross domains. (the code loads the src image to a placeholder and replaces the placeholder with the src img in the display page, but not firefox) The display page must be on the same domain. I have abandoned the original idea because I do not have access to my server.
see here with firefox (i see the page src)
http://inny.ipbfree.com/index.php?ac...e=post&id=1815
Do you understand now?

About the second Idea, (expanding in the page) they will not be grainy, because they are only expanding to full size, not larger than the image actually is. Only reduced images will be effected, e.g a small 100x100px will not expand to 400x400, it wont be effected at all.

The second Idea Will Avoid the problem explained above, I just dont know how to assign the 'Expander' attribute to the reduced image instead of opening it in a new page.
Apr 18 '08 #12
acoder
16,027 Recognized Expert Moderator MVP
Threads merged - same problem.

Problem: http://www.howtocreate.co.uk/wrongWi...A+text%2Fplain
Apr 18 '08 #13
drhowarddrfine
7,435 Recognized Expert Expert
fwiw, your server is misconfigured and serving the page as text/plain.
Apr 21 '08 #14
pronerd
392 Recognized Expert Contributor
see here with firefox (i see the page src)
http://inny.ipbfree.com/index.php?ac...e=post&id=1815
Do you understand now?
Yes. As already stated the server is setting the MIME type of that page to "text/plain". The server needs to be corrected to that pages are being servered as text/html. This needs to be done before any other issues can be fixed, since none of your JavaScript will be run if the page is being rendered as plain text.



I just dont know how to assign the 'Expander' attribute
The first problem here would be that there is not an "Expander" attribute in mozilla's DOM reference. So you can create that attribute, but it will not do anything. If you want to adjust the images dimensions, it is is just a matter of changing the width and height attributes of the image element.





reduced image instead of opening it in a new page
You have not made the syntax correction I suggested above. As long as you are still calling window.opener it is going to open a new window in IE only. Pop-up blocking will stop this call in Firefox.
Apr 21 '08 #15
Inny
77 New Member
Ok, now were up to date. Lets forget the expander code ok.
back to original issue.
I dont have access to my server, hence im going to use a page on another domain instead. How can I parse the img url as the query string to the new page
so I can do that.
I dont know how to configure the new page, or reconfigure the code on my server.

Incidently the new page DID popup just fine in firefox, but as I said, due my server config it rendered as text/plain.
Apr 21 '08 #16
Plater
7,872 Recognized Expert Expert
I am going to say it's a PHP not being configured/setup correctly on the server.

It's not sending the content correctly, have a look at the byte stream:
Expand|Select|Wrap|Line Numbers
  1. HTTP/1.1 200 OK
  2. Date: Mon, 21 Apr 2008 17:50:32 GMT
  3. Server: Apache/2.0.52 (CentOS)
  4. Set-Cookie: ForumSetCookie=herproom; expires=Tue, 21-Apr-2009 17:50:32 GMT
  5. Content-Disposition: inline; filename="bestyet.html"
  6. Content-Length: 25899
  7. Connection: close
  8. Content-Type: text/plain; charset=UTF-8
  9.  
The content type is tagged as text/plain, and for some reason it tries to use a Content-Disposition, which is used to trigger the "would you like to download or open this file" type boxes for the browser.

The byte stream is also the same regardless of me using FF or IE.
Apr 21 '08 #17
Inny
77 New Member
Yes exactly, Thanks. I dont have access to my server to reconfigure it though, so I want to send the enlarged image to a page on another server. Thats what I need help with. document.opener wont work accross domains.
Apr 22 '08 #18
Inny
77 New Member
Bump! does anyone know how to do this?
Apr 23 '08 #19
Plater
7,872 Recognized Expert Expert
You want to force a new window to open and go to a certain webpage on a different server? Seems like a popup blocker would reject that, but you could try.
Apr 23 '08 #20

Sign in to post your reply or Sign up for a free account.

Similar topics

2
3662
by: rnd | last post by:
Hi all! could you kindly help me to solve a compatibility problem that involves Internet Explorer and NN/Mozilla. I created a html page that contains a form (its name is "Modulo") and some text boxes. After clicking on a button, a popup appears. I tried to modify the text of "Testo" textbox from the popup windows by using the following javascript code: window.opener.Modulo.Testo.value=window.opener.Modulo.Testo.value + " This
12
3267
by: Bart | last post by:
Hallo, I'm have a problem with the following script: function wr(s) { //Just got tired of writing document.write, //so I created a shorthand version document.write(s);
6
1761
by: Gary Mayor | last post by:
Hi, I'm trying to make it so when I click a image it prints out the image again and a load of other stuff. So far i've got this far. <html> <head> <script language="JavaScript" type=""> document.onmousedown = onmousedown; function onmousedown(e) {
1
1534
by: David Smith | last post by:
I have the following snippet which will not render the control on the page: foreach(DataRow dr in ds.Tables.Rows) { System.Web.UI.HtmlControls.HtmlTableRow r = new System.Web.UI.HtmlControls.HtmlTableRow(); System.Web.UI.HtmlControls.HtmlTableCell c1 = new
3
2774
by: kev | last post by:
Hello, I posted a question a while ago on tabbed pages, how to set it to invisible when the text box is empty.It was answered by Rick and the code ran perfectly. However, i tried using the same code for another scenario and it gives me compile error:method or data member not found. My scenario is i have a nested tab page.My main tabbed page has 4 tabs, About, SafetyLevel1,SafetyLevel2,SafetyLevel3. Inside this main, i created a...
2
1208
by: saurabhpant | last post by:
Hi friends, I am working on a blog application.In this application we use an iframe for writing the text I am using the javascript for storing the value of iframe in a temporary variable.The code is given below:--- var tmpIframe=iframe.document.body.innerText; it works perfectly in IE but not working in Mozilla. help me asap. Regards Saurabh
2
2040
by: gunnuk | last post by:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>WELCOME TO HEMA CREATIVE HOUSE</title> <style type="text/css"> <!-- @import url("css/IDESIGN 1.css"); @import url("css/IDESIGN.2.css"); body {
3
1433
by: bnashenas1984 | last post by:
Hi everyone I have a HTML page which has some dynamic parts. The problem is that this page works fine in IE but not in MOZILLA ( doesn't work att all in mozilla ) here is an example: ------------------------------------------ <table id="searchtable" > <tr> <td> Some text here... </td>
1
1840
by: tegdim | last post by:
Hello, I'm working on a machine learning project that I have lots of HTML news stories to work with. I made an online tool that lets me look at these pages via mozilla and hand label them by adding my own tags into the DOM. The problem I've found is that the pages I'm using are being tidied by Mozilla. For example, <p/> is changed into proper <p> and </p> tags. The problem is that I also want to be able to process these pages without...
0
9589
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9423
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10045
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9994
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9863
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8870
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6673
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
2
3561
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2815
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.