Jquery Accordion Menu Issue -
i have accordion menu working on page, when click 1 of links, doesn't go corresponding page.
also, love have working when click link, menu closes, automatically drops out again when next page loads.
it's prob better if tell code rather post here?
html:
<div class="basic" style="float:right;" id="list1b"> <a class="serviceheading">printing</a> <ul id="serviceslist"> <li><a href="stationery.php">>> stationery</a></li> <li><a href="flyers.php">>> flyers / leaflets</a></li> <li><a href="brochures.php">>> brochures</a></li> <li><a href="posters.php">>> posters</a></li> <li><a href="calendars.php">>> calendars</a></li> <li><a href="invites.php">>> invites</a></li> <li><a href="#">>> envelopes</a></li> <li><a href="#">>> docket books</a></li> <li><a href="#">>> menus</a></li> <li><a href="#">>> booklets</a></li> </ul> <a class="serviceheading">graphic design</a> <ul id="serviceslist"> <li><a href="#">>> print design</a></li> <li><a href="#">>> logo design</a></li> <li><a href="#">>> brand development</a></li> <li><a href="#">>> advert design</a></li> <li><a href="#">>> product packaging</a></li> </ul> <a class="serviceheading">web design</a> <ul id="serviceslist"> <li><a href="#">>> web design</a></li> <li><a href="#">>> e-commerce web design</a></li> <li><a href="#">>> seo - search engine optimization</a></li> <li><a href="#">>> web marketing (seo, banner ads, text ads)</a></li> </ul> <a class="serviceheading">signage</a> <ul id="serviceslist"> <li><a href="#">>> pvc banners</a></li> <li><a href="#">>> pop-up banners</a></li> <li><a href="#">>> swing signs</a></li> <li><a href="#">>> outdoor signage</a></li> </ul> </div>
the css located in accordioncss.css
i'm not sure parts of script relevant....i copied , pasted :)
excuse ignorance guys, i'm still new code business
colm
all of links have href="#"
code on html. should contain link want point them e.g. <a href="http://google.com">google</a>
when click google go google.com website
update
jquery('#list1b ul li a').click(function (e){ var self = $(this); settimeout(function (){window.location.href=self.attr('href')},1500); e.preventdefault(); });
add above line below line ====>>> var wizardbuttons = $([]);
Comments
Post a Comment