Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Coding Forum


You are currently viewing our Coding Forum as a guest. Please register to participate.
Login



Reply
Javascript / Flash issue...
Old 09-06-2008, 10:33 PM Javascript / Flash issue...
Brian07002's Avatar
Defies a Status

Posts: 2,140
Name: ...
Location: ...
Trades: 0
I am helping a friend fix his site and I am having an issue with it...When I click a link on the main page of the site (center links *games*), a popup window will open, and the browser crashes...I am currently checking the javascript code and would appreciate it if someone could help me fix the issue quickly.

Website:
Code:
http://www.reelracing.com/
Thank you!
__________________
Made2Own

Please login or register to view this content. Registration is FREE

Last edited by Brian07002; 09-06-2008 at 11:15 PM.. Reason: Site name
Brian07002 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 09-07-2008, 09:13 PM Re: Javascript / Flash issue...
Brian07002's Avatar
Defies a Status

Posts: 2,140
Name: ...
Location: ...
Trades: 0
Anyone find the cause of the problem? I need to fix this up tonight, but can figure this one out

Here's a functions.js that opens the popup...I don't see anything wrong with this but perhaps I might have missed something?

Code:
// Opens Game Console.
function openConsole(myURL)
        {	
		
		newWin = window.open(myURL,"game","width=770,height=520,left=0,top=0,status=no,scrollbars=no,menubar=no,resizable=no") 
		                    						
        }
		
// Provides date/time stamp for anti-caching of Flash SWF files.		
var curDateTime = new Date()
var curHour = curDateTime.getHours()
var curMin = curDateTime.getMinutes()
var curSec = curDateTime.getSeconds()
var curTime = 
   	((curHour < 10) ? "0" : "") + curHour 
   	+ ((curMin < 10) ? "0" : "") + curMin 
   	+ ((curSec < 10) ? "0" : "") + curSec
Come to think of it, probably a db error...I am going to have a look at that later.

Tia,
-Brian
__________________
Made2Own

Please login or register to view this content. Registration is FREE

Last edited by Brian07002; 09-08-2008 at 05:19 PM..
Brian07002 is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Javascript / Flash issue...
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.22124 seconds with 12 queries