Jump to content

oldarney

Members
  • Posts

    3
  • Joined

  • Last visited

oldarney's Achievements

Newbie

Newbie (1/7)

0

Reputation

  1. o thank you thank you thank you so much great it works!!
  2. oldarney

    FLASH Versus HTML

    i remember there was this survey of flash and other plug ins and the results where that 90% of internet users have flash and its only 930kb to download.compared to real one 14mb and windows media 10mb im mensioning these vedio plug ins cus flash can be used to deliver video. about those full flash web sites i think its dum to make a web site in one .swf its crazy unless an intro witch then you would need a link to the home page and some js to make the user see the intro only once.runescape nemesis websitehere is a nice full flash single .swf web site not a lot to dowload small and flashy!
  3. i cant make this work i need to put a cookie in the users computer when they see the flash intro and then redirect them to the home page when they come again.i took this script from the js tutorials and tweeked it to work for me but my tweeking is really lousy i think its a syntax error or somthing help!!! <html><head><script type="text/javascript">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.setTime(exdate.getTime()+(expiredays*24*3600*1000))document.cookie=c_name+ "=" +escape(value)+((expiredays==null) ? "" : "; expires="+exdate)}function checkCookie(){username=getCookie('username')if (username!=null) {a href="#http://www.w3schools.com"}else { username=("youve been here") if (username!=null||username!="") { setCookie('username',username,365) } }}</script></head><body onLoad="checkCookie()"></body></body></html>
×
×
  • Create New...