Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 8 of 8
  1. #1
    New Coder
    Join Date
    May 2006
    Posts
    22
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Nothing displaying in Firefox?

    Hello,
    I have this test page for a site that I'm making that uses an XML file to generate the accordian of paintings. It looks perfect in both IE 8 and Chrome, but in Firefox it's not generating anything. Is there something particular to Firefox that I need to do to make it work? Any help would be awesome, I'm totally confused and working with XML is very new to me. Here's the test page:
    http://heresmary.com/Penelope/portfolio.html

  • #2
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,851
    Thanks
    160
    Thanked 2,223 Times in 2,210 Posts
    Blog Entries
    1
    Nothing displaying in Firefox?
    The above link shows a set of images and some other things in FF3.6.
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)

  • #3
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    Some of the pages that you are entire pages. You do not need to have every element of a web page in there. You only need the content, e.g. the stuff that goes in between the body tags.

    Also having to rely on JS for your portfolio to even be seen may not be the best thing to do. Why did you design to have your portfolio in xml or on second thought why did you decide to load it with JS? What is JS is disabled? If it is you can't see the portfolio.
    ||||If you are getting paid to do a job, don't ask for help on it!||||

  • #4
    New Coder
    Join Date
    May 2006
    Posts
    22
    Thanks
    3
    Thanked 0 Times in 0 Posts
    It's a learning experience. I may not even put this on the web,it's just a test to see if I can do it. Do you know why it's not showing anything in Firefox? I'd like to know for the future. Also, what do you mean by:

    "Some of the pages that you are entire pages. You do not need to have every element of a web page in there. You only need the content, e.g. the stuff that goes in between the body tags." I think there's some broken english or grammer/spelling mistakes so I can't understand what you're trying to say...
    Last edited by maryb86; 07-02-2010 at 03:53 PM.

  • #5
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    Yeah I was typing fast sorry. Look at the source code of your page. You will see that you have duplicate tags such as doctypes and other elements that should only be on the page once. As for it not showing what version of FF are you using? I can see the images just fine.
    ||||If you are getting paid to do a job, don't ask for help on it!||||

  • Users who have thanked _Aerospace_Eng_ for this post:

    maryb86 (07-03-2010)

  • #6
    New Coder
    Join Date
    May 2006
    Posts
    22
    Thanks
    3
    Thanked 0 Times in 0 Posts
    I think the duplicate tags are because of the SSI. I put that in for the header (which is the menu) - I had to add a doctype into the header.html file to make it not totally screw up in IE. Doesn't seem to have any adverse affects.

    Ohhh I just downloaded the latest update for firefox and now it's working fine. I think it may be because it was in limbo when I was testing it before, trying to download an update or something. I feel stupid for making this thread now, but thanks for checking it out in your browsers (I probably would have spent hrs going in circles).

  • #7
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    You don't need to have those duplicate items in those files. It makes your code invalid. IE would probably be worse with them in there. Check your errors here. You can ignore the first 6 but the others need to be fixed. You can also fix the first 6 by wrapping your javascript in cdata comments or by moving your JS to an external file.
    ||||If you are getting paid to do a job, don't ask for help on it!||||

  • #8
    New Coder
    Join Date
    May 2006
    Posts
    22
    Thanks
    3
    Thanked 0 Times in 0 Posts
    I put it in there because for another site that I was working on, there was a part that was screwing up in IE. I spent days trying to figure out what it was, and eventrually tried adding the DTD in the included file and it then worked. I'll remove it for this site though and see if it creates any issues. I agree that it's unnecessary if it's not doing anything. I will take a look at the validation and fix the errors. Thanks!


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •