• Resolved newbirddesign

    (@newbirddesign)


    Hello at this link newbirddesign(dot)com/blog

    is a site that i am creating for my freelance work – i have the entire site looking the way that i want it to except one thing. i cant get jquery or flash to show.

    when i use jquery the only thing that shows up is the arrows for the slide show but none of the pictures.

    when i use flash nothing shows up except for a white square. ( i thought it was the scripts folder, which is a common problem, but i checked and it seems like everything is in the right place.

    if anyone can help me out that would be greatly appreciated i have been working on trying to get this to work for a long time with no luck. if you need any more info i would be happy to inform you – THANKS!

Viewing 5 replies - 1 through 5 (of 5 total)
  • consult your host first..

    to use flash, you may need to add proper mime types to your domain.

    If everything is ok from the server end, can you provide a sample link with flash or jquery added ?

    Thread Starter newbirddesign

    (@newbirddesign)

    I called my host and they said that it should work just fine and i dont need to do anything extra to get flash to function.

    if you revist the same URL you will see an example how how it looks when i try to add the flash

    here is the code that i am adding to the header.php:

    <!-- header START -->
    <?php
    add_action('wp_head', 'your_function');
    ?>
    <?php wp_enqueue_script('jquery'); ?>
    <script src="../../../../Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
    
    <div id="header">
    
      <script type="text/javascript">
    AC_FL_RunContent( 'codebase','https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','1000','height','306','src','../img/flash','quality','high','pluginspage','https://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','../img/flash' ); //end AC code
    </script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="1000" height="306">
        <param name="movie" value="../img/flash.swf" />
        <param name="quality" value="high" />
        <embed src="../img/flash.swf" quality="high" pluginspage="https://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="1000" height="306"></embed>
      </object></noscript>
    
      <div id="caption">
      </div><!-- navigation START -->
    	<div id="navigation">
      <ul id="menus">
    			<li class="<?php echo($home_menu); ?>"><a class="home" title="<?php _e('Home', 'inove'); ?>" href="<?php echo get_settings('home'); ?>/"><?php _e('Home', 'inove'); ?></a></li>
    			<?php
    				if($options['menu_type'] == 'categories') {
    					wp_list_categories('depth=2&title_li=0&orderby=name&show_count=0');
    				} else {
    					wp_list_pages('depth=2&title_li=0&sort_column=menu_order');
    				}
    			?>
    			<li><a class="lastmenu" href="javascript:void(0);"></a></li>
    	  </ul>
    
    		<!-- searchbox START -->
    <!--		<div id="searchbox">
    			<?php if($options['google_cse'] && $options['google_cse_cx']) : ?>
    				<form action="https://www.google.com/cse" method="get">
    					<div class="content">
    						<input type="text" class="textfield" name="q" size="24" />
    						<input type="hidden" name="cx" value="<?php echo $options['google_cse_cx']; ?>" />
    						<input type="hidden" name="ie" value="UTF-8" />
    						<span class="switcher" ><?php _e('Switcher', 'inove'); ?></span>
    					</div>
    				</form>
    			<?php else : ?>
    				<form action="<?php bloginfo('home'); ?>" method="get">
    					<div class="content">
    						<input type="text" class="textfield" name="s" size="24" value="<?php echo wp_specialchars($s, 1); ?>" />
    						<span class="switcher" ><?php _e('Switcher', 'inove'); ?></span>
    					</div>
    				</form>
    			<?php endif; ?>
    		</div>-->
    		<!-- searchbox END -->
    
    		<div class="fixed"></div>
    	</div>
    	<!-- navigation END -->
      <div class="fixed"></div></div>
    
    <!-- header END -->
    Thread Starter newbirddesign

    (@newbirddesign)

    bump

    Thread Starter newbirddesign

    (@newbirddesign)

    bump

    your problem is your relative paths. Relative paths don’t work well on a dynamic site.

    If your files are within your theme files, then use <?php bloginfo('template_directory'); ?> which will supply the path to the theme directory. You can supply the rest of the path from there if you need to. If your files are outside of the themes directory, then you need to use <?php bloginfo('home'); ?> which will supply the URL to the top level of the site, and again you can supply the rest of the path from there.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘newbirddesign(dot)com/blog – cant get my jquery or flash to show up’ is closed to new replies.