Incorrect Size

stas708's Avatar

stas708

26 Nov, 2012 10:18 PM

I am using the video gallery example, but when the page loads, the content is cut in half until I resize the browser. I know that you can normally solve this by using $(window).load instead of $(document).ready, but I am using jquery to load a div containing the slider after the page has finished loading so $(window).load is no longer called. How can I fix this?

Just for clarification, the attached file is loaded with:

function setContent(pageid) {
    var url = WJSNavWheel.links.linkurls[pageid];
    WJSNavWheel.selectedLink = pageid;
    $content.empty();
    $content.load(url);
}
  1. Support Staff 1 Posted by Dmitry Semenov on 27 Nov, 2012 08:04 AM

    Dmitry Semenov's Avatar

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Already uploaded files

  • howto.html 1.1 KB

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac