close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Accordion links don't work custom template

Thread began 4/04/2014 10:26 am by Jared Lui | Last modified 4/04/2014 2:58 pm by Jason Byrnes | 1904 views | 7 replies |

Jared Lui

Accordion links don't work custom template

I can't pinpoint why exactly I cannot get the links to work on the accordion in a custom template. They work fine when I switch to the default template of course.

Here's and excerpt from the default output:
<dt class="accordion_toggler_1_1 accordionclear" onclick="doNestedHighlighlight(this);updateContant('products_results_xml.php?Search=1&amp;ProductCategoryID[]=19')">Accessories</dt>

Here's the same excerpt and output from the custom accordion:
<dt class="accordion_toggler_1_1 accordionclear" onclick="doNestedHighlighlight(this);updateContant('products_results_xml.php?Search=1&amp;ProductCategoryID[]=19')">Accessories</dt>

They are identical. This means I'm missing something else but am not seeing it. Any clues?

Also, what do I have to change to make the accordion work on the index page as well?

Sign in to reply to this post

Jason ByrnesWebAssist

provide a link where i can see the problem please.

Sign in to reply to this post

Jared Lui

My bad. See PM

Sign in to reply to this post

Jason ByrnesWebAssist

your page does not have a Div with the ID of content


the accordion menu items trigger a java script function that populates the content div with the results.

there is no content div on your page to populate.

Sign in to reply to this post

Jared Lui

Thanks. I expected the DIV surrounding the accordion to be a part of the accordion but not one surrounding all of the content. I'll have to look through the java script to see it to understand it more. Couldn't see anything in the CSS or think it would have anything to do with it.

Thanks for the help.

Sign in to reply to this post

Jason ByrnesWebAssist

you're welcome.

Sign in to reply to this post

Jared Lui

Ah, I see what I did. When I was trying to match up my custom template with the default to make sure I had all the necessary items covered. I renamed contentWrapper to content and confused the two later. All is right again.

Sign in to reply to this post

Jason ByrnesWebAssist

glad to hear it is working.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...