Skip to content

Commit

Permalink
Added image preloading
Browse files Browse the repository at this point in the history
  • Loading branch information
Eyefyre committed May 26, 2024
1 parent 2b2ca5b commit 35b8a39
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1460,7 +1460,8 @@ <h5 id="current_heading" class="mb-0">Civilopedia Home Page</h5>
}
}
preload(
'assets/images/icon_images/icon_minus.png','assets/images/icon_images/icon_plus.png','assets/images/bottompanelbar.png', 'assets/images/category_buildings_icon.png', 'assets/images/category_buildings_icon_active.png', 'assets/images/category_citystates_icon.png', 'assets/images/category_citystates_icon_active.png', 'assets/images/category_civs_icon.png', 'assets/images/category_civs_icon_active.png', 'assets/images/category_concepts_icon.png', 'assets/images/category_concepts_icon_active.png', 'assets/images/category_congress_icon.png', 'assets/images/category_congress_icon_active.png', 'assets/images/category_great_icon.png', 'assets/images/category_great_icon_active.png', 'assets/images/category_home_icon.png', 'assets/images/category_home_icon_active.png', 'assets/images/category_improvements_icon.png', 'assets/images/category_improvements_icon_active.png', 'assets/images/category_promotions_icon.png', 'assets/images/category_promotions_icon_active.png', 'assets/images/category_religion_icon.png', 'assets/images/category_religion_icon_active.png', 'assets/images/category_resources_icon.png', 'assets/images/category_resources_icon_active.png', 'assets/images/category_social_icon.png', 'assets/images/category_social_icon_active.png', 'assets/images/category_tech_icon.png', 'assets/images/category_tech_icon_active.png', 'assets/images/category_terrain_icon.png', 'assets/images/category_terrain_icon_active.png', 'assets/images/category_units_icon.png', 'assets/images/category_units_icon_active.png', 'assets/images/category_wonders_icon.png', 'assets/images/category_wonders_icon_active.png', 'assets/images/civilopediabuttons22.png', 'assets/images/civilopediabuttons27.png', 'assets/images/civilopediasidebuttons272x22hl.png', 'assets/images/civilopediatitle_copy.png', 'assets/images/civilopediatoptitle.png', 'assets/images/civilopediatoptitle001.png', 'assets/images/civilopediatoptitledark.png', 'assets/images/divider.png', 'assets/images/fancytrim1024.png', 'assets/images/frame_divider.png', 'assets/images/greatworks_art_empty.png', 'assets/images/greatworks_book_empty.png', 'assets/images/greatworks_music_empty.png', 'assets/images/internationalprojectportrait.png', 'assets/images/listheader_active.png', 'assets/images/listheader_normal.png', 'assets/images/listitem.png', 'assets/images/listitem_active.png', 'assets/images/Pointer.png', 'assets/images/scrollbardown_icon.png', 'assets/images/scrollbardown_icon_active.png', 'assets/images/scrollbarup_icon.png', 'assets/images/scrollbarup_icon_active.png', 'assets/images/toppanelbar.png', 'assets/images/v.png', 'assets/images/worldcongressportrait.png'
'assets/images/icon_images/icon_minus.png','assets/images/icon_images/icon_plus.png','assets/images/bottompanelbar.png', 'assets/images/category_buildings_icon.png', 'assets/images/category_buildings_icon_active.png', 'assets/images/category_citystates_icon.png', 'assets/images/category_citystates_icon_active.png', 'assets/images/category_civs_icon.png', 'assets/images/category_civs_icon_active.png', 'assets/images/category_concepts_icon.png', 'assets/images/category_concepts_icon_active.png', 'assets/images/category_congress_icon.png', 'assets/images/category_congress_icon_active.png', 'assets/images/category_great_icon.png', 'assets/images/category_great_icon_active.png', 'assets/images/category_home_icon.png', 'assets/images/category_home_icon_active.png', 'assets/images/category_improvements_icon.png', 'assets/images/category_improvements_icon_active.png', 'assets/images/category_promotions_icon.png', 'assets/images/category_promotions_icon_active.png', 'assets/images/category_religion_icon.png', 'assets/images/category_religion_icon_active.png', 'assets/images/category_resources_icon.png', 'assets/images/category_resources_icon_active.png', 'assets/images/category_social_icon.png', 'assets/images/category_social_icon_active.png', 'assets/images/category_tech_icon.png', 'assets/images/category_tech_icon_active.png', 'assets/images/category_terrain_icon.png', 'assets/images/category_terrain_icon_active.png', 'assets/images/category_units_icon.png', 'assets/images/category_units_icon_active.png', 'assets/images/category_wonders_icon.png', 'assets/images/category_wonders_icon_active.png', 'assets/images/civilopediabuttons22.png', 'assets/images/civilopediabuttons27.png', 'assets/images/civilopediasidebuttons272x22hl.png', 'assets/images/civilopediatitle_copy.png', 'assets/images/civilopediatoptitle.png', 'assets/images/civilopediatoptitle001.png', 'assets/images/civilopediatoptitledark.png', 'assets/images/divider.png', 'assets/images/fancytrim1024.png', 'assets/images/frame_divider.png', 'assets/images/greatworks_art_empty.png', 'assets/images/greatworks_book_empty.png', 'assets/images/greatworks_music_empty.png', 'assets/images/internationalprojectportrait.png', 'assets/images/listheader_active.png', 'assets/images/listheader_normal.png', 'assets/images/listitem.png', 'assets/images/listitem_active.png', 'assets/images/Pointer.png', 'assets/images/scrollbardown_icon.png', 'assets/images/scrollbardown_icon_active.png', 'assets/images/scrollbarup_icon.png', 'assets/images/scrollbarup_icon_active.png', 'assets/images/toppanelbar.png', 'assets/images/v.png', 'assets/images/worldcongressportrait.png',
'assets/images/specialist_icons/artist.png','assets/images/specialist_icons/engineer.png','assets/images/specialist_icons/great_admiral.png','assets/images/specialist_icons/great_artist.png','assets/images/specialist_icons/great_engineer.png','assets/images/specialist_icons/great_general.png','assets/images/specialist_icons/great_merchant.png','assets/images/specialist_icons/great_musician.png','assets/images/specialist_icons/great_prophet.png','assets/images/specialist_icons/great_scientist.png','assets/images/specialist_icons/great_writer.png','assets/images/specialist_icons/khan.png','assets/images/specialist_icons/merchant.png','assets/images/specialist_icons/merchant_of_venice.png','assets/images/specialist_icons/scientist.png','assets/images/specialist_icons/unemployed_citizen.png'
)
</script>
</body>
Expand Down

0 comments on commit 35b8a39

Please sign in to comment.