Jump to content

Recommended Posts

Posted

my navbar keeps disapeering when I go to another page, then it reapears. Its like it has to reload the navbar at every page and it takes a second. It also does it in the pilot center sidebar. Check ut this link, http://www.canforce.org/index.php and if you navigate to another page, the navbar will disapear for maybe 3-5 seconds and it like reloads. Here's the code from my core_navbar.tpl and it is similar to the code for my pilot center sidebar as well:

<html>

<body>

<?php

if(Auth::LoggedIn())

{

?>

<object id="fm_menu_navbar" width="969px" height="27px" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"

codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0">

<param name="movie" value="http://www.canforce.org/core/templates/navbar.swf" /><param name="quality" value="high" />

<param name="bgcolor" value="#000000" /><param name="wmode" value="transparent" />

<param name="scale" value="exactfit" /><param name="menu" value="false" />

<param name="AllowScriptAccess" value="always" />

<embed type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer"

width="969px" height="27px" bgcolor="#000000" wmode="transparent" src="navbar.swf"

quality="high" scale="exactfit" menu="false" allowscriptaccess="always"/>

</object>

<?php

}

?>

<?php

if(!Auth::LoggedIn())

{

?>

<object id="fm_menu__navbar" width="969px" height="27px" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"

codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0">

<param name="movie" value="http://www.canforce.org/core/templates/!navbar.swf" /><param name="quality" value="high" />

<param name="bgcolor" value="#000000" /><param name="wmode" value="transparent" />

<param name="scale" value="exactfit" /><param name="menu" value="false" />

<param name="AllowScriptAccess" value="always" />

<embed type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer"

width="969px" height="27px" bgcolor="#000000" wmode="transparent" src="!navbar.swf"

quality="high" scale="exactfit" menu="false" allowscriptaccess="always"/>

</object>

<?php

}

?>

</body>

</html>

Also, I don't want an admin navbar, I put the admin panel in their pilot center and the if statement seems to be working, just very slow. thanks for any help

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...