473,403 Members | 2,071 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,403 software developers and data experts.

Sliding menu problem

347 100+
I have a Dreamweaver Spry sliding menu that i am tring to get to work.

The code for the menu is
Expand|Select|Wrap|Line Numbers
  1.       <div class="Accordion" id="sampleAccordion" tabindex="0">
  2.               <div class="AccordionPanel">
  3.         <div class="AccordionPanelTab"><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image5','','../images/makeup/voicetypes/standard uk_pink_up.jpg',1)"><img src="http://bytes.com/submit/images/makeup/voicetypes/standard uk_pink_up.jpg" name="Image5" width="145" height="16" border="0"></a></div>
  4.           <div class="AccordionPanelContent1"><a href="boys.asp?id=25 - 35" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image6','','../images/makeup/voicetypes/25 - 35_boy_dn.jpg',1)"><img src="http://bytes.com/submit/images/makeup/voicetypes/25 - 35_boy_up.jpg" alt="25 - 35" name="Image6" width="145" height="16" border="0"></a><br>
  5.               <a href="boys.asp?id=35 - 45" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image7','','../images/makeup/voicetypes/35 - 45_boy_dn.jpg',1)"><img src="http://bytes.com/submit/images/makeup/voicetypes/35 - 45_boy_up.jpg" alt="35 - 45" name="Image7" width="145" height="16" border="0"></a><br>
  6.                   <a href="boys.asp?id=45 plus" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image8','','../images/makeup/voicetypes/45 plus_boy_dn.jpg',1)"><img src="http://bytes.com/submit/images/makeup/voicetypes/45 plus_boy_up.jpg" alt="45 +" name="Image8" width="145" height="16" border="0"></a><br />
  7.           </div>
  8.         </div>
  9.  
  10.         <div>
  11.         <div><a href="boys.asp?id=Teenage - 25" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image9','','../images/makeup/voicetypes/teenage - 25_boy_dn.jpg',1)"><img src="http://bytes.com/submit/images/makeup/voicetypes/teenage - 25_boy_up.jpg" alt="Teenage - 25" name="Image9" width="145" height="16" border="0"></a></div>
  12.         </div>
  13.  
  14.                 <div>
  15.         <div><a href="boys.asp?id=Light - Friendly" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image10','','../images/makeup/voicetypes/light - friendly_boy_dn.jpg',1)"><img src="http://bytes.com/submit/images/makeup/voicetypes/light - friendly_boy_up.jpg" alt="Light - Friendly" name="Image10" width="145" height="16" border="0"></a></div>
  16.         </div>
  17.  
  18.                         <div>
  19.         <div><a href="boys.asp?id=Documentary - Narrative - Corporate" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image11','','../images/makeup/voicetypes/documentary - narrative - corporate_boy_dn.jpg',1)"><img src="http://bytes.com/submit/images/makeup/voicetypes/documentary - narrative - corporate_boy_up.jpg" alt="Documentary - Narrative - Corporate" name="Image11" width="145" height="32" border="0"></a></div>
  20.         </div>
  21.  
  22.                         <div>
  23.         <div><a href="boys.asp?id=DJ - Presenter" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image14','','../images/makeup/voicetypes/dj - presenter_boy_dn.jpg',1)"><img src="http://bytes.com/submit/images/makeup/voicetypes/dj - presenter_boy_up.jpg" alt="DJ Presenter" name="Image14" width="145" height="16" border="0"></a></div>
  24.         </div>
  25.  
  26.                         <div>
  27.         <div><a href="boys.asp?id=Comedy" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image15','','../images/makeup/voicetypes/comedy_boy_dn.jpg',1)"><img src="http://bytes.com/submit/images/makeup/voicetypes/comedy_boy_up.jpg" alt="Comedy" name="Image15" width="145" height="16" border="0"></a></div>
  28.         </div>
  29.  
  30.                         <div>
  31.         <div><a href="boys.asp?id=Sexy" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image16','','../images/makeup/voicetypes/sexy_boy_dn.jpg',1)"><img src="http://bytes.com/submit/images/makeup/voicetypes/sexy_boy_up.jpg" alt="Sexy" name="Image16" width="145" height="16" border="0"></a></div>
  32.         </div>
  33.  
  34.                         <div>
  35.         <div><a href="boys.asp?id=Stand Up" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image17','','../images/makeup/voicetypes/stand up_boy_dn.jpg',1)"><img src="http://bytes.com/submit/images/makeup/voicetypes/stand up_boy_up.jpg" alt="Stand Up" name="Image17" width="145" height="16" border="0"></a></div>
  36.         </div>
  37.  
  38.  
  39.               <div class="AccordionPanel">
  40.         <div class="AccordionPanelTab"><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image5','','../images/makeup/voicetypes/standard uk_pink_up.jpg',1)"><img src="http://bytes.com/submit/images/makeup/voicetypes/standard uk_pink_up.jpg" name="Image5" width="145" height="16" border="0"></a></div>
  41.           <div class="AccordionPanelContent2"><a href="boys.asp?id=25 - 35" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image6','','../images/makeup/voicetypes/25 - 35_boy_dn.jpg',1)"><img src="http://bytes.com/submit/images/makeup/voicetypes/25 - 35_boy_up.jpg" alt="25 - 35" name="Image6" width="145" height="16" border="0"></a><br>
  42.               <a href="boys.asp?id=35 - 45" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image7','','../images/makeup/voicetypes/35 - 45_boy_dn.jpg',1)"><img src="http://bytes.com/submit/images/makeup/voicetypes/35 - 45_boy_up.jpg" alt="35 - 45" name="Image7" width="145" height="16" border="0"></a><br>
  43.                   <a href="boys.asp?id=45 plus" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image8','','../images/makeup/voicetypes/45 plus_boy_dn.jpg',1)"><img src="http://bytes.com/submit/images/makeup/voicetypes/45 plus_boy_up.jpg" alt="45 +" name="Image8" width="145" height="16" border="0"></a><br />
  44.                   <a href="boys.asp?id=45 plus" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image8','','../images/makeup/voicetypes/45 plus_boy_dn.jpg',1)"><img src="http://bytes.com/submit/images/makeup/voicetypes/45 plus_boy_up.jpg" alt="45 +" name="Image8" width="145" height="16" border="0"></a><br />
  45.                   <a href="boys.asp?id=45 plus" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image8','','../images/makeup/voicetypes/45 plus_boy_dn.jpg',1)"><img src="http://bytes.com/submit/images/makeup/voicetypes/45 plus_boy_up.jpg" alt="45 +" name="Image8" width="145" height="16" border="0"></a><br />
  46.                   <a href="boys.asp?id=45 plus" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image8','','../images/makeup/voicetypes/45 plus_boy_dn.jpg',1)"><img src="http://bytes.com/submit/images/makeup/voicetypes/45 plus_boy_up.jpg" alt="45 +" name="Image8" width="145" height="16" border="0"></a><br />
  47.           </div>
  48.         </div>
  49.  
  50.  
  51.            <div>
  52.              <div><a href="boys.asp?id=USA - Mid Atlantic" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image25','','../images/makeup/voicetypes/USA - Mid Atlantic_boy_dn.jpg',1)"><img src="http://bytes.com/submit/images/makeup/voicetypes/USA - Mid Atlantic_boy_up.jpg" alt="USA - Mid Atlantic" name="Image25" width="145" height="16" border="0"></a></div>
  53.            </div>
  54.            <BR>
  55.  
  56.  
  57.       </div>
the ccs file and scrip files are also attached.

the problem i am having is with the second scrolling section, when i mouse over the button underneath the section stays in place over writing one of the buttons in the section.

it can be seen at http://www.yaketyyakallmouth.com/pages/boys.asp?id=all

i hope someone can assis i have tried everything i know and i know it must be something simple
Attached Files
File Type: zip SpryAccordion.zip (6.2 KB, 64 views)
Feb 15 '11 #1
1 1976
colinod
347 100+
i have now changed the pages and am using adobes rollover correction for the spry asset

the problem i am now having is putting a link within the menu that does not scroll open when i roll over it.

the code is as follows
Expand|Select|Wrap|Line Numbers
  1.       <div id="Accordion1" class="Accordion" tabindex="0">
  2.         <div class="AccordionPanel">
  3.           <div class="AccordionPanelTab"><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image5','','../images/makeup/voicetypes/standard uk_pink_up.jpg',1)"><img src="http://bytes.com/topic/html-css/images/makeup/voicetypes/standard uk_pink_up.jpg" alt="Standard UK - 25+" name="Image5" width="145" height="16" border="0"></a></div>
  4.           <div class="AccordionPanelContent1"><a href="boys.asp?id=25 - 35" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image6','','../images/makeup/voicetypes/25 - 35_boy_dn.jpg',1)"><img src="http://bytes.com/topic/html-css/images/makeup/voicetypes/25 - 35_boy_up.jpg" alt="25 - 35" name="Image6" width="145" height="16" border="0"></a><br>
  5.             <a href="boys.asp?id=35 - 45" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image7','','../images/makeup/voicetypes/35 - 45_boy_dn.jpg',1)"><img src="http://bytes.com/topic/html-css/images/makeup/voicetypes/35 - 45_boy_up.jpg" alt="35 - 45" name="Image7" width="145" height="16" border="0"></a><br>
  6.             <a href="boys.asp?id=45 Plus" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image8','','../images/makeup/voicetypes/45 plus_boy_dn.jpg',1)"><img src="http://bytes.com/topic/html-css/images/makeup/voicetypes/45 plus_boy_up.jpg" alt="45 Plus" name="Image8" width="145" height="16" border="0"></a></div>
  7.         </div>
  8.  
  9.                   <div class="AccordionPanel">
  10.           <div class="AccordionPanelTab"><a href="boys.asp?id=Teenage - 25" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image9','','../images/makeup/voicetypes/teenage - 25_boy_dn.jpg',1)"><img src="http://bytes.com/topic/html-css/images/makeup/voicetypes/teenage - 25_boy_up.jpg" alt="Teenage - 25" name="Image9" width="145" height="16" border="0"></a></div>
  11.           <div class="AccordionPanelContent2"><a href="boys.asp?id=Teenage - 25" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image10','','../images/makeup/voicetypes/teenage - 25_boy_dn.jpg',1)"><img src="http://bytes.com/topic/html-css/images/makeup/voicetypes/teenage - 25_boy_up.jpg" alt="Teenage - 25" name="Image10" width="145" height="16" border="0"></a><BR></div>
  12.         </div>
  13.  
  14.         <div class="AccordionPanel">
  15.           <div class="AccordionPanelTab">Label 2</div>
  16.           <div class="AccordionPanelContent2">Content 2<BR>Content 2<BR></div>
  17.         </div>
  18.       </div>
however i have tried to remove 1 of the images and various div tags from the middle panel but it comes up with an error and stops the others scrolling

the error i get is
'style' is null or not an object
spryaccordion.js
line 322
char 3

i have attached the .js file and css file in a zipped folder
Attached Files
File Type: zip SpryAccordion.zip (5.3 KB, 70 views)
Feb 16 '11 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: JesusFreak | last post by:
From: us_traveller@yahoo.com (JesusFreak) Newsgroups: microsoft.public.scripting.jscript Subject: toolbar script problem NNTP-Posting-Host: 192.92.126.136 Recently, I downloaded the following...
4
by: Mohit Gupta | last post by:
Hi all, Lately I have been working on an application in VB .net CF for Pocket PC device. I have a small question about Context Menu. When I try to close the window after context menu is poped...
1
by: Noozer | last post by:
Anyone have a simple example of how I can use javascript to slide a menu on and off the left side of the screen when a link is clicked? Normally I wouldn't bother with something like this, but...
4
by: Enrika | last post by:
Greetings! I'm working on a CSS drop-down menu, which, to my surprise, is actually working, more-or-less, in both IE *and* Firefox (and Netscape). But there are two changes that I want to make that...
1
by: Viktor | last post by:
Hello, I started to rewrite the lightbox code for a different layout. The main advantage would be to have a sliding image bar, but I can not get the sliding motion. The html code: <div...
3
by: wsharad | last post by:
Hi, I have got a requirement. In my application, i have a JSP which includes an Applet. On top of that i have a Menu option, on click of which a sliding menu comes up. The problem is, the menu...
2
by: davidson1 | last post by:
Hai friends..for menu to use in my website..i found in one website....pl look below website.... http://www.dynamicdrive.com/dynamicindex1/omnislide/index.htm i downloaded 2 files.... ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.