Page 1 of 1

Custom designed xml driven flash calander stylesheet problem

Posted: Wed Jan 20, 2010 1:34 pm
by buntrosgali
hey guys

i got a flash person to create this nice calender for me

my site

it is perfect but the problem is i cant get the pop up working when i embed it into my cms template.

here is it here

index page

i know its just a stylesheet, js file location and link problem but nither me or him can get it working.

can anyone advise?

Re: Custom designed xml driven flash calander stylesheet problem

Posted: Wed Jan 20, 2010 1:48 pm
by Ziggywigged

Re: Custom designed xml driven flash calander stylesheet problem

Posted: Wed Jan 20, 2010 9:10 pm
by Dr.CSS
And you are not just using a lightbox pop up type thing with CGCalendar why?...

Re: Custom designed xml driven flash calander stylesheet problem

Posted: Wed Jan 20, 2010 11:18 pm
by buntrosgali
im not aware of this i will look into it now

Re: Custom designed xml driven flash calander stylesheet problem

Posted: Wed Jan 20, 2010 11:21 pm
by buntrosgali
ok ive had a look at it, but im not a programmer, how would you go about coding such a calender with this?

Re: Custom designed xml driven flash calander stylesheet problem

Posted: Thu Jan 21, 2010 10:35 pm
by buntrosgali
can some one help me with this ?

i really need this working by weekend.

Re: Custom designed xml driven flash calander stylesheet problem

Posted: Fri Jan 22, 2010 12:40 am
by Ziggywigged
Did you read the link I posted? Most likely you need to wrap your javascript, which uses {curly brackets}, with literal tags.

Code: Select all

{literal}
<__script__ type="text/javascript">
		
		var flashvars = { calXML:"month.xml" };
		
		var params = { menu:"false", AllowScriptAccess: "always", scale: "noScale" };

		var attributes = { id: "calender"};

        swfobject.embedSWF('calendar300.swf', 'calender', '300', '320', '9.0','swfobject/expressinstall.swf', flashvars,params,attributes);

$(document).ready(function() { 
      $(".gallery a[rel^='prettyPhoto']").prettyPhoto({theme:'facebook'});
}); 
               
	</__script>
{/literal}

Re: Custom designed xml driven flash calander stylesheet problem

Posted: Fri Jan 22, 2010 8:46 pm
by buntrosgali
i did but i still cant get it working:

here is the code at the moment


Armagh Soccer Leagues 7 A Side Football Leagues Armagh Northern Ireland
{stylesheet}




   
{* This is how all the stylesheets attached to this template are linked to *}














{literal}
var flashvars = { calXML:"month.xml" };

var params = { menu:"false", AllowScriptAccess: "always", scale: "noScale" };

var attributes = { id: "calender"};

        swfobject.embedSWF('calendar300.swf', 'calender', '300', '320', '9.0','swfobject/expressinstall.swf', flashvars,params,attributes);

$(document).ready(function() {
      $(".gallery a[rel^='prettyPhoto']").prettyPhoto({theme:'facebook'});
});
              {/literal}



















  {* Start Navigation *}
     
        Navigation
          {menu template='cssmenu.tpl'}
     

   



         
         
         








{news detailpage="news" category="general" number="4"}




 
   
       
     
                                   
                                  {FormBuilder form='sample_form'}
{content}

                               

                   


                         
 

                                 
 




   





                          {global_content name='twitterlogo'}





 
   
    Subscribe to our twitter rss feed
 



   





   

 

-->



id be willing to pay someone to fix this for me asap