Visualizzazione dei risultati da 1 a 3 su 3

Discussione: style menù

  1. #1

    style menù

    ragazzi sto usando questo menù:
    http://www.html.it/dynamic/menu/menu04codice.htm

    però non riesco a far in modo che venga visualizzato solo il bordo esterno della tabella del menù a comparsa e non il bordo tra le celle,
    le righe dove genera il menù sono:
    codice:
    function itemSetup(arrayPointer,whichArray) {
    	this.className = "items";
    	this.itemOver = itemOver;
    	this.itemOut = itemOut;
    	this.onmouseover = this.itemOver;
    	this.onmouseout = this.itemOut;
    
    	this.dispText = whichArray[arrayPointer];
    	this.linkText = whichArray[arrayPointer + 1];
    	this.hasMore = whichArray[arrayPointer + 2];
    
    	if (this.linkText.length > 0) {
    		this.linkIt = linkIt;
    		if (NS4) {
    			this.onfocus = this.linkIt;
    		}
    		else {
    			this.onclick = this.linkIt;
    			this.style.cursor = "hand";
    		}
    	}
          
    	if (this.hasMore) {
    		htmStr = imgStr + this.dispText;
    	}
    	else {
    		htmStr = this.dispText;
    	}
    
    	if (NS4) {
    		layStr = "<SPAN CLASS=items>" + htmStr+ "</SPAN>";
    		this.document.write(layStr);
    		this.document.close();
    
    		this.bgColor = backCol;
    		this.clip.right = menuWidth;
    		this.visibility = "inherit";
    		this.container = this.parentLayer;
    
    		if (arrayPointer == 0) {
    			this.top = 0;
    		}
    		else {
    			this.top = this.prevItem.top + this.prevItem.document.height - borWid;
    		}
    		this.left = 0;
    	}
    	else {
    		this.className = "items";
    		this.style.padding = 3;
    		this.innerHTML = htmStr;
    
    		this.style.backgroundColor = backCol; 
    		this.container = this.offsetParent;
    
    		if (arrayPointer == 0) {
    			
    			this.style.pixelTop = 0;
    		}
    		else {
    			this.style.pixelTop = this.prevItem.style.pixelTop + this.prevItem.offsetHeight - borWid;
    		}
    		this.style.pixelLeft = 0;
    		
    	}
    }
    Avete idea di come fare???

  2. #2
    Utente di HTML.it L'avatar di Xinod
    Registrato dal
    Sep 2000
    Messaggi
    13,649
    usa un altro menù,
    non solo per la questione dei bordi (modifica parecchio complessa da apportare):
    è vecchiotto e ha problemi di compatibilità
    ciao

  3. #3
    hai qualcosa da propormi??

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.