Our site www.viart.com site is operated by latest Viart Shop 5 with default Clear design
Topic Information
hcanning
hcanning
Hi,
Quick question. I am building an javascript accordion tab into a custom block but it won't activate within the block in Internet Explorer 8. It works fine with Firefox & safari. I was wondering can u identify any conflicting code in the custom code?
 
 
Last modified: 3 Oct 2009 11:40 AM
 
Monk
Monk
You are using two <body> tags on your page which is not correct and you have to remove the second <body> tag and add call of init() function to the first body tag or add the following line into your JavaScript code:
 
window.onload = init;
 
hcanning
hcanning
Thats great. Thanks a million monk.
 
hcanning
hcanning
post removed
Last modified: 26 Oct 2009 1:13 PM
 
hcanning
hcanning
tabber.txt (14Kb)  
post removed
Last modified: 26 Oct 2009 1:14 PM
 
hcanning
hcanning
header-partial-code.txt (5Kb)  
header.html partial code.