Results 1 to 4 of 4

Thread: html boxes - one works but the other doesnt-help !
      
   

  1. #1
    dazbug is offline Corporal
    Join Date
    Dec 2006
    Posts
    14

    Default html boxes - one works but the other doesnt-help !

    Hi guys, and great support forums. I have a big problem

    If you look at my site http://www.hd-world.net/ you see i have 2 countdown timers.'

    Originally i just had the one. I just posted the html code and pasted it in to a html box. worked fine for the *********** one.

    Then i did the same with the **** one, but when publish it, only one works. When i delete the *********** one, and just have the **** one, it works, so the code is fine. But it wont let me run the two on the same page at the same time?

    what am i doing wrong?

    thanks in advance

  2. #2
    LadyEye's Avatar
    LadyEye is offline General & Forum Moderator
    Join Date
    Jun 2006
    Location
    Canada
    Posts
    10,548

    Default Re: html boxes - one works but the other doesnt-help !

    Doesn't sounds as though you are doing anything wrong, unless you are inserting both scripts into one .html box ... if not, probably conflicting scripts, I'm not really sure ...

    Nice site by the way ....

    VodaHost

    Your Website People!
    1-302-283-3777 North America / International
    07031847328 / United Kingdom

    ------------------------

    Top 3 Best Sellers

    Web Hosting - Unlimited disk space & bandwidth.

    Reseller Hosting - Start your own web hosting business.

    Search Engine & Directory Submission - 300 directories + (Google,Yahoo,Bing)



  3. #3
    Bethers's Avatar
    Bethers is offline Major General & Forum Moderator
    Join Date
    Feb 2006
    Posts
    5,232

    Default Re: html boxes - one works but the other doesnt-help !

    You have the head tag - close it - then open a new head tag - you can only have one head tag on the page - I'm guessing this is causing you trouble.

    After the first countdown banner, you have a </head> that should be removed.

    Before and after the 2nd banner, you added head tags that both need to be removed.

  4. #4
    dazbug is offline Corporal
    Join Date
    Dec 2006
    Posts
    14

    Default Re: html boxes - one works but the other doesnt-help !

    Thanks Bethers for your help, worked a treat. I also has to only use one init() function call to start both counters.

    I hate html :)

    Thanks again guys,

    as always appreciated

    darren

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49