randomness17
Member
Posted 3 years ago #
On the website I'm building:
http://randomness17.byethost12.com/
I'm trying to add this flash header:
http://randomness17.byethost12.com/wp-content/themes/gamezine/images/moviefinal.swf
I'm finding it hard to do that because any advice i've found from google doesnt seem to work on this template.
Any help will be greatly welcomed,
Thanks
randomness17
Member
Posted 3 years ago #
randomness17
Member
Posted 3 years ago #
what if you use something like this?
<a href="http://www.blogurl.com">
<object width="468" height="60"><param name="movie" value="http://www.url.com/be_banner.swf">
<embed src="http://www.url.com/be_banner.swf" width="468" height="60"></embed>
</object></a>
I think you should place it in the #top tag.
randomness17
Member
Posted 3 years ago #
what should i replace it with?
randomness17
Member
Posted 3 years ago #
At the moment it is:
#top {
height:158px;
margin:auto;
background:#f5f3f3 url(images/head.jpg);
background-repeat:no-repeat;
}
where do i put the code above? between the top tags?
No, you have to place it in the html-code.
randomness17
Member
Posted 3 years ago #
sorry, but where will this be?
Iwent with an animated GIF to avoid just this problem. A buddy used wp-head.php as part of a plugin to get his own control over the design of the header. Do a search on "wp-head.php" in forum.
randomness17
Member
Posted 3 years ago #
tried making a .gif, but that was 50mb lol. will do the search, thanks.
randomness17
Member
Posted 3 years ago #
im not much of a jedi-wizard so if someone could post/link to a step by step guide that would be great.
randomness17
Member
Posted 3 years ago #
randomness17
Member
Posted 3 years ago #
dig1618
Member
Posted 3 years ago #
maybe this might help.
i think you'll need this. and code similar to this.
randomness17
Member
Posted 3 years ago #
Sorry I'm still confused.
I don't know where to put any of this code, if someone could please help.
the template can be found at
http://web2feel.com/gamezine-theme/
dig1618
Member
Posted 3 years ago #
read this. make backup, experiment and play.
consider a gif or png. and also the rotating header image as a solution.
also research, there are solutions.
randomness17
Member
Posted 3 years ago #
I can't make it into a gif because that would be 50MB.
My current header code is
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
<title><?php bloginfo('name'); ?> <?php if ( is_single() ) { ?> » Blog Archive <?php } ?> <?php wp_title(); ?></title>
<meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats -->
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="all" />
<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<link rel="stylesheet" type="text/css" href="<?php bloginfo('template_directory'); ?>/glide.css" media="screen" />
<link rel="stylesheet" type="text/css" href="<?php bloginfo('template_directory'); ?>/tabs.css" media="screen" />
<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/jquery-1.2.6.min.js"></script>
<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/superfish.js"></script>
<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/hoverIntent.js"></script>
<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/glide.js"></script>
<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/slider.js"></script>
<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/hover.js"></script>
<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/jquery-ui-personalized-1.5.2.packed.js"></script>
<script type="text/javascript">
jQuery(function(){
jQuery('ul.sf-menu').superfish();
});
</script>
<?php wp_get_archives('type=monthly&format=link'); ?>
<?php //comments_popup_script(); // off by default ?>
<?php wp_head(); ?>
</head>
<body>
<div class="wrapper">
<div id="foxmenucontainer">
<div id="menu">
<ul>
<li><a>">Home</a></li>
<?php wp_list_pages('title_li=&depth=1&sort_column=menu_order'); ?>
</ul>
</div>
</div>
<div class="clear"></div>
<div id="top">
<div class="blogname">
<h1><a>/" title="<?php bloginfo('name');?>"><?php bloginfo('name');?></a></h1>
<h2><?php bloginfo('description'); ?></h2>
</div>
</div>
<div id="cat">
<ul class="sf-menu">
<?php wp_list_categories('sort_column=name&title_li=&depth=3'); ?>
</div>
<div class="clear"></div>
<div class="content">
So if anyone can help put the flash at
http://randomness17.byethost12.com/wp-content/themes/gamezine/images/head.swf
in it that would be great.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
<title><?php bloginfo('name'); ?> <?php if ( is_single() ) { ?> » Blog Archive <?php } ?> <?php wp_title(); ?></title>
<meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats -->
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="all" />
<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<link rel="stylesheet" type="text/css" href="<?php bloginfo('template_directory'); ?>/glide.css" media="screen" />
<link rel="stylesheet" type="text/css" href="<?php bloginfo('template_directory'); ?>/tabs.css" media="screen" />
<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/jquery-1.2.6.min.js"></script>
<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/superfish.js"></script>
<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/hoverIntent.js"></script>
<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/glide.js"></script>
<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/slider.js"></script>
<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/hover.js"></script>
<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/jquery-ui-personalized-1.5.2.packed.js"></script>
<script type="text/javascript">
jQuery(function(){
jQuery('ul.sf-menu').superfish();
});
</script>
<?php wp_get_archives('type=monthly&format=link'); ?>
<?php //comments_popup_script(); // off by default ?>
<?php wp_head(); ?>
</head>
<body>
<div class="wrapper">
<div id="foxmenucontainer">
<div id="menu">
<ul>
<li><a>">Home</a></li>
<?php wp_list_pages('title_li=&depth=1&sort_column=menu_order'); ?>
</ul>
</div>
</div>
<div class="clear"></div>
<div id="top">
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="300" height="211" id="puff_forstasida_flash_vip_raimat" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="allowFullScreen" value="false" />
<param name="movie" value="http://randomness17.byethost12.com/wp-content/themes/gamezine/images/head.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#000000" /> <embed src="http://randomness17.byethost12.com/wp-content/themes/gamezine/images/head.swf" quality="high" bgcolor="#000000" width="300" height="211" name="flash_header" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
<div class="blogname">
<h1><a>/" title="<?php bloginfo('name');?>"><?php bloginfo('name');?></a></h1>
<h2><?php bloginfo('description'); ?></h2>
</div>
</div>
<div id="cat">
<ul class="sf-menu">
<?php wp_list_categories('sort_column=name&title_li=&depth=3'); ?>
</div>
<div class="clear"></div>
<div class="content">
You probably have to mess around with sizes and so in the include-code and the css-code for "#top" aswell.