Custom designed xml driven flash calander stylesheet problem

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
buntrosgali
Forum Members
Forum Members
Posts: 167
Joined: Thu Apr 17, 2008 9:02 pm

Custom designed xml driven flash calander stylesheet problem

Post 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?
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Custom designed xml driven flash calander stylesheet problem

Post by Dr.CSS »

And you are not just using a lightbox pop up type thing with CGCalendar why?...
buntrosgali
Forum Members
Forum Members
Posts: 167
Joined: Thu Apr 17, 2008 9:02 pm

Re: Custom designed xml driven flash calander stylesheet problem

Post by buntrosgali »

im not aware of this i will look into it now
buntrosgali
Forum Members
Forum Members
Posts: 167
Joined: Thu Apr 17, 2008 9:02 pm

Re: Custom designed xml driven flash calander stylesheet problem

Post 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?
buntrosgali
Forum Members
Forum Members
Posts: 167
Joined: Thu Apr 17, 2008 9:02 pm

Re: Custom designed xml driven flash calander stylesheet problem

Post by buntrosgali »

can some one help me with this ?

i really need this working by weekend.
Ziggywigged
Power Poster
Power Poster
Posts: 424
Joined: Sat Feb 02, 2008 12:42 am

Re: Custom designed xml driven flash calander stylesheet problem

Post 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}
Take a penny, leave a penny.
buntrosgali
Forum Members
Forum Members
Posts: 167
Joined: Thu Apr 17, 2008 9:02 pm

Re: Custom designed xml driven flash calander stylesheet problem

Post 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
Last edited by buntrosgali on Fri Jan 22, 2010 9:00 pm, edited 1 time in total.
Post Reply

Return to “Layout and Design (CSS & HTML)”