Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Web Design (WordPress, Joomla, etc.) Unexpected layout problem when flashVars inserted – Help!

  • Unexpected layout problem when flashVars inserted – Help!

    Posted by Clint Milner on August 4, 2008 at 8:44 am

    https://www.alpha-duplication.com/adl_wip
    is my new website I’m building which includes a Flash navigation bar on the left side.

    As you can see, the sub-menus in the Data Services section are correct.

    On the other links, I’ve needed to add some flashVar information to the header tags so the menu stays open. Under Technical Info, if you click on Glossary, you can see that the flashVars are working because the menu stays open, but for some reason, the whole right side is pushed down. Can anyone view my source and maybe tell me why this might be happening? I’ve commented out the flashVar JS in the html, and this solves the problem, but I need the flashVars working.

    Here is my AS2.0 code:

    //FlashVar code
    if(_level0.referringPage != null){
    var referringPage = _level0.referringPage;
    switch(referringPage){
    case “about_alpha”:
    aboutAlpha();
    break;
    case “print_services”:
    printServices();
    break;
    case “technical_info”:
    technicalInfo();
    break;
    case “packaging”:
    packaging();
    break;
    }

    }

    Many thanks,
    Clint Milner

    Clint Milner replied 17 years, 9 months ago 2 Members · 2 Replies
  • 2 Replies
  • Curtis Thompson

    August 5, 2008 at 4:14 pm

    hello…

    hmm – all seems to be working on the site as advertised – did you figure it out or am i just not seeing the problem correctly?

    sitruc

  • Clint Milner

    August 5, 2008 at 4:45 pm

    I did finally get it figured out, thanks for all the help from all the forums.

    Basically, I created 2 wrapper div’s, one around the navBar and one around the entire main content, and then they could both be floated left, and it sorted itself out.

    Thanks again,
    Clint

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy