Forum Replies Created

Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter pbpersson

    (@pbpersson)

    In order to make the theme responsive to different platforms there are @media queries in the CSS file. These queries check the display capabilities of the target platform and there are statements in the CSS file to shrink appropriate web page components so the page will render properly on that device.

    If you look in the CSS file for the Twenty Eleven theme you can see these @media entries. Your child theme must contain similar entries for new web page components you might add.

    For general articles concerning this topic you can Google “Responsive CSS”

    Thread Starter pbpersson

    (@pbpersson)

    I am still looking for answers regarding this question, if anyone has any wisdom.

    Thread Starter pbpersson

    (@pbpersson)

    Does anyone have any information on this?

    Thread Starter pbpersson

    (@pbpersson)

    NeoTechnomad – I was not able to get your solution to work, and it needs to be a drop-down. Eventually it will contain a list of 200 cities and based on the state it will be routed to different pages in this web site.

    I was able to get the Javascript example to work in header.php.

    Thank you! 🙂

    Thread Starter pbpersson

    (@pbpersson)

    So I put the first part in header.php and the second part in footer.php? That sounds very confusing. I wish I could put a comment in header.php to tell people to find the code in footer.php but whenever I try to add a comment to these php files it appears on the web page.

    Thread Starter pbpersson

    (@pbpersson)

    I found an article that claimed this might work. I just want to verify that whatever I use will work in header.php

    <select name="menu1" id="menu1">
    <option value="http://www.espn.com">ESPN</option>
    <option value="http://www.cnn.com">CNN</option>
    <option value="http://www.abcnews.com">ABC</option>
    <option value="http://www.cbsnews.com">CBS</option>
    <option value="http://www.foxnews.com">FOX</option>
    </select>
    <script type="text/javascript">
     var urlmenu = document.getElementById( 'menu1' );
     urlmenu.onchange = function() {
          window.open( this.options[ this.selectedIndex ].value );
     };
    </script>
    Thread Starter pbpersson

    (@pbpersson)

    I will put that code inside header.pbp and see if it works. Thanks!

    Thread Starter pbpersson

    (@pbpersson)

    I am not trying to write to a database nor am I trying to read from a database. This is what I am trying to do:

    http://webdesign.about.com/od/javascript/f/blfaqddredirect.htm

    A drop down control has a list of values. When someone clicks on an item in the drop down, they are sent to a web site based on the URL associated with that item.

    Thread Starter pbpersson

    (@pbpersson)

    Keep in mind I have absolutely no idea what I am doing. I am trying to follow guides on the web, none of which are clear. The <select id=”company” name=”company”> item is a drop-down control that contains a list of companies. When someone clicks on a company name I need some PHP code to take the user to that web site. For instance, if they click on “Apple” then the browser takes them to http://www.apple.com.

    I have no idea how the select or the form links up with the PHP or how the fopen works. I am totally lost.

    Thread Starter pbpersson

    (@pbpersson)

    Thank you, that is closer. Now I can see the “submit the form” button but when I click on it, nothing happens.

Viewing 10 replies - 1 through 10 (of 10 total)