Post new topic    Reply to topic
Login to print this topic
Author Message
c0ldfyr3
Andrew J Gurklies
PostPosted: Tue Jun 03, 2008 1:25 pm Reply with quote

PRO BRONZE
 
 


Joined: 02 May 2004
Posts: 3040
Location: 127.0.0.1
awesome, sounds good to me... and thank you.

right now the images are just changing with each refresh and the owner is getting upset.. lol i told him to hold on to his panties... i think he is....lol.
 
Back to top
poisonbl
Joshua M. Murphy
PostPosted: Tue Jun 03, 2008 3:16 pm Reply with quote

PRO Level 15
 
 


Joined: 15 Nov 2004
Posts: 1041
Location: WVU -- Morgantown, WV. -- USA (TZ: -5 hrs GMT, -4 DST)
jbullard wrote:
Sorry man, I have been so busy lately with other programming stuff. But, I would suggest using PHP as it is a much better solution for what you want. I will see if I can't create a script for you. May take a week but I will try and get something for you. At least something to start with. smilenod


Yeah .. right after I offered my help here, I ran into the same with general work (the sig work I posted elsewhere is actually a bit old itself, it just took that long to get around to posting it, and I haven't touched it since)

I'll take a glance at it again, now, I think ...
 
Back to top
c0ldfyr3
Andrew J Gurklies
PostPosted: Wed Jun 11, 2008 1:18 pm Reply with quote

PRO BRONZE
 
 


Joined: 02 May 2004
Posts: 3040
Location: 127.0.0.1
any luck?
 
Back to top
c0ldfyr3
Andrew J Gurklies
PostPosted: Wed Jun 18, 2008 4:25 am Reply with quote

PRO BRONZE
 
 


Joined: 02 May 2004
Posts: 3040
Location: 127.0.0.1
okay so i have been looking and looking and have come up with this...

Code:

function getCookie(c_name)
{
if (document.cookie.length>0)
  {
  c_start=document.cookie.indexOf(c_name + "=")
  if (c_start!=-1)
    {
    c_start=c_start + c_name.length+1
    c_end=document.cookie.indexOf(";",c_start)
    if (c_end==-1) c_end=document.cookie.length
    return unescape(document.cookie.substring(c_start,c_end))
    }
  }
return null
}

function setCookie(c_name,value,expiredays)
{
var exdate=new Date()
exdate.setDate(exdate.getDate()+expiredays)
document.cookie=c_name+ "=" +escape(value)+
((expiredays==null) ? "" : ";expires="+exdate)
}

function checkCookie()
{
username=getCookie('username')
if (username!=null)
  {alert('Welcome again '+username+'!')}
else
  {
  username=prompt('Please enter your name:',"")
  if (username!=null && username!="")
    {
    setCookie('username',username,7)
    }
  }
}



now i just need to remove the username parts and set it to use the server time and not client time...
 
Back to top
c0ldfyr3
Andrew J Gurklies
PostPosted: Sun Jun 22, 2008 12:57 pm Reply with quote

PRO BRONZE
 
 


Joined: 02 May 2004
Posts: 3040
Location: 127.0.0.1
no one?
 
Back to top
Back to top
Index >> Webmaster Domain & Code Room >> Image rotation with javascript help needed

Goto page Previous  1, 2

Page 2 of 2

Post new topic   Reply to topic


Tired of the Ads? Registered users have 80% less adverts.