free flash templates free css & photoshop templates free flash animation |
#11
|
|||
|
|||
This is what I did.
From the index file in the banner202 I copied this code <script type="text/javascript"> var requiredMajorVersion = 9; var requiredMinorVersion = 9; var requiredRevision = 0; var hasRightVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision); if(hasRightVersion) { AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0','width','850','height ','250','src','flash/header','quality','high','pluginspage','http://www.macromedia.com/go/getflashplayer','movie','flash/header','flashvars','custom_xml_url=custom.xml', 'bgcolor','#FFFFFF','scale','noScale'); //end AC code } else { alert("Your version of Flash player is rather old. We suggest you to upgrade your Flash player to version "+requiredMinorVersion+" (at least).The latest version can be downloaded here : http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash."); } </script> and pasted it into the body of my index page right below <div id="header"> . I put in the jscript folder of my template the js file that is in the banner jscript folder. Did the same with the flash file. I modified the custom file in the banner and the template as indicated in the "how to customize" instructions. <graphics_color>990000</graphics_color> <animation_loop>yes</animation_loop> <transition_time_seconds>5</transition_time_seconds> <header> <text_header_1 x_pos="480" y_pos="88.5" size="20" letter_spacing="0">Steppingstone Montessori</text_header_1> <text_header_2 x_pos="450" y_pos="150" size="10" letter_spacing="1.2">one step at a time towards your best</text_header_2> <image>custom_files/your_image1.jpg</image> </header> <header> <text_header_1 x_pos="480" y_pos="88.5" size="20" letter_spacing="0">Steppingstone Montessori</text_header_1> <text_header_2 x_pos="450" y_pos="150" size="10" letter_spacing="1.2">one step at a time towards your best</text_header_2> <image>custom_files/your_image2.jpg</image> </header> <header> <text_header_1 x_pos="480" y_pos="88.5" size="20" letter_spacing="0">Steppingstone Montessori</text_header_1> <text_header_2 x_pos="450" y_pos="150" size="10" letter_spacing="1.2">one step at a time towards your best</text_header_2> <image>custom_files/your_image3.jpg</image> </header> <header> <text_header_1 x_pos="480" y_pos="88.5" size="20" letter_spacing="0">Steppingstone Montessori</text_header_1> <text_header_2 x_pos="450" y_pos="150" size="10" letter_spacing="1.2">one step at a time towards your best</text_header_2> <image>custom_files/your_image4.jpg</image> </header> <header> <text_header_1 x_pos="480" y_pos="88.5" size="20" letter_spacing="0">Steppingstone Montessori</text_header_1> <text_header_2 x_pos="450" y_pos="150" size="10" letter_spacing="1.2">one step at a time towards your best</text_header_2> <image>custom_files/your_image5.jpg</image> </header> <music_file loop="no" music_control="no" play_music="no">sounds/music.mp3</music_file> <play_transition_sound_file>no</play_transition_sound_file> <display_preload graphic_color="FFFFFF">no</display_preload> <replay display="no" x_pos="520" y_pos="380" size="10" letter_spacing="1" bgd_color="000000" text_color="FFFFFF"> Replay</replay> </header_vars> After doing all these modifications the index file in the banner has the images at the right size but no text is displyed. It works on my computer not when I upload it on the net http://www.steppingstonemontessori.o...nner/index.htm I don't know why the header doesn't work on the web when it does on my computer. I also can't find a way for the text to display. The header banner doesn't work when I put it in the template: either on my computer or the web. http://www.steppingstonemontessori.org/trial/index.html Kamal |
|
|