NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Programming
Reload this Page Javascript Plea!

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.

Advanced Search


Closed Thread
 
LinkBack Thread Tools
Old 04-27-2004, 02:42 AM THREAD STARTER               #1 (permalink)
New Member
Join Date: Apr 2004
Location: South East UK
Posts: 10
martyn187 is an unknown quantity at this point
 



Javascript Plea!


Hi guys,

More help needed :-)

I am working on a website for a radio station and I have a javascript which changes at the relevant times to show what's on.

I want to only have to update it once with any changes and for it to be displayed throughout the site.

I have been using the call i.e : <script src="filename.js"> for links but I cannot seem to get it to work for this time sensitive script.

Grateful for any help.
martyn187 is offline  
Old 04-27-2004, 03:09 AM   #2 (permalink)
Senior Member
Join Date: Aug 2002
Posts: 1,255
deadserious has a spectacular aura aboutdeadserious has a spectacular aura about
 



Can you give more info? I don't quite get how you're going about doing this without seeing the code or if you can explain a little more. It sounds like you're trying to have a javascript change something based on the time of day?
deadserious is offline  
Old 04-29-2004, 09:18 AM   #3 (permalink)
NamePros Regular
Join Date: Apr 2004
Posts: 322
9495 has a spectacular aura about9495 has a spectacular aura about
 



We have 2 way insert javascript in html pages:
1. <script language="javascript" src="filename.js"></script>
2. <script language="javascript">
<!--
//Javascript codes go here
//-->
</script>
3. <a href="javascript:history.go(-1)">Back</a>

So Maybe you forget </script>?
9495 is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


Liquid Web Smart Servers  
All times are GMT -7. The time now is 11:30 AM.

Managed Web Hosting by Liquid Web
Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger