Web Design Forum  
 
Go Back   Web Design Forum > Web and Graphic Design > Web Design

Reply
 
LinkBack Thread Tools Display Modes
Old 11-02-2010, 02:19 PM   #1
New Member
 
Join Date: Nov 2010
Posts: 12
Unhappy Javascript drop menu help

...............

Last edited by bmmccarty; 11-10-2010 at 01:18 PM.
bmmccarty is offline   Reply With Quote


Old 11-02-2010, 04:46 PM   #2
Super Moderator
 
Join Date: Oct 2008
Location: Arizona, USA
Posts: 1,053
Default

First of all I hate these pre-built menus...the code is atrocious, but i digress. In answer to your question the white space is coming from a background image. See below.
Code:
background: url("http://www.webdesignforum.com/images/plus_sub.gif");
(the image may be broken, not sure though)
__________________
John Darling
Graphic / Web Designer
SmarterTools Inc.
(877) 357-6278
www.smartertools.com
PixelPusher is offline   Reply With Quote
Old 11-02-2010, 07:44 PM   #3
New Member
 
Join Date: Nov 2010
Posts: 12
Default

thanks! ...have any idea how to fix it? :P
bmmccarty is offline   Reply With Quote
Old 11-02-2010, 10:01 PM   #4
Gold Member
 
Join Date: Nov 2009
Location: New York
Posts: 370
Default

Holy code soup!

background: none; or set the background color to the menu background color.

Also you shouldn't need JS for a drop down menu, look into a CSS one.
__________________
Submit to my Website Gallery | NY Web Design
bcee is offline   Reply With Quote
Old 11-03-2010, 05:42 AM   #5
Gold Member
 
smoovo's Avatar
 
Join Date: Oct 2010
Posts: 388
Default

Just replace this line

HTML Code:
#qm0 div .qmparent{background-image:url("images/plus_sub.gif");color:#B65560;}
With this

HTML Code:
#qm0 div .qmparent{color:#B65560;}

I hope it will help.
__________________
SMooVo - Web Design & Development
contact@smoovo.com
www.SMooVo.com
smoovo is offline   Reply With Quote


Old 11-04-2010, 09:17 AM   #6
New Member
 
Join Date: Nov 2010
Posts: 12
Default

thanks!!!!
bmmccarty is offline   Reply With Quote
Old 11-04-2010, 03:11 PM   #7
Gold Member
 
smoovo's Avatar
 
Join Date: Oct 2010
Posts: 388
Default

NP, it was my pleasure.
__________________
SMooVo - Web Design & Development
contact@smoovo.com
www.SMooVo.com
smoovo is offline   Reply With Quote
Old 11-04-2010, 03:33 PM   #8
Super Moderator
 
Join Date: Oct 2008
Location: Arizona, USA
Posts: 1,053
Default

Quote:
Originally Posted by bcee View Post
Holy code soup!

background: none; or set the background color to the menu background color.

Also you shouldn't need JS for a drop down menu, look into a CSS one.
Lol, touche Brad
__________________
John Darling
Graphic / Web Designer
SmarterTools Inc.
(877) 357-6278
www.smartertools.com
PixelPusher is offline   Reply With Quote
Reply

Tags
css, drop down, dropdown, javascript, menu

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 08:17 PM.


Camera Forum - Computer Forum - Web Design Forum

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Content Relevant URLs by vBSEO 3.6.0 ©2011, Crawlability, Inc.