SitePoint Sponsor

User Tag List

Results 1 to 16 of 16
  1. #1
    SitePoint Member
    Join Date
    Mar 2012
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Slimbox script or light box

    I wanted to use one of following script in my site but I could not use it. It does not work in my site.

    http://www.dynamicdrive.com/dynamici...box2/index.htm

    http://www.digitalia.be/software/slimbox2


    my site

    www.egtours.com/test.php

    Can you help on it.

    Other example also available

  2. #2
    Unobtrusively zen silver trophybronze trophy
    paul_wilkins's Avatar
    Join Date
    Jan 2007
    Location
    Christchurch, New Zealand
    Posts
    14,683
    Mentioned
    99 Post(s)
    Tagged
    4 Thread(s)
    There are some 404 (not found) errors for the jquery script and the custom css.
    Programming Group Advisor
    Reference: JavaScript, Quirksmode Validate: HTML Validation, JSLint
    Car is to Carpet as Java is to JavaScript

  3. #3
    SitePoint Member
    Join Date
    Mar 2012
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I could not figure out it ?

  4. #4
    Unobtrusively zen silver trophybronze trophy
    paul_wilkins's Avatar
    Join Date
    Jan 2007
    Location
    Christchurch, New Zealand
    Posts
    14,683
    Mentioned
    99 Post(s)
    Tagged
    4 Thread(s)
    Quote Originally Posted by nepalithula View Post
    I could not figure out it ?
    Which web browser are you using?
    Programming Group Advisor
    Reference: JavaScript, Quirksmode Validate: HTML Validation, JSLint
    Car is to Carpet as Java is to JavaScript

  5. #5
    SitePoint Member
    Join Date
    Mar 2012
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I use firefox, IE8 & Google chrome

  6. #6
    Unobtrusively zen silver trophybronze trophy
    paul_wilkins's Avatar
    Join Date
    Jan 2007
    Location
    Christchurch, New Zealand
    Posts
    14,683
    Mentioned
    99 Post(s)
    Tagged
    4 Thread(s)
    Quote Originally Posted by nepalithula View Post
    I use firefox, IE8 & Google chrome
    Okay, with Google Chrome load your page, then use Ctrl+Shift+J
    You should see what it failed to load.

    With Internet Explorer use F12, go to Network, start capturing, then reload the page.
    Programming Group Advisor
    Reference: JavaScript, Quirksmode Validate: HTML Validation, JSLint
    Car is to Carpet as Java is to JavaScript

  7. #7
    SitePoint Member
    Join Date
    Mar 2012
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I just want to know step by step instruction to use these kind of script.

    Either slim box or light box.

    So far I have been using online site builder so I am not that expert. I just do copy & paste

  8. #8
    Unobtrusively zen silver trophybronze trophy
    paul_wilkins's Avatar
    Join Date
    Jan 2007
    Location
    Christchurch, New Zealand
    Posts
    14,683
    Mentioned
    99 Post(s)
    Tagged
    4 Thread(s)
    Quote Originally Posted by nepalithula View Post
    I just want to know step by step instruction to use these kind of script.
    Typically step by step instructions are provided by the script makers. Or failing that, working examples are included with it, from which you can learn what needs to be done.
    Programming Group Advisor
    Reference: JavaScript, Quirksmode Validate: HTML Validation, JSLint
    Car is to Carpet as Java is to JavaScript

  9. #9
    SitePoint Member
    Join Date
    Mar 2012
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i did & followed. But I could not make it

  10. #10
    Unobtrusively zen silver trophybronze trophy
    paul_wilkins's Avatar
    Join Date
    Jan 2007
    Location
    Christchurch, New Zealand
    Posts
    14,683
    Mentioned
    99 Post(s)
    Tagged
    4 Thread(s)
    Quote Originally Posted by nepalithula View Post
    i did & followed.
    You are still missing files from your server that the HTML page is attempting (but failing) to access.
    Programming Group Advisor
    Reference: JavaScript, Quirksmode Validate: HTML Validation, JSLint
    Car is to Carpet as Java is to JavaScript

  11. #11
    SitePoint Member
    Join Date
    Mar 2012
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Really !

    I copied all files and uploaded it. May need some customization ?

    What is these lines ?

    <a href="images/image-1.jpg" rel="lightbox-cats">image #1</a>
    <a href="images/image-2.jpg" rel="lightbox-cats">image #2</a>
    <a href="images/image-3.jpg" rel="lightbox-cats">image #3</a>

    and

    <link rel="stylesheet" href="css/slimbox2.css" type="text/css" media="screen" />

    Can I put all above lines together ?

    what is the work of above lines ? I am confused on above

  12. #12
    Unobtrusively zen silver trophybronze trophy
    paul_wilkins's Avatar
    Join Date
    Jan 2007
    Location
    Christchurch, New Zealand
    Posts
    14,683
    Mentioned
    99 Post(s)
    Tagged
    4 Thread(s)
    Quote Originally Posted by nepalithula View Post
    Can I put all above lines together ?

    what is the work of above lines ? I am confused on above
    The images are the images that will be shown in the slimbox

    The style sheet is what's used to control the presentation of how the slimbox looks.

    You can't put them together. The stylesheet needs to be in the head section of the html page, while the images need to be in the body.
    Programming Group Advisor
    Reference: JavaScript, Quirksmode Validate: HTML Validation, JSLint
    Car is to Carpet as Java is to JavaScript

  13. #13
    SitePoint Member
    Join Date
    Mar 2012
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I use soho site builder. That is online. When i want to put image i upload image and drag to the body. other hand for the custom code i save it .inc file and also upload it and again drag to body or head section.

  14. #14
    Unobtrusively zen silver trophybronze trophy
    paul_wilkins's Avatar
    Join Date
    Jan 2007
    Location
    Christchurch, New Zealand
    Posts
    14,683
    Mentioned
    99 Post(s)
    Tagged
    4 Thread(s)
    Quote Originally Posted by nepalithula View Post
    I use soho site builder.
    There is no help that I can give you for that.
    Programming Group Advisor
    Reference: JavaScript, Quirksmode Validate: HTML Validation, JSLint
    Car is to Carpet as Java is to JavaScript

  15. #15
    SitePoint Member
    Join Date
    Mar 2012
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I made changes as instructed but still does not work.

    here is the test page.

    http://egtours.com/Kalsee_Eco_Lodge_Project.php

  16. #16
    SitePoint Member
    Join Date
    Mar 2012
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Finally I got fixed it. But still I am not satisfied. I wanted to put more images as example given below but showing few images in the page.

    what kind of code shall need for that ?

    Photo Gallery example
    http://www.austinlehman.com/tours/da...-trips-100.php


Bookmarks

Posting Permissions

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