Comments (7)
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.' <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.
HTMLy is very easy to hack, eh? 😄
from htmly.
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.
hack = change something get better, 👍
from htmly.
Wow , coool.. ! how about using http://harvesthq.github.io/chosen/ to make it some awesome :)
from htmly.
@ncang no silly, thats called "modding" (i.e. moding a game makes it better, hacking a game to cheat/pirate ) hehehe
from htmly.
@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)
- 404 not found when submitting installation form HOT 2
- Parse error: syntax error, unexpected '?' while installing htmly 2.8.3 on PHP < 7.0 HOT 5
- [v2.8.4] List of posts shows wrong character encoding HOT 4
- Text "Tag" in "Add content" and "Edit" page is not translatable HOT 2
- PHP-INTL date format HOT 3
- Unsorted categories list in admin views HOT 3
- An idea: Is it possible to labelize all the fields? HOT 2
- Comment Slug HOT 13
- Just installed, nice app but... HOT 16
- Add Content To Sidebar HOT 5
- Some issues after the new installation HOT 12
- What need to be done to display rtl language (such as Arabic or Hebrew) HOT 1
- RSS import failed HOT 3
- How to customize <title></title> HOT 12
- php-Warning in admin/updates HOT 2
- Can't edit or delete posts HOT 8
- Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string HOT 3
- Known issue: Does not support underscore character in username HOT 1
- Version 2.9.0 - i18n error HOT 11
- Looking to override some css HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from htmly.