Announcement Announcement Module
Collapse
No announcement yet.
anyone here here used the Lightbox image viewer? Page Title Module
Move Remove Collapse
Search Search Module
Collapse

Advertisement Advertisement Module
Collapse

Featured Images Featured Images Module
Collapse

Mediabistro Creative Sites Mediabistro Creative Sites Module
Collapse
Latest Topics Latest Topics Module
Collapse

  • <b>
    Comment on Anybody use a Mac Mini?
    <b>
    Right now, at work, I'm using an early 2011 MacBook Pro. It's had no problems at all. I'll likely get a new one early next year, but I'm in no hurry because I don't want to give up the 17-inch display....
    Today, 09:47 PM
  • iyiyi
    Reply to Anybody use a Mac Mini?
    iyiyi
    Overall I haven't really ever had any problems with macs either. Basically just the grpahics card problems I've been talking about. And the 2011 MBP is notorious for them (which is what I have now)....
    Today, 09:40 PM
  • <b>
    Reply to Anybody use a Mac Mini?
    <b>
    This is a puzzling discussion because the things described run counter to my experiences.

    I've been buying Macs since 1984, and have probably owned, maybe, a couple dozen of them. Also during...
    Today, 09:23 PM
  • MeadowlarkGraph
    Reply to Infographics...struggle
    MeadowlarkGraph
    Okay, first attempt at less boring. More variation in text size and background, some different images, shadows. Tried a few different layouts but nothing was hitting me. I actually like "hospice...
    Today, 09:13 PM
  • iyiyi
    Reply to Anybody use a Mac Mini?
    iyiyi
    They are what I used before my mpb. They always had issues. The graphics cards would get screwed up and the screens would freeze (like my mpb is now doing), they were for some reason slower than other...
    Today, 08:53 PM
Advertisement Advertisement Module
Collapse

Sponsors Sponsors Module
Collapse

X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • anyone here here used the Lightbox image viewer?

    Has anyone here ever used the js lightbox? I am trying to install the “Lightbox image viewer” I have done everything it has asked me to do but its not working. When I click on a thumbnail the screen dims, the loading icon appears but no image loads. I just cannot think what the problem is. I have used this script before with no problem (apart from now).

    The files for this script are contained in a "scripts" folder. I have posted on the Dynamic Drive forum but its not very active, so hoped someone here would know.

    Head:

    Code:
    <link rel="stylesheet" type="text/css" href="css/sam-css.css"  />
    <link rel="stylesheet" href="scripts/lightbox.css" type="text/css" media="screen" />
    <script type="text/javascript" src="scripts/lightbox.js"></script>
    HTML:

    Code:
    <div class="artist-gallery-wrapper">
    <li class="artist-gallery a"><a href="potta-large1.html" rel="lightbox" ><img src="images/slices/gallery/potta-gallery-thumbnail.jpg" class="img-border" /></a></li>
    <li class="artist-gallery a"><a href="potta-large2.html" rel="lightbox"><img src="images/slices/gallery/potta-gallery-thumbnail2.jpg" class="img-border" /></a></li>
    <li class="artist-gallery a"><a href="potta-large3.html" rel="lightbox"><img src="images/slices/gallery/potta-gallery-thumbnail3.jpg" class="img-border" /></a></li>
    </div>
    I have tried renaming the html files and the image names and there is still no change.
    Last edited by Emmanize; 05-21-2009, 07:47 PM.


  • #2
    Originally posted by Emmanize View Post
    I am trying to install the “Lightbox image viewer” I have done everything it has asked me to do but its not working....I have tried renaming the html files and the image names and there is still no change.
    You haven't done everything the instructions at Dynamic Drive ask you to do. Reread everything—neither the instructions nor the examples provided indicate that you should be linking to html files, only that the <img> tag should reference a thumbnail or text link, and the <a> tag should reference the image you want to show.

    Digi
    The world is divided into people who think they are right.
    —Anonymous

    Comment


    • #3
      Your not linking to the right destination.

      Even without the Lightbox add-on, your code is not correct. And I believe that you are 2 .js files short of a full deck (depending upon the lightbox you downloaded).
      Professional Pixel Pusher — Designing the world around you. | Working daily to reach 10,000 hours of practice.

      Comment


      • #4
        Yeah I know what I did wrong. I was linking to the page not the image itself. Just shows you if you over use something you can end up still getting it wrong.

        Comment


        • #5
          Sorry to go off-topic, but those lightboxes are so frickin' annoying to me. I remember when web designers used to shun a simple, unobtrusive pop-up window, and now we embrace a pop-up image viewer which takes forever to load and hijacks your screen to block out everything else. I think we're going backwards, personally.
          Ned Yeung, A.C.E.
          mediamainline.com
          cyclopsphoto.ca

          Comment


          • #6
            Em, your code is still not valid.
            Professional Pixel Pusher — Designing the world around you. | Working daily to reach 10,000 hours of practice.

            Comment


            • #7
              I kind of like them Ned. I don't seem to have any issues with load times though.

              Comment


              • #8
                I have validated it and there weren’t any errors apart from all my comments in the html, and it is working fine now. What part are you talking about?

                Comment


                • #9
                  li(list item) may only be a direct child of a ul(unordered list) or ol(ordered list).

                  http://www.w3.org/TR/html401/struct/lists.html
                  Last edited by tZ; 05-25-2009, 09:43 AM.

                  Comment


                  • #10
                    Ah yes. I know. Thats a bit of a bad habbit i have got into when learning css. Is it ok to add classes onto the ul tag as i may need multiple styles.

                    Comment


                    • #11
                      Why add classes to the <ul> tag, you aren't even using one?
                      Professional Pixel Pusher — Designing the world around you. | Working daily to reach 10,000 hours of practice.

                      Comment


                      • #12
                        Originally posted by Emmanize View Post
                        Ah yes. I know. Thats a bit of a bad habbit i have got into when learning css.
                        Bad Habit? Um, yeah, see the problem with this statement is that it's not a bad habit, and really doesn't have much to do with CSS. Its from not learning to write proper HTML. This is a web design BASIC - EVERY web designer should know how to write a stupid list. Sorry but your feeding a terrible excuse!

                        It seems to me like you need to make time to go over the basics again, read things more carefully. Slow down and proof your work better, you make a lot of careless mistakes, which is not only apparently in your code, but also in regards to the types of issues you end up having and needing help on.

                        This lightbox should be a cakewalk if you just slow down, read the documentation that comes with it, and then proof your code!
                        | Valerie |
                        "Make sure the fortune that you seek is the fortune that you need"
                        -Ben Harper

                        Comment


                        • #13
                          I am sorry but I think your comment is quite harsh. I am fed up of coming onto this site for advice to be shot down all of the time. Yes I make some careless mistake (who doesn’t) but I work constantly. I have currently been working on a site for the past 30 hrs with little sleep, and believe it or not your brain gets tired. Slow down? Have you ever worked to a tight deadline before? I have had sites that have needed to go live in days, hours even. I don’t do bad at all considering. Unfortunately not all clients give you time to slow down and when you know you’re against time you can slip up…even forget things. What makes you think i don't know how to write a list? Because i didn't include the <ul> tag? I would say that is me short handing the code, getting it to look right and add everything else in later. I do that sometimes when quickly writing code. I am also dyslexic, and that is not an excuse but it doesn’t help. I don’t think ill bother asking for help anymore, I am fed up of the response and being made to feel like some idiot when really I am only a human being. I am not a geek or book worm I just taught myself and I am out there doing it. So I shouldn’t be spoken to like that.
                          Last edited by Emmanize; 05-26-2009, 11:25 PM.

                          Comment


                          • #14
                            You might be miffed at VHL, but I agree with what she has said.
                            Professional Pixel Pusher — Designing the world around you. | Working daily to reach 10,000 hours of practice.

                            Comment

                            Mediabistro A division of Prometheus Global Media home | site map | advertising/sponsorships | careers | contact us | help courses | browse jobs | freelancers | content | member benefits | reprints & permissions terms of use | privacy policy Copyright © 2014 Mediabistro Inc. call (212) 389-2000 or email us
                            Working...
                            X