Not sure if anyone is still watching this forum but, thought I would ask anyways. I've started a bit of a revamp of the way my game looks and part of that has caused some annoying CSS issues. One of them would probably be a lot easier to deal with if I could control the load order of the elements in the main contenArea div. Can anyone help me out with where that is defined?
Thanks!
load order for elements in contentArea?
- hallsofvallhalla
- Site Admin
- Posts: 12023
- Joined: Wed Apr 22, 2009 11:29 pm
Re: load order for elements in contentArea?
Hmm can't remember. it is not top to bottom?
Re: load order for elements in contentArea?
Well, it loads all of the modules that have home page elements but, I was wondering if there is a way to control what order they load in.
Re: load order for elements in contentArea?
Yes! It control through the database
Re: load order for elements in contentArea?
Thanks Kal. Can you expand on that a little bit?KaL wrote:Yes! It control through the database
- KyleMassacre
- Posts: 573
- Joined: Wed Nov 27, 2013 12:42 pm
Re: load order for elements in contentArea?
I want to say it is one of a few things, I just don’t remember which one exactly
- Like Kal said, it’s loaded by order in the database which means in the order the module was installed
- Alphabetically
Re: load order for elements in contentArea?
My bad. It was the stats that you can sort by order on the database. For the menu itself you have to script it. The best way to get an example is to look at illusion “TOWN Modules” he list all the script on how to loop the content menu or grab it one by one.
Re: load order for elements in contentArea?
Here is the town module script.
I can upload the script because it was set as a free module by illusion.
I can upload the script because it was set as a free module by illusion.
Re: load order for elements in contentArea?
Small world! Imagine seeing you here, cbsarge!