![]()  | 
| 
 
Reviews, updates and in depth guides to your favourite mobile games - AppGamer.com
 
 | 
|
Cookie for username... | 
|
| Page: 1 | Reply | 
| Apr 14th 2001 | #1630 Report | 
	![]() Posts: 9  | 
			howdy.. A webpage that Im designing at the moment has a need for a username to be displayed in plain text in a corner of a table. I know the calls that it makes, SetCookie and GetCookie, and I downloaded a behaviour for it in DW, but I couldnt implement it. Can anyone help me? Even if getting the Username involves using a popup box, then stores the input as a cookie for the next time the user logs on. Any help would be greatly appreciated. Also, how do I get the colured forms? Eg, instead of grey, You can make your comments form blue etc. I remember a tutorial for this, does anyone have the link? Thanks in Advance.  | 
| Reply with Quote Reply | |
| Apr 23rd 2001 | #2175 Report | 
	![]() Posts: 36  | 
			you can set  cookie just like this [code] function setcookies(){ var exp=new Date(); var oneYearNow=exp.getTime()+(365824860*60*1000); document.cookie="username=yoursname;expires="+exp.toGMTString(); alert(document.cookie); } [/code]  | 
| Reply with Quote Reply | |
| Apr 28th 2001 | #2508 Report | 
	![]() Posts: 9  | 
			like what?
			  | 
| Reply with Quote Reply | |
| Apr 28th 2001 | #2515 Report | 
	![]() Posts: 2421  | 
			elestorm I edited your post so the code would show...  | 
| Reply with Quote Reply | |
| Apr 29th 2001 | #2543 Report | 
	![]() Posts: 9  | 
			ta
			  | 
| Reply with Quote Reply | |
| Apr 30th 2001 | #2577 Report | 
	![]() Posts: 36  | 
			thank you . but i don't know "ta" well  | 
| Reply with Quote Reply | |
| Page: 1 | Back to top | 
| Please login or register above to post in this forum | 
| © Web Media Network Limited. All rights reserved. No part of this website may be reproduced without written permission. Photoshop is a registered trademark of Adobe Inc.. TeamPhotoshop.com is not associated in any way with Adobe, nor is an offical Photoshop website. |