Page 1 of 1

Javascript not running on Macs

Posted: Wed Feb 18, 2009 4:47 pm
by toriasingla
I have a simple Java script for two dependent dropdowns on one of my pages.  It works great on virtually any computer that's on Mac.  I know Java script is based on the browser -- this is happening in both Firefox and Safari on Macs.

I'm pasting in a sample of the code here.  Does anyone have ideas about changes I could make to the code to make it work cross-browser?  Have to admit, I'm actually not a programmer by trade, so I may be beyond my capabilities if there is much to it! :)

====

{literal}

{/literal}

{if $ccuser->loggedin()}
Select Category Community Groups Domestic Services

Re: Javascript not running on Macs

Posted: Tue Feb 24, 2009 8:08 pm
by sleepingcavalry
It seems your script is not cross-browser.  The most immediate solution to this, that I can think of, is to start with a framework.

Jquery seems to be the JS framework of choice on CMSMS.  Also, for common functionality such as dropdowns, there are a number of reliable plugins on the jquery framework. 

Depending on the nature of your interface, I would also recommend using the suckerfish dropdown.  It is a strong setup and uses only CSS.

Re: Javascript not running on Macs

Posted: Tue Feb 24, 2009 8:13 pm
by calguy1000
Please post questions specifically related to CMS Made Simple.

Follow the forum rules.

You've been warned.