Jump to content


Photo

fancybox: "Avoid jumping" / wanting to give it a fixed value / alternatives?


  • Please log in to reply
3 replies to this topic

#1 carend

carend

    Newbie

  • Members
  • Pip
  • 3 posts
  • Country: Country Flag

Posted 01 August 2011 - 06:41 PM

Hi there, 1. I want to open the fancybox with a fixed top value. see: http://www.richmedia.../test-fanybox-2 We added the following in on show event: function() { jQuery("#fancy_outer").css({'top':'20px', 'bottom':'auto'}); } But then you see it jumping. Can I avoid this, and give a default position? -Centered, but fixed from top? 2. Generally I was looking for a/any lightbox that is capable of (dynamically) displaying... - pics, text, video portal content and - content like under http://richmediafact...eacba3bd924f21d Any recommendations which lightbox to use/prefer over fancybox pls.? Thx in advance & kind regards from Frankfurt Christian carend@richmediafactory.com

#2 catrina

catrina

    Advocate

  • Members
  • 12345 posts
  • LocationCalifornia
  • Country: Country Flag

Posted 02 August 2011 - 02:16 AM

You can try adding a position parameter. For example:
 ]'position':'fixed',

I think the plugin Floatbox allows you to display video content, but I'm not sure about the text.

#3 carend

carend

    Newbie

  • Members
  • Pip
  • 3 posts
  • Country: Country Flag

Posted 14 August 2011 - 11:20 AM

Hi Catrina, thx 4 help and sorry for late reply. We will go with floatbox which is quite flexible & works as desired ;-) Take care - Christian

#4 catrina

catrina

    Advocate

  • Members
  • 12345 posts
  • LocationCalifornia
  • Country: Country Flag

Posted 14 August 2011 - 03:12 PM

Okay, cool beans.