totalbids |
First Post Posted on: 02-19-08 02:09 PM |
Javascript |
|
Can javascript be used in a class template. IE, I need to insert some javascript in the WELCOME AREA class. Is this allowed?? |
|
|
|
|
|
mewsoft |
Reply #: 1 Posted on: 02-19-08 02:28 PM |
Re: Javascript |
|
Yes you can use any programming as the template file is compiled with all the classes code before it is sent to the browser, so you can use JS or CSS normal in any template or class. |
Mewsoft Support www.mewsoft.com
|
|
|
|
|
totalbids |
Reply #: 2 Posted on: 02-19-08 02:49 PM |
Re: Javascript |
|
I have treid inputting the java into the welcome area class and it shows up on the home page but the function of the item wont work.
Basically i am trying to input a "Liveclock" function as i think this would be a lot nicer than the static clock we have at present. The script is all written and i had it running on other sites, but can seem to get it running on this one. I'm sure that other users would like this feature.
Basically what it does is looks at the users local time and displays the clock in a format chosen by the webmaster and updates every second so that it looks like a live clock.
Would admin consider adding this as a future enhancement?? |
|
|
|
|
|
totalbids |
Reply #: 3 Posted on: 02-19-08 10:36 PM |
Re: Javascript |
|
|
|
ctoshack |
Reply #: 4 Posted on: 02-20-08 12:45 AM |
Re: Javascript |
|
Send me the code and I'll see if I can get it to work... |
|
|
|
|
|
totalbids |
Reply #: 5 Posted on: 02-20-08 12:47 AM |
Re: Javascript |
|
Ctoshack.
Have you got email as i need to send you a file aswell. |
|
|
|
|
|
totalbids |
Reply #: 6 Posted on: 02-20-08 12:49 AM |
Re: Javascript |
|
|
|
|