SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Addict
    Join Date
    Aug 2009
    Posts
    231
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Couple JS questions for website theme

    Hello there,

    I am needing to accomplish a couple items on my site: www.scotbarchitects.com/portfolio.

    1. when you select a project image and it is shown in the fancybox I want to be able to click outside the content to close it. I cannot seem to find where in my jquery.fancybox-1.3.4.js file to change it.
    2. I also am curious if I can add a div and a onHover rule that will slide the gallery images to the right when overing over the div on the right section rather than needing to scroll the bar. Same goes for the left when the user scrolls right so they can scroll back. Is this possible?

    Thanks in advance,
    Lorne

  2. #2
    Grüße aus'm Pott gold trophysilver trophybronze trophy
    Pullo's Avatar
    Join Date
    Jun 2007
    Location
    Germany
    Posts
    5,938
    Mentioned
    214 Post(s)
    Tagged
    12 Thread(s)
    Hi,

    Regarding point one: how are you using Fancybox? As a Wordpress plugin? If so, can you let me know exactly which package you installed.

  3. #3
    SitePoint Addict
    Join Date
    Aug 2009
    Posts
    231
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hey Pullo,

    No this is not a wordpress plugin. It's part of the site template I am using. The js is in a folder: js/fancybox. I can send you the actual file code if you want?

  4. #4
    Grüße aus'm Pott gold trophysilver trophybronze trophy
    Pullo's Avatar
    Join Date
    Jun 2007
    Location
    Germany
    Posts
    5,938
    Mentioned
    214 Post(s)
    Tagged
    12 Thread(s)
    What would really help is a one page demo, with just one photo which displays in Fancybox when clicked.
    This way it will be a lot easier to get to the bottom of the problem (there is quite a lot going on on the page you link to in your previous post).


Tags for this Thread

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
  •