Dethman Posted June 24, 2009 Share Posted June 24, 2009 Ok I need to know why this is not working I cannot get it to work. Its not exactly working as I wanted it to. <SCRIPT LANGUAGE="JavaScript"> var msgVar = "Welcome back "user", you are now being logged in. <BR> <font size='-2'>This box will redirect you in 7 seconds."; function(){TINY.box.show(msgVar,0,0,0,0,7)} </SCRIPT> Thanx For any Help Quote Link to comment Share on other sites More sharing options...
deth4uall Posted June 24, 2009 Share Posted June 24, 2009 Change var msgVar = "Welcome back "user", you are now being logged in. <BR> <font size='-2'>This box will redirect you in 7 seconds."; To var msgVar = "Welcome back "+user+", you are now being logged in. <BR> <font size='-2'>This box will redirect you in 7 seconds."; Also get the AddOn "Web Developer" for Mozilla Firefox, it tells you where errors are... Quote Link to comment Share on other sites More sharing options...
Dethman Posted June 25, 2009 Author Share Posted June 25, 2009 Does this script call and run the function or just creates the function? Quote Link to comment Share on other sites More sharing options...
Ken2k7 Posted June 25, 2009 Share Posted June 25, 2009 Neither. The following line doesn't make sense - function(){TINY.box.show(msgVar,0,0,0,0,7)} Quote Link to comment Share on other sites More sharing options...
Dethman Posted June 25, 2009 Author Share Posted June 25, 2009 THATS WHAT I THOUGHT! IT was a very strange funtion call than used in PHP Quote Link to comment Share on other sites More sharing options...
Ken2k7 Posted June 25, 2009 Share Posted June 25, 2009 Try taking out the function part and just leave with - TINY.box.show(msgVar, 0, 0, 0, 0, 7); Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.