Log in

View Full Version : Specify iframe under navbar to load in specific location..


mcqwert
03-07-2007, 02:13 PM
Hey,

I'm using an iframe to load an external chat under the navbar. Right now I have it set up to load only in forum ID: 2 using this code:

<if condition="$foruminfo[forumid] == 2">
</if>

It works perfectly, but it displays within the navbar on every single thread within that forum. Is there a way to specify it to display only on the main page of the forum (not within the threads)?

Any help is appreciated.

__________________________________________________ _________

I've got it working by using this code:

<if condition="THIS_SCRIPT == 'forumdisplay' AND $foruminfo[forumid] == 2">
</if>

If anyone was wondering.