-
-
Notifications
You must be signed in to change notification settings - Fork 259
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tag List Suggestions? #48
Comments
Here we go 👍 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>';
*/ |
HTMLy is very easy to hack, eh? 😄 |
Hack? It's open source. No hacking required. Lol
|
hack = change something get better, 👍 |
Wow , coool.. ! how about using http://harvesthq.github.io/chosen/ to make it some awesome :) |
@ncang no silly, thats called "modding" (i.e. moding a game makes it better, hacking a game to cheat/pirate ) hehehe |
@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. |
Ya Ya,I am probably the only one with a massive tag list :-P
That said, anyone have a way to make this into a drop down menu style?
I can write it myself, just tell me what file I need to edit (too lazy to look right now) heheheh
The text was updated successfully, but these errors were encountered: