Javascript not running on Macs

General project discussion. NOT for help questions.
Post Reply
toriasingla
New Member
New Member
Posts: 3
Joined: Tue Jan 27, 2009 1:22 pm

Javascript not running on Macs

Post 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
sleepingcavalry
Forum Members
Forum Members
Posts: 19
Joined: Thu Feb 05, 2009 1:37 am

Re: Javascript not running on Macs

Post 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.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm
Location: Fernie British Columbia, Canada

Re: Javascript not running on Macs

Post by calguy1000 »

Please post questions specifically related to CMS Made Simple.

Follow the forum rules.

You've been warned.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Post Reply

Return to “General Discussion”