John Curtis

  •  ·  Premium
  • 2180 views
Add new...
 
 
·
Added a discussion

Hello. rather than just having a list or categories in my Radio app I'm trying to add a dropdown with a list of Genres (categories).

It works fine but it opens in a new tab. How can I make this open in the same tab or window. Also I would like to have the selection box be to the right of "Choose Station by Genre" instead of below.


image_transcoder.php?o=sys_images_editor&h=55&dpx=1&t=1641069150


Below is my code...


<p>Choose Station by Genre:</p>


<form name="form1">

<select name="genre" id="genre">

 <option value="default">Select</option>

 <option value="/page/station-category?category=1">60s</option>

<option value="/page/station-category?category=2">70s</option>

<option value="/page/station-category?category=3">80s</option>

<option value="/page/station-category?category=4">90s</option>

<option value="/page/station-category?category=7">Alternative</option>

<option value="/page/station-category?category=11">Blues</option> 

<option value="/page/station-category?category=16">Christmas</option>

<option value="/page/station-category?category=18">Classic Rock</option>

<option value="/page/station-category?category=21">Comedy</option>

<option value="/page/station-category?category=24">Country</option> 

</select>

<script type="text/javascript">

 var urlmenu = document.getElementById( 'genre' );

 urlmenu.onchange = function() {

     window.open( this.options[ this.selectedIndex ].value );

 };

 </script>

  • 456
    Not logged in users can't 'Comments Post'.
    ·
    Added a discussion
    • 455
      Not logged in users can't 'Comments Post'.
      ·
      Added a discussion

      @LeonidS . Below is my navigation menu with the (more) links open.The font color for the main menu (more) link is included with the Main Menu settings but the background color is included with the Popup settings. Please move the Main Menu's (more) link background color setting to be included with the Main Menu settings (not the popup settings).

      For the navigation menu I use a dark background color and white font. I would like to use the same for the (more) link in the navigation menu but the settings for the more link background color is in the popup settings. Seems like the more link for the navigation menu should be included with the navigation menu settings not the popup settings because the popup back ground color settings effect the more menus throughout the site..

      • 428
        Not logged in users can't 'Comments Post'.
        ·
        Added a discussion

        @LeonidS . Would it be possible to move the settings for the navigation menus (more) drop down menu to or somehow be included with the Main Menu settings and not be included in the popup settings? With the (more) menu being part of the main menu it does make a lot of sense to keep the settings for both together.

        I have a dark background and white font on my navigation menu and white background with dark font on the popup menus throughout the site because it's much easier to see them. Of coarse that won't work with the navigation drop down (more) settings to be included with popups settings.

        I know this is a tall order but I really hope you can make this change.

        • 412
          • Hello @John Curtis !


            I guess it would be good to have more screenshots about your idea :-) I have a feeling that I didn't get it properly.

            • @LeonidS . Below is my navigation menu with the (more) links open.The font color for the main menu (more) link is included with the Main Menu settings but the background color is included with the Popup settings. Please move the Main Menu's (more) link background color setting to be included with the Main Menu settings (not the popup settings).

              For the navigation menu I use a dark background color and white font. I would like to use the same for the (more) link in the navigation menu but the settings for the more link background color is in the popup settings. Seems like the more link for the navigation menu should be included with the navigation menu settings not the popup settings because the popup back ground color settings effect the more menus throughout the site..




              Not logged in users can't 'Comments Post'.
              ·
              Added a discussion

              @LeonidS

              When adding a poll and anonymous is selected shouldn't the comments also be anonymous for that same poll? Can this option be added in poll settings?

              • 423
              John Curtis Discussions
              Achievements

              Grand Master

              Total points: 5417.5

              2782.7 point(s) to reach
              Info
              Location:
              Silver Springs, FL, United States
              Gender:
              Man
              Friends count:
              Followers count:
              Name:
              John Curtis
              Membership
              Premium
              My Posts