Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - create a drop down menu ???
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Topic Closedcreate a drop down menu ???

 Post Reply Post Reply Page  12>
Author
 Rating: Topic Rating: 1 Votes, Average 3.00  Topic Search Topic Search  Topic Options Topic Options
miladanimator View Drop Down
Groupie
Groupie
Avatar

Joined: 24 July 2005
Location: United States
Status: Offline
Points: 156
Direct Link To This Post Topic: create a drop down menu ???
    Posted: 22 November 2007 at 8:54pm
hi all ...
I need to dsign a drop down menu just like web wiz drop down menu :
http://i19.tinypic.com/6tcrf5l.jpg

I need to design a drop down menu without using javascript ...

the webwiz drop down menu, dont load in IE 6 -  I neeed a to my menu load in fire fox and IE and opera and ....

any one can give me the code for drop down menu ????Cry
Back to Top
StarDust View Drop Down
Senior Member
Senior Member


Joined: 14 May 2007
Location: Bangladesh
Status: Offline
Points: 310
Direct Link To This Post Posted: 22 November 2007 at 10:06pm
http://www.cssplay.co.uk

loads of free menus with CSS
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Direct Link To This Post Posted: 23 November 2007 at 8:25am
It does load in IE 6 and IE 5.

The one on the Web Wiz Guide site uses CSS only. It's based on 'Son of SuckerFish' found at:-

http://www.htmldog.com/articles/suckerfish/dropdowns/
Back to Top
miladanimator View Drop Down
Groupie
Groupie
Avatar

Joined: 24 July 2005
Location: United States
Status: Offline
Points: 156
Direct Link To This Post Posted: 23 November 2007 at 2:36pm
thanx a lot borg ...
I use this method too design my drop down menu :
http://www.htmldog.com/articles/suckerfish/dropdowns/

this is my menu and work correctly in firefox ...
http://i15.tinypic.com/87dmfk5.gif
my menu load in IE too and all drop downs work correctly ...
but in IE, my menu create a scroll bar in my page :

http://i16.tinypic.com/6l2d85y.gif

and when I scroll the page to the left and left, I see that all drop downs located in the left and left side on my page :

http://i14.tinypic.com/6ta839t.gif

any one can help me and solve my problem in IE ???

Back to Top
miladanimator View Drop Down
Groupie
Groupie
Avatar

Joined: 24 July 2005
Location: United States
Status: Offline
Points: 156
Direct Link To This Post Posted: 23 November 2007 at 2:39pm
this is my .css  code that use for this drop down menu :




/*Drop-down menu*/


#nav, #nav ul {

    padding: 0;
    margin: 0;
    list-style: none;   
}

#nav a {
display: block;
width: 95%;
PADDING-RIGHT: 2px;
PADDING-LEFT: 2px;
PADDING-BOTTOM: 2px;
PADDING-TOP: 2px;
}

#nav A:hover
{
COLOR: #cc0000;
text-decoration: none;
}


#nav li {
    float: right;
    width: 100%;
}

#nav li ul {
BORDER-RIGHT: #e7e7e7 0px solid;
PADDING-RIGHT: 6px;
BORDER-TOP: #e7e7e7 1px solid;
PADDING-LEFT: 0px;
BACKGROUND: url(../../images/menu_shadow.gif) no-repeat right bottom;
PADDING-BOTTOM: 5px;
MARGIN: 0px; BORDER-LEFT: #e7e7e7 1px solid;
PADDING-TOP: 0px;
BORDER-BOTTOM: #e7e7e7 0px solid;
HEIGHT: auto;
    position: absolute;
    width: 220px;
    left: -999em;   
}

#nav li:hover ul {
    left: auto;   
}

#nav li:hover
{
    border: 1px dotted #FF6D0D;
    background-color: #FFFFB0;
    }


#nav li:hover ul, #nav li.iehover ul {
left: auto;
}

#nav LI.ieHover {
border:1px dotted #F5C41C; background-color: #FFFFB0;
    }
   
.menu
{
    background-color: #D3E2FE;
}



and this is m .JS file :

ieHover = function() {
    var menuElement = document.getElementById("nav").getElementsByTagName("li");
    for (var i=0; i < menuElement.length; i++) {
        menuElement.onmouseover = function() {
            this.className = 'ieHover';
        }
        menuElement.onmouseout = function() {
            this.className = '';
        }
    }
}
if (window.attachEvent) window.attachEvent('onload', ieHover);



what is the problem ?????


Back to Top
miladanimator View Drop Down
Groupie
Groupie
Avatar

Joined: 24 July 2005
Location: United States
Status: Offline
Points: 156
Direct Link To This Post Posted: 23 November 2007 at 2:50pm
Cry

Edited by miladanimator - 23 November 2007 at 6:02pm
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Direct Link To This Post Posted: 23 November 2007 at 3:30pm
I found it was a case of just spending some time playing with the CSS till you get the drop downs where you want them to appear.

It took me a good day of messing around with the CSS to get it right for the Web Wiz Guide web site.
Back to Top
miladanimator View Drop Down
Groupie
Groupie
Avatar

Joined: 24 July 2005
Location: United States
Status: Offline
Points: 156
Direct Link To This Post Posted: 23 November 2007 at 6:06pm
Thanx ...
I found the problem ...
My css and .js file doesn't have any problem ...
---------
my site direction is : Right to Left ... and I use <html dir="rtl"> in my page ....

so open http://www.webwiz.net/ in IE and change page direction to "right to left"  by : right click > encoding > right to left ...

ow in the webwiz home page a scroll bar like this created :
http://i16.tinypic.com/6l2d85y.gif

is there a way to use this drop down menu in "right to left"  pages ???
Back to Top
 Post Reply Post Reply Page  12>

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.