Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Page 1 of 4 1 2 3 ... LastLast
Results 1 to 10 of 33
  1. #1
    Senior Member BallardStudio's Avatar
    Join Date
    Jul 2011
    Posts
    143
    Member #
    28552
    Liked
    6 times
    I've been trying to apply Captify jQuery into my webpage and have been having a problem. Below is what I have in the <head>
    <script src="../js/prototype.js" type="text/javascript"></script>
    <script src="../js/scriptaculous.js?load=effects,builder" type="text/javascript"></script>
    <script src="../js/lightbox.js" type="text/javascript"></script>
    [COLOR=rgb(0, 0, 255)] <script src="../js/captify.tiny.js" type="text/javascript"></script>[/COLOR]
    [COLOR=rgb(0, 0, 255)] <script src="../js/captify.tiny.js" type="text/javascript"></script>[/COLOR]
    [COLOR=rgb(0, 0, 255)] <script src="../js/jquery.js" type="text/javascript"></script>[/COLOR]
    <script type="text/javascript">
    $(function(){
    $('img.captify').captify({});
    });
    </script>

    My image tags look like this:
    <td width="138"><a href="../images/aw_gaf_harley_promo.jpg" rel="lightbox" title="Harley-Davidson Promotion | GAF Materials Corporation | Concept"><img src="../images/aw_gaf_harley_promo_thumb.jpg" [COLOR=rgb(0, 0, 255)]class="captify" [/COLOR]alt="GAF-Harley Promotion-Ballard Studio" width="120" height="155" border="0" /><br />
    </a></td>

    The javascript is too long to post. Any ideas as to why the page wouldn't be posting correctly? If more info is needed, please let me know.
    I'm an art director crossing paths between print and web design.
    http://www.ballardstudio.com

  2.  

  3. #2
    WDF Staff AlphaMare's Avatar
    Join Date
    Oct 2009
    Location
    Montreal, Canada
    Posts
    4,570
    Member #
    20277
    Liked
    878 times
    Quote Originally Posted by BallardStudio, post: 215700
    I've been trying to apply Captify jQuery into my webpage and have been having a problem. Below is what I have in the <head>
    <script src="../js/prototype.js" type="text/javascript"></script>
    <script src="../js/scriptaculous.js?load=effects,builder" type="text/javascript"></script>
    <script src="../js/lightbox.js" type="text/javascript"></script>
    [COLOR=rgb(255, 0, 0)] <script src="../js/captify.tiny.js" type="text/javascript"></script>[/COLOR]
    [COLOR=rgb(255, 0, 0)] <script src="../js/captify.tiny.js" type="text/javascript"></script>[/COLOR]
    [COLOR=rgb(0, 0, 255)] <script src="../js/jquery.js" type="text/javascript"></script>[/COLOR]
    <script type="text/javascript">
    $(function(){
    $('img.captify').captify({});
    });
    </script>

    My image tags look like this:
    <td width="138"><a href="../images/aw_gaf_harley_promo.jpg" rel="lightbox" title="Harley-Davidson Promotion | GAF Materials Corporation | Concept"><img src="../images/aw_gaf_harley_promo_thumb.jpg" [COLOR=rgb(0, 0, 255)]class="captify" [/COLOR]alt="GAF-Harley Promotion-Ballard Studio" width="120" height="155" border="0" /><br />
    </a></td>

    The javascript is too long to post. Any ideas as to why the page wouldn't be posting correctly? If more info is needed, please let me know.
    It would help to know what the exact problem is - "not displaying properly" is pretty vague. Is the page online somewhere we could look at it?

    At a guess, it may have something to do with the part I've highlighted in red above - you are calling the same script twice - why?
    Good design should never say "Look at me!"
    It should say "Look at this." ~ David Craib


    http://digitalinsite.ca ~ my current site . . info@digitalinsite.ca ~ my email

    If you feel that someone's post helped you fix your problem, answered your question, or just made you feel better, feel free to "Like" their post. The "Like" link is at the bottom right of each post, along side the "reply" link. And if you are being helped here, try to help someone else - pass it on!

  4. #3
    Senior Member BallardStudio's Avatar
    Join Date
    Jul 2011
    Posts
    143
    Member #
    28552
    Liked
    6 times
    Here's a link to the site:
    http://thirdroute.com/projects/captify/
    I'm an art director crossing paths between print and web design.
    http://www.ballardstudio.com

  5. #4
    WDF Staff AlphaMare's Avatar
    Join Date
    Oct 2009
    Location
    Montreal, Canada
    Posts
    4,570
    Member #
    20277
    Liked
    878 times
    Quote Originally Posted by BallardStudio, post: 215704
    Here's a link to the site:
    http://thirdroute.com/projects/captify/
    I don't see the captions malfunctioning - what exactly is the problem?
    Good design should never say "Look at me!"
    It should say "Look at this." ~ David Craib


    http://digitalinsite.ca ~ my current site . . info@digitalinsite.ca ~ my email

    If you feel that someone's post helped you fix your problem, answered your question, or just made you feel better, feel free to "Like" their post. The "Like" link is at the bottom right of each post, along side the "reply" link. And if you are being helped here, try to help someone else - pass it on!

  6. #5
    Senior Member BallardStudio's Avatar
    Join Date
    Jul 2011
    Posts
    143
    Member #
    28552
    Liked
    6 times
    There is no function whatsoever. I tested it in both Firefox and Safari locally. I was going to make the page live to see if that made a difference, but wasn't sure if that was worth it.
    I'm an art director crossing paths between print and web design.
    http://www.ballardstudio.com

  7. #6
    Senior Member BallardStudio's Avatar
    Join Date
    Jul 2011
    Posts
    143
    Member #
    28552
    Liked
    6 times
    Sorry about the confusion. I didn't get a notification about your previous posts. Here's the page I'm trying to get it to work on.

    http://www.ballardstudio.com/ballard...uery_test.html
    I'm an art director crossing paths between print and web design.
    http://www.ballardstudio.com

  8. #7
    Senior Member BallardStudio's Avatar
    Join Date
    Jul 2011
    Posts
    143
    Member #
    28552
    Liked
    6 times
    Here's the new head, deleting the error:

    <script src="../js/prototype.js" type="text/javascript"></script>
    <script src="../js/scriptaculous.js?load=effects,builder" type="text/javascript"></script>
    <script src="../js/lightbox.js" type="text/javascript"></script>
    <script src="../js/captify.tiny.js" type="text/javascript"></script>
    <script src="../js/captify.js" type="text/javascript"></script>
    <script src="../js/jquery.js" type="text/javascript"></script>
    <script type="text/javascript">
    $(function(){
    $('img.captify').captify({});
    });
    </script>
    I'm an art director crossing paths between print and web design.
    http://www.ballardstudio.com

  9. #8
    Senior Member DanExcell's Avatar
    Join Date
    Jul 2011
    Posts
    422
    Member #
    28663
    Liked
    76 times
    Using multiple javascript libraries could be the problem. This means you might have to use JQuery in a no conflict way ($Jquery as oppose to just calling on it as $). What I would like to know what you are using Prototype and scriptaculous for and can you use JQuery for it instead. It's a strong possibility that you might have the different libraries fighting the same "$" tag.
    I have gotten into the habit of not judging other designers/developers work, but this is my Microsoft Meandering time so I'm MEANDERING...

    Oh, almost forgot: spammers are gender-less parasites...

  10. #9
    Senior Member BallardStudio's Avatar
    Join Date
    Jul 2011
    Posts
    143
    Member #
    28552
    Liked
    6 times
    This is going above my head now. Let me explain...

    I am using jQuery Lightbox for the images on my portfolio page. http://www.ballardstudio.com/ballard...portfolio.html. So once you click on an image, it goes into Lightbox for the presentation (That's another problem. Lightbox isn't showing the previous and next buttons. Might be part of the conflict). Prototype and Scriptaculous were supplied to run Lightbox. I thought they were necessary.

    Once I saw Captify, I wanted to use it for my thumbnail images to show a description before the image opened. So when I tried to apply both, that's when the problem occurred.
    I'm an art director crossing paths between print and web design.
    http://www.ballardstudio.com

  11. #10
    Senior Member BallardStudio's Avatar
    Join Date
    Jul 2011
    Posts
    143
    Member #
    28552
    Liked
    6 times
    I also tried a standalone page (below) and I still can't get this to work. What I did different is added the java script to the head section (recommended on http://thirdroute.com/projects/captify/) The image appears correctly, but no sliding window appearing from the image.


    <!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=UTF-8" />
    <title>Untitled Document</title>
    <link rel="stylesheet" type="text/css" href="../sample.css" />
    <script src="../js/captify.tiny.js" type="text/javascript"></script>
    <script src="../js/jquery.js" type="text/javascript"></script>
    <script type="text/javascript">
    $(function(){
    $('img.captify').captify({
    // all of these options are... optional
    // ---
    // speed of the mouseover effect
    speedOver: 'fast',
    // speed of the mouseout effect
    speedOut: 'normal',
    // how long to delay the hiding of the caption after mouseout (ms)
    hideDelay: 500,
    // 'fade', 'slide', 'always-on'
    animation: 'slide',
    // text/html to be placed at the beginning of every caption
    prefix: '',
    // opacity of the caption on mouse over
    opacity: '0.7',
    // the name of the CSS class to apply to the caption box
    className: 'caption-bottom',
    // position of the caption (top or bottom)
    position: 'bottom',
    // caption span % of the image
    spanWidth: '100%'
    });
    });
    </script>
    </style>
    </head>
    <a href="http://www.ballardstudio.com"><img src="logo.gif" class="captify" rel="Logo Test" /></a>
    <body>
    </body>
    </html>
    I'm an art director crossing paths between print and web design.
    http://www.ballardstudio.com


Page 1 of 4 1 2 3 ... LastLast

Remove Ads

Posting Permissions

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

Search tags for this page

captify jquery

Click on a term to search for related topics.
All times are GMT -6. The time now is 05:14 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com