• pop up not working cannot work out why

    Home » Forums » Developers, developers, developers » Web design and development » pop up not working cannot work out why

    Author
    Topic
    #429358

    For some reason the pop up picutre of the book is not working on my site.
    I cannot work out why?
    http://www.malthusconsultancy.com/feedback.htm%5B/url%5D

    It works fine when l preview in browser mode but not when l ftp.
    I am baffled?

    This is the coding l am using:

    When l click on the book l get an unexpected error message.

    Viewing 0 reply threads
    Author
    Replies
    • #999684

      Does the linked-to image actually exist on the website?

      From what I can see, the pop-up should show
      http://www.malthusconsultancy.com/largebook.jpg%5B/url%5D
      but that does not show up on its own anyway.

      • #999691

        Just found out file is corrupt when l try to open it!
        You can now close this thread.

        • #999716

          Justin

          Just to give you my 2cents to help you in the future. I had a look at your css file ( just being nosy evilgrin).

          CSS files are case sensitive and it is best to keep in the habit of writing them all in lower case, there is a bit half way down the code that is upper-case. This could help you in the future when things appear to not work. cheers

          • #999717

            Thanks for that, l did’t think the casing made any difference.

            • #999720

              Yes, it is one of those frustrating things that I found out just by trial and error…it is more with class definition: An example would be this:

              // main.css
               
              .jerry{
              background-color: Aqua;
              width: 50px;
              height: 50px;
              }
               
              .Jerry{
              background-color: Fuchsia;
              width: 100px;
              height: 100px;
              }
              

              You can see that one is in lower case the other class is in title case. They will be viewed totally differently depending how you write them in your HTML. I therefore make a point of doing everything in lowercase. Dependent on the box that the files sit on can dramatically affect the way they are shown. We have this very specific problem at my college where a lot of our files sit on UNIX boxes. I therefore get in a habit of keeping everything the same…just in case grin

            • #999721

              Thanks for that.
              You may have noticed the same css is not used throughout.
              I will be looking into this at a later date.
              I tried using the same css but l had problems with pages not being viewed correctly.

            • #999722

              No Probs

              I wasn’t scutinising it, just being nosey, that’s all grin

              I have added this link to assist other Loungers, best look at the underlying code to see my point.

              Case sensitivity of class and id in css

            • #999729

              This is indeed one of the most frustrating things about html/css etc. A lot of html tags are not case sensitive (eg. <a href… = <A HREF…) but when using frame targets ( puke ) for example, suddenly “TOP” and “top” are completely different beasts.

            • #999731

              Yep totally agree and with the advent of XHTML I have “retrained” my fingers to keep away from the shift/caps lock key grin

    Viewing 0 reply threads
    Reply To: pop up not working cannot work out why

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: