https://www.icyphoenix.com/viewtopic.php?f=35&t=6554
-----------------------------------
christmanrd
Sun 11 Oct, 2009 17:44

Forum Rules
-----------------------------------
Is there a way to have the Rules opened when someone goes to view them.  At present when they click on the link to the Rules, they get taken to the rules.php but the rules are not opened and displayed.

Thanks,


-----------------------------------
Mighty Gorgon
Mon 12 Oct, 2009 10:51

Re: Forum Rules
-----------------------------------
Have a play with [b]templates/common/js/sitemap.js[/b] and let me know if you succeed.


-----------------------------------
christmanrd
Mon 12 Oct, 2009 12:11

Re: Forum Rules
-----------------------------------
[quote user="Mighty Gorgon" post="44959"]Have a play with [b]templates/common/js/sitemap.js[/b] and let me know if you succeed.[/quote]

Mighty Gorgon.  I guess you put me in the right area however, I had a look at it and tried 2 things but that didn't work.


Line 146.  // check cookie for hide/show preferences
	for(i=0; i<h.length; i++)


I changed :  for(i=1;

  However, that did not do anything.  The bottom line is I don't know enough about all this stuff to experiment.

This is just another example of how my ignorance exceeds my capabilities.


-----------------------------------
Mighty Gorgon
Wed 21 Oct, 2009 20:01

Re: Forum Rules
-----------------------------------
Still no luck with this?

Let me know and in case I will try to help further tomorrow.


-----------------------------------
christmanrd
Wed 21 Oct, 2009 20:56

Re: Forum Rules
-----------------------------------
[quote user="Mighty Gorgon" post="45168"]Still no luck with this?

Let me know and in case I will try to help further tomorrow.[/quote]

I have had no luck with this.  sorry to say


-----------------------------------
Mighty Gorgon
Wed 21 Oct, 2009 21:45

Re: Forum Rules
-----------------------------------
Have a try with this:

FIND
[codeblock]		if(u[i].className == 'sitemap')
		{
			u[i].style.display = 'none';
		}[/codeblock]

REPLACE WITH
[codeblock]		if(u[i].className == 'sitemap')
		{
			//u[i].style.display = 'none';
		}[/codeblock]


-----------------------------------
christmanrd
Wed 21 Oct, 2009 21:52

Re: Forum Rules
-----------------------------------
Thank you.


