Tak jsem zjistil:
Problém s obdelníčky - vždy vlevo od názvu Kategorie - bude někde v kódu menu.php.
Původním autorem tohoto módu je
http://www.stunicholls.com/menu/pro_dropdown_3.html, CSS upravoval smokeman@esenet.dk, sám pak vytvořil mod
"Deluxe_dropdown_menu" a ten sám neví, myslí si, že je to problém browserů. Není! Chyba je zřejmě ve shora zmíněném souboru menu.php od smokemana.
Je totiž divné, že malý obdélniček s hexakódy se objevuje jen u linků Kategtorií, které mají Submenu.
U linků kategorii, které nemají Submenu problém není, u nich se obdelníčky neobjevují... Je to vidět na obrázku.
Celkem to šlape, ale bez Submenu tooto menu ale nemá ten skutečný význam a u něj se právě obdelníček objevuje...
Tohle je začátek kodu menu.php:<?php
/*-------------------------------------------------------+
| PHP-Fusion Content Management System
| Copyright Š 2002 - 2013 Nick Jones
| http://www.php-fusion.co.uk/
+--------------------------------------------------------+
| Name: menu.php
| Author : Smokeman
| Email: smokeman@esenet.dk
| Web: http://www.phpfusion-tips.dk/
+--------------------------------------------------------+
| This program is released as free software under the
| Affero GPL license. You can redistribute it and/or
| modify it under the terms of this license which you
| can read by viewing the included agpl.txt or online
| at www.gnu.org/licenses/agpl.html. Removal of this
| copyright header is strictly prohibited without
| written permission from the original author(s).
+--------------------------------------------------------*/
include INFUSIONS."deluxe_dropdown_menu/infusion_db.php";
add_to_head("<script src='".INFUSIONS."deluxe_dropdown_menu/includes/js/stuHover.js' type='text/javascript'></script>");
echo "
<div class='preload1'></div>
<div class='preload2'></div>
";
// Read the menus
$m = array();
$msql = dbquery("SELECT * FROM ".DB_MENUS." ORDER BY menu_order");
while ($mdata = dbarray($msql))
{
$m[] = $mdata;
}
// Parse links and names
foreach ($m as &$mdata)
{
if (!preg_match("!^(ht|f)tp(s)?://!i", $mdata['menu_link']))
{
$mdata['menu_link'] = BASEDIR.$mdata['menu_link'];
}
$mdata['menu_name'] = parseubb($mdata['menu_name'], "b|i|u|img|color");
}
// Make the menu
menuitem($m);
// ============================== Get Data From Menu Settings ============================== //
$menusettings = dbarray(dbquery("SELECT * FROM ".DB_MENU_SETTINGS));
// ============================== Adjusting The Width ============================== //
$width1 = $menusettings['mset_width'] - 10;
$width2 = $menusettings['mset_width'] - 2;
if ($menusettings['mset_set_style'] == "0") {
// ============================== Load Pre-Installed Templates CSS ============================== //
add_to_head("<link rel='stylesheet' type='text/css' href='".INFUSIONS."deluxe_dropdown_menu/templates/".$menusettings['mset_templates']."/".$menusettings['mset_templates'].".css' />");
} else {
// ============================== Load User Defined Template CSS ============================== //
add_to_head("<style type='text/css'>
/* ================================================================
This copyright notice must be kept untouched in the stylesheet at
all times.
The original version of this stylesheet and the associated (x)html
is available at http://www.stunicholls.com/ (...)
Copyright (c) 2005-2007 Stu Nicholls. All rights reserved.
This stylesheet and the associated (x)html may be modified in any
way to fit your requirements.
Very highly modified by Smokeman
so it fits for the DeLuxe Dropdown Menu v1.1
=================================================================== */