Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme »

Javascript Countdown


 
Prev Previous Post   Next Post Next
  #1  
Old Sep 12, 2011, 01:06 PM
bvimusic
 
25 posts · Jul 2010
Exclamation Javascript Countdown

Hello,

I am trying to add a javascript countdown to my page.
This should be simple enough but I've been struggling with it for way too many hours to even admit.

So, if I make a test .php page on my server with the script in the <head> tag and run it, it runs fine. When I then create a .js file and place that code in the ATO Theme Options > HTML Inserts: Header, it is returning an error. As a result, I feel like something is breaking between atahualpa and my page.. I don't really know what's happening.

Here is the page I'm working on:
http://www.hoodielife.com/time1.php

This code has a debug mode so I can see that it's a problem with acquiring the date / time from the server.. but this isn't the case when the code is part of the original .php page, only when I move it to a separate .js file.

Can someone please help?
 

Bookmarks



Similar Threads
Thread Thread Starter Forum Replies Last Post
Javascript Problem bvimusic Atahualpa 3 Wordpress theme 5 Sep 12, 2011 04:25 PM
javascript in a page cway Center area post/pages 1 Apr 30, 2011 03:03 PM
[SOLVED] Javascript Error in IE8 Ber|Art Header configuration & styling 1 Oct 31, 2010 01:28 AM


All times are GMT -6. The time now is 11:14 AM.


Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.