Link to home
Start Free TrialLog in
Avatar of Kasonde Neddy
Kasonde Neddy

asked on

Making jquery sliding panel show hide div accessible...trouble, please help

Hi Experts,

I have a script that shows a div and hides a div when the user clicks view, it works fine, but when js is disabled, the panels or links with the script do not open by default, if js disabled.  please advise, you may view this at the following location http://www.madisonassets.co.zm 

On the services links, the links show more links on mouseover, and for the right panels, when the user clicks view, it displays the contents of the hidden div...

It should display by default if js disabled.
Avatar of Easwaran Paramasivam
Easwaran Paramasivam
Flag of India image

set the visible=true and style="display:block" in your div tag by default.
the default state should be visible

when page loads hide it with javascript. so if the browser doesn't support javascript nothing will happen and all will be visible.
Avatar of Kasonde Neddy
Kasonde Neddy

ASKER

Hi,

I have attached my code, new to jquery, pls help on how to implement..you may access the site n front end code at the following link....http://www.easywebzambia.com/mamco2011/

I assume, i remove the display none, but how do I enable the dispay none only if js is enabled..?
ASKER CERTIFIED SOLUTION
Avatar of Eyal
Eyal
Flag of Israel image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks experts