Search Box - Syndication - Age of Conan Database - AoC - aoc.yg.com

Age of Conan : Search Box Syndication
 

Age of Conan Search Box

Get instant access to Age of Conan items, quests, spells, zones, and more using our search tool. Follow the easy steps below to use our AoC search box on your site:
1. Choose from our search box designs and copy the code provided. Make sure you copy everything including the <script> tags.
2. Paste the code that you copied somewhere within the <body> tag in your site and you're done! Users in your site can now search our database using the search box.
Optional:
1. If you want the search results to appear in a new window, just change YG.Search.OpenNewWindow = false; to YG.Search.OpenNewWindow = true;
2. If your website uses a global form (such as GuildPortal), you may be unable to use the default setting. To use the JavaScript form, change YG.Search.UseJavaScript = false; to YG.Search.UseJavaScript = true;
YG AoC Search Boxes
Type 1: 120px by 100px
<script src="http://aoc.yg.com/tools/yg_searchbox.js"></script>
<script>
     YG.Search.Type = 1;
     YG.Search.Lang = 'de';
     YG.Search.UseJavaScript = false;
     YG.Search.OpenNewWindow = false;
     YG.Search.Get();
</script>
Type 2: 160px by 125px
<script src="http://aoc.yg.com/tools/yg_searchbox.js"></script>
<script>
     YG.Search.Type = 2;
     YG.Search.Lang = 'de';
     YG.Search.UseJavaScript = false;
     YG.Search.OpenNewWindow = false;
     YG.Search.Get();
</script>
Type 3: 480px by 22px



<script src="http://aoc.yg.com/tools/yg_searchbox.js"></script>
<script>
     YG.Search.Type = 3;
     YG.Search.Lang = 'de';
     YG.Search.UseJavaScript = false;
     YG.Search.OpenNewWindow = false;
     YG.Search.Get();
</script>
Type 4: 189px by 44px




<script src="http://aoc.yg.com/tools/yg_searchbox.js"></script>
<script>
     YG.Search.Type = 4;
     YG.Search.Lang = 'de';
     YG.Search.UseJavaScript = false;
     YG.Search.OpenNewWindow = false;
     YG.Search.Get();
</script>
Customizable: If you prefer not to use our pre-defined search box styles and want to be creative by styling our search tool.



 <script src="http://aoc.yg.com/tools/yg_searchbox.js"></script>
 <script>
      YG.Search.Lang = 'de';
      YG.Search.UseJavaScript = false;
      YG.Search.OpenNewWindow = false;
      YG.Search.Styles = {
 		SearchWrapper: 'your_own_css_class',
		SearchInput: 'your_own_css_class',
		SearchButton: 'your_own_css_class',
		SearchButtonText: 'your_preferred_text'
      }
      YG.Search.Get();
 </script>
Parameters Definition:
You can use the parameters below to define your own CSS class names and customize your YG Search Box's style.

: Allows you to customize the main search box container by defining your own CSS rules for width, height, background color/image, border, and so on.
: Allows you to define your own CSS rules for the search input box.
: Allows you to customize the CSS for the search button.
: Allows you to change the text of the search button. If you want to remove the text found within the search button, keep this parameter empty.
Note: Setting will overwrite any custom styles applied to the search box because the parameter handles our own pre-defined styles.
 

Search to specific list pages
You can use this parameter if you want to search to a specific list page only ex: spells
YG.Search.SearchPage = 'object_type';
Object types:
- items
- spells
- combos
- quests
Sample ():
 <script src="http://aoc.yg.com/tools/yg_searchbox.js"></script>
 <script>
      YG.Search.Type = 1;
      YG.Search.SearchPage = 'spells';
      YG.Search.Lang = 'de';
      YG.Search.UseJavaScript = false;
      YG.Search.OpenNewWindow = false;
      YG.Search.Get();
 </script>
Note: If this parameter is not set, the search box tool will use the default search results page.