FORUMS: list search recent posts

php include doesn't work with spry menubar

COW Forums : Web Design

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Marcus Bohlphp include doesn't work with spry menubar
by on Feb 25, 2009 at 12:45:27 pm

Hi,
In the file test.php, I try to call another file with include.


In Meny.php I've written the code for my spry menubar. But it still not working. The rollover doesn't work. I can see the title but not the submenues. Any fatal error or mistakes I can have made??

Meny.php

***************

<link href="SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css">

<style type="text/css">
<!--
.stil1 {
font-size: 120%
}
-->
</style>


<ul id="MenuBar1" class="MenuBarHorizontal">
<li><a href="start.html" class="stil1">Start</a> </li>
<li><a href="#" class="MenuBarItemSubmenu stil1">Om oss</a>
<ul>
<li><a href="lundgrens_presentation.html">Presentation</a> </li>
<li><a href="lundgrens_affarside.html">Affärsidé</a> </li>
<li><a href="lundgrens_organisation.html">Organisation</a></li>
<li><a href="lundgrens_kunder.html"> Kunder</a></li>
<li><a href="lundgrens_leverantor.html">Leverantörer</a></li>
<li><a href="lundgrens_drive in.html">Drive In</a></li>
<li><a href="lundgrens_distribution.html">Distribution</a></li>
</ul>
</li>
<li><a href="#" class="MenuBarItemSubmenu stil1">Sortiment</a>
<ul>
<li><a href="sortiment_avdelningar.html">Avdelningar</a></li>
<li><a href="sortiment_byggtrygg.html">Byggtrygg</a></li>
<li>
<div align="left"><a href="sortiment_big.html">Big</a></div>
</li>
</ul>
</li>
<li><a href="#" class="MenuBarItemSubmenu stil1">Erbjudande</a>
<ul>
<li><a href="erbjudande_kampanjer.html">Kampanjer</a></li>
<li><a href="erbjudande_produktnyheter.html">Produktnyheter</a></li>
<li><a href="erbjudande_klippet.html">Klippet</a></li>
<li><a href="erbjudande_nyheter.html">Nyheter</a></li>
</ul>
</li>
<li><a href="#" class="MenuBarItemSubmenu stil1">Handla </a>
<ul>
<li><a href="handla_snabb order.html">Beställningssedel</a></li>
<li><a href="handla_webbshop.html">Webbshop</a></li>
<li><a href="handla_ring oss.html">Ring oss</a></li>
<li><a href="handla_butik.html">Handla i butik</a></li>
</ul>
</li>
<li><a href="#" class="MenuBarItemSubmenu stil1">Kontakta oss</a>
<ul>
<li><a href="kontakt_kontaktformular.html">Kontaktformulär</a></li>
<li><a href="kontakt_ny kund.html">Bli kund</a></li>
<li><a href="kontakt_feedback.html">Feedback</a></li>
<li><a href="kontakt_bigkatalog.html">Beställ Bigkatalog</a></li>
<li><a href="kontakt_karta.html">Karta</a></li>
<li><a href="kontakt_ledig tjanst.html">Lediga tjänster</a></li>
</ul>
</li>
<li><a href="#" class="MenuBarItemSubmenu stil1">Dokument</a>
<ul>
<li><a href="dokument_frsvillkor.html">Försäljningsvillkor</a></li>
<li><a href="dokument_datablad.html">Datablad</a></li>
<li><a href="dokument_iso9001.html">ISO 9001</a></li>
<li><a href="dokument_sitemap.html">Sitemap</a></li>
<li><a href="dokument_logga.html">Vår logga</a></li>
</ul>
</li>
</ul>

<script type="text/javascript">
<!--
var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
//-->
</script>

*************************************



Return to posts index

Abraham ChaffinRe: php include doesn't work with spry menubar
by on Feb 25, 2009 at 3:37:09 pm

Looks like you're missing the javascript file that runs the dropdowns...

Abraham


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]