Forum Replies Created

Viewing 4 replies - 46 through 49 (of 49 total)
  • Thread Starter Runtheball

    (@eisenbart)

    Can anyone tell me how to embed Google Calendar so that it works within WordPress on IE7&8?

    I have it working just fine in Chrome, Safari, and FF.

    Thread Starter Runtheball

    (@eisenbart)

    To further clarify, the embed code works fine on an html website. But I’m converting that site into WordPress and on a WP page the embed code doesn’t work (only in IE).

    Thread Starter Runtheball

    (@eisenbart)

    That was helpful, thank you. But I still couldn’t get the main issues resolved.

    Now I’m taking a new approach, making the form simpler but still trying to set a cookie when the terms are agreed to (submit button is clicked) and use that cookie to determine which menu to display. Also want the menu display to persist across pages (one menu if terms are accepted, another if not). Form should disappear after terms accepted. I think I’ve streamlined this considerably, but having a huge mental block and need help.

    The latest code bits…

    header.php…

    <?php
       if (isset($_COOKIE['tcagreed'])) {
           wp_page_menu(array('menu_class' => 'nav'));
       }
       else {
          wp_page_menu(array('menu_class' => 'nav', 'exclude' => 'Keywords' ));
       }
    ?>

    Main index template…

    <?php  
    
      if (isset ($_POST['submit'])) {
         $output_form = false;
         setcookie('tcagreed', 'agreed');
      }
    
      else {
         $output_form = true;
      }   
    
       get_header();
    ?>

    The form, now within index.php…
    <?php if($output_form) {?>
    <div id=”sidebar”>
    <!–[if IE ]–>
    <div id=”IEroot”>
    <!–[endif]–>
    <form id=”tc” action=”index.php” method=”post”>
    <table>
    <tbody>
    <tr>
    <td><input name=”submit” type=”submit” value=”I accept the Terms and Conditions” /></td>
    </tr>
    </tbody>
    </table>
    </form>
    <p class=”vertspacer”></p>
    <!–[if IE ]–>
    </div>
    <!–[endif]–>
    </div>
    <?php }?>

    If I can get the darned form to display, and the menu to change after the form submit button is pushed, I’ll figure out the session info myself.

    Thread Starter Runtheball

    (@eisenbart)

    I can’t help thinking that if I could get the .postmetadata to clear the floating sidebar, all would be fixed. This happens in FF and IE8, but not in earlier versions of IE.

Viewing 4 replies - 46 through 49 (of 49 total)