catonthecouchproductions
asked on
uncaught exception: [object Object] on script
I seem to get this error:
uncaught exception: [object Object]
I am trying to implement this effect: http://www.filthyrichclients.org/
My code seems to all match up and I am not sure why its not working.
All menu items needs to end in menu according to JS file and mine to and then the content need to end in pane and mine do as well.
CODE:
<ul class="list_name" id="menu">
<li id="dontbail-menu">Don't Bail</li>
<li id="sifted-menu">Sifted Records</li>
<li id="skithevalley-menu">Ski The Valley</li>
<li id="dw-menu">DW - GET FROM SEAN</li>
<li id="simple-menu">Simple</l i>
<li id="eurospa-menu">Eurospa< /li>
<li id="aldrighetti-menu">Aldr ighetti Logging</li>
<li id="monkeyhouse-menu">Monk ey House</li>
<li id="surgery-menu">Orthoped ic Surgery Center</li>
<li id="orchard-menu">200 Orchard</a></li>
</ul>
HTML CONTENT:
<!--LOGOS FOR ALDRIGHETTI-->
<a name="aldrighetti"></a>
<div id="aldrighetti-pane" class="section">
<ul class="motion">
<li><a href="images/logos/full/al drighetti/ aldrighett i-1.png" rel="lightbox"><img src="images/logos/aldrighe tti/aldrig hetti-1.pn g" alt="aldrghetti"/></a></li >
<li><a href="images/logos/full/al drighetti/ aldrighett i-2.png" rel="lightbox"><img src="images/logos/aldrighe tti/aldrig hetti-2.pn g" alt="aldrghetti"/></a></li >
<li><a href="images/logos/full/al drighetti/ aldrighett i-3.png" rel="lightbox"><img src="images/logos/aldrighe tti/aldrig hetti-3.pn g" alt="aldrghetti"/></a></li >
<li><a href="images/logos/full/al drighetti/ aldrighett i-4.png" rel="lightbox"><img src="images/logos/aldrighe tti/aldrig hetti-4.pn g" alt="aldrghetti"/></a></li >
</ul>
</div>
JS: http://www.flanels.com/js/scrolling.js
Any suggestions on what I can do?
URL TO PAGE: http://www.flanels.com/?p=logos
uncaught exception: [object Object]
I am trying to implement this effect: http://www.filthyrichclients.org/
My code seems to all match up and I am not sure why its not working.
All menu items needs to end in menu according to JS file and mine to and then the content need to end in pane and mine do as well.
CODE:
<ul class="list_name" id="menu">
<li id="dontbail-menu">Don't Bail</li>
<li id="sifted-menu">Sifted Records</li>
<li id="skithevalley-menu">Ski
<li id="dw-menu">DW - GET FROM SEAN</li>
<li id="simple-menu">Simple</l
<li id="eurospa-menu">Eurospa<
<li id="aldrighetti-menu">Aldr
<li id="monkeyhouse-menu">Monk
<li id="surgery-menu">Orthoped
<li id="orchard-menu">200 Orchard</a></li>
</ul>
HTML CONTENT:
<!--LOGOS FOR ALDRIGHETTI-->
<a name="aldrighetti"></a>
<div id="aldrighetti-pane" class="section">
<ul class="motion">
<li><a href="images/logos/full/al
<li><a href="images/logos/full/al
<li><a href="images/logos/full/al
<li><a href="images/logos/full/al
</ul>
</div>
JS: http://www.flanels.com/js/scrolling.js
Any suggestions on what I can do?
URL TO PAGE: http://www.flanels.com/?p=logos
When does the exception occur? When the page loads? When you click a menu item?
i'm guessing this line is causing you some trouble:
VerticalAccordion.activate ($$('navc .accordion_toggle')[0]);
if it interacts with page elements then you should call it onload... just putting it in the head there means it will execute before the page has rendered and if it references page elements lower down it will not find them...
VerticalAccordion.activate
if it interacts with page elements then you should call it onload... just putting it in the head there means it will execute before the page has rendered and if it references page elements lower down it will not find them...
ASKER
So that line controls toggling the menu, but then i have the script that Ia m trying to make scroll horizontal like this page.
http://www.filthyrichclients.org/
But I the way i have it I think it is that, or is it the accordion?
Ryan
http://www.filthyrichclients.org/
But I the way i have it I think it is that, or is it the accordion?
Ryan
ASKER
Any reason why that is doing that?
Thanks,
Ryan
Thanks,
Ryan
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I changed the name of that to Horizontal, That is the just variable name, I dont think that will effect it, any other suggestions?
The second link is the one I am using.
That first one! Is there a way you could show me a quick example on how to work that effect, I have been trying and cant, using optionto/optionfrom?
Ryan
Ryan
The second link is the one I am using.
That first one! Is there a way you could show me a quick example on how to work that effect, I have been trying and cant, using optionto/optionfrom?
Ryan
Ryan
ASKER
Sorry for posting my name twice, haha.