Giter Site home page Giter Site logo

Tag List Suggestions? about htmly HOT 7 CLOSED

danpros avatar danpros commented on May 18, 2024
Tag List Suggestions?

from htmly.

Comments (7)

klyxmaster avatar klyxmaster commented on May 18, 2024

Here we go 👍
system/functions.php
line 646

    ksort($tag_collection);

        echo '<h3>Game Genre</h3>';
        ?>
        <select onchange="this.options[this.selectedIndex].value && (window.location = this.options[this.selectedIndex].value);">
            <option value="">Select Genre...</option>
            <?php
                foreach ($tag_collection as $tag => $count)
                {
                    echo '<option value="'.site_url().'tag/'.$tag.'" style="font-size:14px;">'.$tag.'&nbsp;<span class="count">(' . $count . ')</span></option>';
                }
            ?>
        </select>
        <?php
        /*
        echo '<ul class="taglist">';
            foreach ($tag_collection as $tag => $count){
            echo '<li class="item"><a href="' . site_url() . 'tag/' . $tag . '">' . $tag . '</a> <span class="count">(' . $count . ')</span></li>';
        }
        echo '</ul>';
        */

from htmly.

danpros avatar danpros commented on May 18, 2024

HTMLy is very easy to hack, eh? 😄

from htmly.

klyxmaster avatar klyxmaster commented on May 18, 2024

Hack? It's open source. No hacking required. Lol
On Jun 2, 2014 3:36 AM, "Danang Probo Sayekti" [email protected]
wrote:

HTMLy is very easy to hack, eh? [image: 😄]


Reply to this email directly or view it on GitHub
#48 (comment).

from htmly.

ncang avatar ncang commented on May 18, 2024

hack = change something get better, 👍

from htmly.

fahmi182 avatar fahmi182 commented on May 18, 2024

Wow , coool.. ! how about using http://harvesthq.github.io/chosen/ to make it some awesome :)

from htmly.

klyxmaster avatar klyxmaster commented on May 18, 2024

@ncang no silly, thats called "modding" (i.e. moding a game makes it better, hacking a game to cheat/pirate ) hehehe

from htmly.

klyxmaster avatar klyxmaster commented on May 18, 2024

@fahmi182 jquery is an overkill these days. I chose the simple drop down because I WANT users to see the many genres of games are available. The one you propose are for drop downs where users KNOW what they want - ergo their country selection. For example, some people may not know there are "Book" games, or "Ricochet" games, so they would not type it in.
With that said, the examples shown there, can be done with php/html without the heavy overhead of jquery.

from htmly.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.