Hi,
I´m quite sure, this is not a Drupal-only question...
On startup I create several channels, which are nicely created:
var pfc_defaultchan = ["channel1","channel2","channel3"];
var pfc_userchan = ["channel1","channel2","channel3"];
My problem is, I cannot preselect a channel. If somebody opens the channel, he clicks a link which has a defaultchat-parameter, like ?defaultchat=channel1
I tried to put something similar to
pfc.gui.selectTabById('<?=md5('ch_'.$_GET['defaultchat'])?>');
in different places, but at best, it did not preselect the tab, at worst, it did not show up.
Any ideas, how I can preselect a Tab on startup?
Greetings and thanks in advance