Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Gallery Thumbs off placement…

  • This topic is empty.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #42889
    only1tuz
    Participant

    The Gallery Thumbnails are off set and when I hit the menu for gallery a second time they line up correctly… How/Can this issue get fixed?

    Also if your refreash the page it is off set again…

    The URL is
    http://tuzart.com/deluca/pages/gallery5.htm

    The gallery is “FancyGallery”

    Thank you in advance for any Help on this issue…

    #125588
    only1tuz
    Participant

    I’ll give it a look and see… Thank You…

    #125620
    Alen
    Participant

    You have inline style on your images:

    #125634
    only1tuz
    Participant

    I tried the style’s but didn’t work it didn’t do anything at all… It must be in the jquery/JS

    #125648
    only1tuz
    Participant

    adding the didn’t work… I did find out that line 17 in the “jquery-fancygallery-1.1.min.js” file is an area w/an area that manipulates the boxes and colour and sizes… but can not find the placement issues…

    Array.prototype.shuffle=function(){for(var p,n,l=0;l

    #125654
    Alen
    Participant

    Reconsider the way you’re approaching this problem. You should not depend on JavaScript to create DOM elements and apply correct styles. You need to separate each into its own layer. HTML = Mark up & Content, CSS = Presentation, and JS = Interaction (Altering CSS and Adding HTML is OK, but after correct design has been rendered).

    This way you would know exactly how each element in your layout would behave.

    The java script is adding inline styles. It looks like the plug-in [is calculating surrounding elements](http://farm9.staticflickr.com/8234/8497494094_8e45d7266e_o.png) and applying styles.

    or

    [Fancybox](http://fancyapps.com/fancybox/).

    #126356
    only1tuz
    Participant

    I am trying to get support from Fancybox…. I believe they are out till sometime in March… Hopefully they will resolve this issue…

    Thank You for everyones help on this…

Viewing 7 posts - 1 through 7 (of 7 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.