Flash float

Discussion in 'JavaScript' started by nesmajnik, Feb 21, 2008.

  1. #1
    I have transparent flash and I need to show it on my web page like this. Can anyone help on this?PLEASE!!!
     
    nesmajnik, Feb 21, 2008 IP
  2. nesmajnik

    nesmajnik Member

    Messages:
    6
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    36
    #2
    var PAGE = document.URL;
    var AUTO_PLAY;
    var SHOW;
    var P;
    var show_yaoti = new Boolean(true);
    
    var MOVEON = '<sc'+'ript language="JavaScript" src="http://www.testpage.com/images/flash/flash/free_yaoticode.php?UID='+UID+'&URL='+encodeURI(PAGE)+'&POSX='+POSX+'&POSY='+POSY+'&AUTO_PLAY='+AUTO_PLAY+'&SHOW='+SHOW+'&P='+P+'"></script>';
    
    function getCookie(name){
       var i=0  //Suchposition im Cookie
       var suche = name+"="
       while (i<document.cookie.length){
          if (document.cookie.substring(i, i+suche.length)==suche){
             var ende = document.cookie.indexOf(";", i+suche.length)
             ende = (ende>-1) ? ende : document.cookie.length
             var cook = document.cookie.substring(i+suche.length, ende)
             return unescape(cook)
          }
          i++
       }
       return null
    }
    
    
     function createCookie(name,value,days) {
    	if (days) {
    		var date = new Date();
    		date.setTime(date.getTime()+(days*24*60*60*1000));
    		var expires = "; expires="+date.toGMTString();
    	}
    	else var expires = "";
    	document.cookie = name+"="+value+expires+"; path=/";
    }
    
    
    
    if (SHOW == "always")
    	{
    	show_yaoti = true;
    	}
    else if (SHOW == "session")
    	{
    	if (getCookie("YAOTI_JS_C_"+UID) == null)
    		{
    		createCookie("YAOTI_JS_C_"+UID, UID, null, 0);
    		}
    	else 
    		{
    		show_yaoti = false;
    		}
    	}
    else if (SHOW >= 0)
    	{
    	if (getCookie("YAOTI_JS_C_"+UID) == null)
    		{
    		createCookie("YAOTI_JS_C_"+UID, UID, SHOW);
    		}
    	else 
    		{
    		show_yaoti = false;
    		}
    	}
    		
    if (show_yaoti == true)
    	{
    	document.write(MOVEON);
    	}
    	
    
    PHP:
    This is the code they use I mean script. Can I change it to fit my need???
     
    nesmajnik, Feb 21, 2008 IP
  3. nesmajnik

    nesmajnik Member

    Messages:
    6
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    36
    #3
    Common guys!This can be very useful for community!Can anyone help?
     
    nesmajnik, Feb 21, 2008 IP
  4. nesmajnik

    nesmajnik Member

    Messages:
    6
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    36
    #4
    I can not post on http://forums.digitalpoint.com/forumdisplay.php?f=103
    I know I'm new user and I can't post on that category.
    So,i will putt this proposal in this post and I ask administrator to give me relevant privilage to post it in the right category.
    I'm ready to pay some amount of money (10 $) to make script:

    :: Play transparent flash on any position on web.
    :: To play only once or two per one session
    :: And possibility to play that flash from link
     
    nesmajnik, Feb 21, 2008 IP