Our website is made possible by displaying online advertisements to our visitors.
Please consider supporting us by disabling your ad blocker.
Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12

Thread: Anyone know Javascript?

  1. #11
    Jiggles's Avatar
    Join Date
    Mar 2006
    Location
    Edinburgh, Scotland.
    Age
    32
    Posts
    8,327

    Default

    Marc you are a star! How was it fixed?

  2. #12
    Web Guru Marc J's Avatar
    Join Date
    Feb 2007
    Location
    Edinburgh
    Posts
    3,340

    Default

    Quote Originally Posted by CB Entertainments View Post
    Marc you are a star! How was it fixed?
    I'm no expert with javascript....I think the function expected a parameter to be included and that caused the "undefined" error. So I added that and it was OK.

    Thinking about it, it would probably have been a lot easier to replace: -

    <div id='NowOn'><script type="text/javascript">document.write(NowON())</script></div>
    with

    <div id='NowOn'><script type="text/javascript">NowON()</script></div>
    in your original code. Should work and be less complicated than what I did.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •