MyBB Community Forums

Full Version: Load logo once
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I got flash logo on my board - www.vitz-omsk.com
and i'd like to make board load logo just once, when you enter the board.
You would need to create 2 flashes...then use javascript and cookies to display the full version only upon first visit. This is part of the reason flash animations in the header suck. Why not just do a simple animated gif.
i need some interactive (buttons etc.)
Use hover buttons/CSS or the following Javascript code,

<head>
<script type="text/javascript">

	function move_in(img_name,img_src) {
		document[img_name].src=img_src;
	}

	function move_out(img_name,img_src) {
		document[img_name].src=img_src;
	}

</script>
</head>

<body>
<a href="#" 	OnMouseOver="move_in('top1','search_on.gif')"
		OnMouseOut="move_out('top1','search.gif')">

<img src="search.gif" name="top1" /></a>
</body>
should i put it into index.php? and what is it - search_on.gif ?
yes into your index file, and search_on is the name of file you wish to show when you "hover" over the image with your mouse cursor.
i don't need to show gif on hover, i have already logo on flash and it has it's own hover actions
My Idea was an alternative.

But you can also use it for buttons such as search, help, member list etc..
thx Smile