0
Welcome Guest! Login
0 items Join Now

RokBox not resizing in Chrome/Safari

  • RokBox not resizing in Chrome/Safari

    Posted 10 years 1 month ago
    • Hi,

      Two RokBox issues:

      1. RokBox is resizing nicely for me in Firefox but is staying static for me in Chrome and Safari.

      2. I would like to set the height of RokBox to 90% of the available height... or at least something more than is currently being calculated as the thumbnails in my slider are getting chopped off and it doesn't look too clean, is this achieveable?

      Cheers,
      Ed
    • Last Edit: 10 years 1 month ago by Edward Benn.
    • Matt's Avatar
    • Matt
    • Preeminent Rocketeer
    • Posts: 22104
    • Thanks: 3200
    • messin' with stuff

    Re: RokBox not resizing in Chrome/Safari

    Posted 10 years 1 month ago
    • Looks fine to me in Chrome...

      Your slider calculates and sets a static width... therefore it's not going to dynamically resize but it should work fine on page load... or at least it seems to be working fine for me when I resize my browser, refresh the page, and click on a rokbox link...

      describe how you're producing the issue, take a screen shot, and detail what version of Chrome on what OS you're using...
    • SEARCH the forum first! These boards are rich in knowledge and vast in topics. This includes searching just the 'Solved' forums, using Google, and using ChatGPT :woohoo:
  • Re: RokBox not resizing in Chrome/Safari

    Posted 10 years 1 month ago
    • Matt's Avatar
    • Matt
    • Preeminent Rocketeer
    • Posts: 22104
    • Thanks: 3200
    • messin' with stuff

    Re: RokBox not resizing in Chrome/Safari

    Posted 10 years 1 month ago
    • Edward Benn wrote:
      Here you can see the different effect of starting with a full width window and resizing dynamically

      99.9% of users aren't going to be resizing their screen/window... particularly after loading a pop-up... and those that do (really desktop users only) tend to make small adjustments at the most... as web designers, sure, we do it all the time in testing, but to be accurate you should always refresh the page (and change the user agent when testing for phones) at each width you want to test.

      I don't see anywhere in the R.B. documentation that refers to dynamic resizing, and I see that it's a nice feature in Mozilla, etc. but it's hard for me to see this as a bug/issue if I'm being honest.
    • SEARCH the forum first! These boards are rich in knowledge and vast in topics. This includes searching just the 'Solved' forums, using Google, and using ChatGPT :woohoo:
  • Re: RokBox not resizing in Chrome/Safari

    Posted 10 years 1 month ago
    • DanG's Avatar
    • DanG
    • Preeminent Rocketeer
    • Posts: 36750
    • Thanks: 3229
    • Custom work done

    Re: RokBox not resizing in Chrome/Safari

    Posted 10 years 1 month ago
    • A little test to see where the issue lies. This is our RokBox demo page - Image - Manual Thumbnail with no iFrames involved.

      With Chrome->latest, sized for a apple Iphone6:

      This image is hidden for guests.
      Please log in or register to see it.




      Then with Firefox->34, sized for a apple Iphone6:

      This image is hidden for guests.
      Please log in or register to see it.


      As you can see items #1-3 are identical as the image size is the same on both platforms.

      This would lead me to believe, as Matt as alluded to, that this is an iFrame issue with your slider and not RokBox itself.
  • Re: RokBox not resizing in Chrome/Safari

    Posted 10 years 1 month ago
    • Hi Dan, thanks for your reply. Yes, this is the behaviour I am expecting which isn't happening with my installed instance of RokBox. There must be some kind of conflict somewhere.

      I don't think it can be blamed on the Slider though, for the simple reason that it is happening on normal content also, there is no Slider in this piece of content:

      Using the example of "News->Lufthansa A340-600" you can see the same thing is happening to plain content with nothing more than an image and text. So it can't be the slider causing the issue:
      www.dropbox.com/s/ud1i0xe359e8lir/Screen...%2023.40.00.png?dl=0

      (just a quick note, to expand the content with RokBox click the image not the "+", I'm testing with JCE Mediabox too so the "+" link will acticate that)
    • Last Edit: 10 years 1 month ago by Edward Benn.
    • Matt's Avatar
    • Matt
    • Preeminent Rocketeer
    • Posts: 22104
    • Thanks: 3200
    • messin' with stuff

    Re: RokBox not resizing in Chrome/Safari

    Posted 10 years 1 month ago
    • I couldn't get it to work in testing... but I still think this might fix it...

      try adding this custom css:
      iframe {
      max-width: 100% !important;
      }
    • The following users have thanked you: Edward Benn

    • SEARCH the forum first! These boards are rich in knowledge and vast in topics. This includes searching just the 'Solved' forums, using Google, and using ChatGPT :woohoo:
    • Matt's Avatar
    • Matt
    • Preeminent Rocketeer
    • Posts: 22104
    • Thanks: 3200
    • messin' with stuff

    Re: RokBox not resizing in Chrome/Safari

    Posted 10 years 1 month ago
    • This message contains only secure information that is visible to Matt, moderators and administrators
    • SEARCH the forum first! These boards are rich in knowledge and vast in topics. This includes searching just the 'Solved' forums, using Google, and using ChatGPT :woohoo:
    • DanG's Avatar
    • DanG
    • Preeminent Rocketeer
    • Posts: 36750
    • Thanks: 3229
    • Custom work done

    Re: RokBox not resizing in Chrome/Safari

    Posted 10 years 1 month ago
    • Edward Benn wrote:
      Hi Dan, thanks for your reply. Yes, this is the behaviour I am expecting which isn't happening with my installed instance of RokBox. There must be some kind of conflict somewhere.

      I don't think it can be blamed on the Slider though, for the simple reason that it is happening on normal content also, there is no Slider in this piece of content:

      Using the example of "News->Lufthansa A340-600" you can see the same thing is happening to plain content with nothing more than an image and text. So it can't be the slider causing the issue:
      www.dropbox.com/s/ud1i0xe359e8lir/Screen...%2023.40.00.png?dl=0

      (just a quick note, to expand the content with RokBox click the image not the "+", I'm testing with JCE Mediabox too so the "+" link will acticate that)

      Can you try disabling JCE Mediabox to make sure there are no conflicts with RokBox. Also take a look here -> http://www.rockettheme.com/docs/joomla/extensions/rokbox/how_to_use.md#data-rokbox-size don't know if would help but worth a shot.

Time to create page: 0.056 seconds