darkfreaks Posted September 23, 2007 Share Posted September 23, 2007 okay so i made it so the cities are collapsed until you click the country then they expand but right now they wont expand i have the onclick function in my links since i cant define it im my href="" so i got onclick='javascript:poptoggle('block01');' but it gives me error on page and wont expand the div Quote Link to comment Share on other sites More sharing options...
Stickybomb Posted September 25, 2007 Share Posted September 25, 2007 well how about posting your code and corresponding html... first i would seriously look into resarching event listners inline js is something you should try and avoid at all costs. basically though all you need to do is change the style.display value from block to none and vice-verse, but like i said maybe you aready no that but i cant' tell from the lack of code provided lol. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.