It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Board index DEVPPL.com Feedback / Bug report

header

Report bugs and tell us what you want on DEVPPL and in this forum.

header

Postby Phate on Wed Mar 16, 2005 11:10 pm

I just thought that the header was a little plain.... so I made some basic animated headers.... Feedback would be great!

http://zbrooks.com/dev.html

Check them out


EDIT::

I realize that some people dont have flashplayer, so i think that this code will help out

Code: Select all
<script language="javascript">
         <!--
         var MM_contentVersion = 6;
         var plugin = (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"]) ? navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin : 0;
         if ( plugin ) {
               var words = navigator.plugins["Shockwave Flash"].description.split(" ");
                for (var i = 0; i < words.length; ++i)
                {
               if (isNaN(parseInt(words[i])))
               continue;
               var MM_PluginVersion = words[i];
                }
            var MM_FlashCanPlay = MM_PluginVersion >= MM_contentVersion;
         }
         else if (navigator.userAgent && navigator.userAgent.indexOf("MSIE")>=0
            && (navigator.appVersion.indexOf("Win") != -1)) {
            document.write('<SCR' + 'IPT LANGUAGE=VBScript\> \n'); //FS hide this from IE4.5 Mac by splitting the tag
            document.write('on error resume next \n');
            document.write('MM_FlashCanPlay = ( IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash." & MM_contentVersion)))\n');
            document.write('</SCR' + 'IPT\> \n');
         }
         if ( MM_FlashCanPlay ) {
               document.write('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"');
            document.write('  codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" ');
            document.write(' ID="devnav" WIDTH="225" HEIGHT="134" ALIGN="">');
            document.write(' <PARAM NAME=movie VALUE="http://zbrooks.com/devnav.swf"> <PARAM NAME=menu VALUE=false> <PARAM NAME=quality VALUE=high>  ');
            document.write(' <EMBED src="http://zbrooks.com/devnav.swf" menu=false quality=high  ');
            document.write(' swLiveConnect=FALSE WIDTH="225" HEIGHT="134" NAME="devnav" ALIGN=""');
            document.write(' TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer">');
            document.write(' </EMBED>');
            document.write(' </OBJECT>');
         } else{
            document.write('<IMG src="templates/subSilver/images/menu1.gif" WIDTH="225" HEIGHT="134" border="0">');
         }
         //-->
                           </script>
Web-Developing since '03
Image
User avatar
Phate
500+ Club
 
Posts: 826
Joined: Sun Nov 21, 2004 4:12 am
Location: 127.0.0.1

Postby webmaster on Thu Mar 17, 2005 7:04 am

If I add that code, visitors without a flashplayer will just see the .gif image?
Make sure to check out our TNX Review and Link Vault Review
User avatar
webmaster
Site Admin
 
Posts: 2695
Joined: Tue Aug 17, 2004 1:07 pm
Location: Sweden

Postby Phate on Thu Mar 17, 2005 5:37 pm

I believe so... unless there is a problem in the code. I will look over it again, but i think it should work. If you would like me to test it out, I can...
Web-Developing since '03
Image
User avatar
Phate
500+ Club
 
Posts: 826
Joined: Sun Nov 21, 2004 4:12 am
Location: 127.0.0.1

Postby webmaster on Thu Mar 17, 2005 6:08 pm

Ok that's great, I will think about it and maybe make some flash-header. I have alot of things to do at the moment, but I will reprogram DEVPPL later, make the vode much better, maybe I will wait until then and make the whole header in flash.
Make sure to check out our TNX Review and Link Vault Review
User avatar
webmaster
Site Admin
 
Posts: 2695
Joined: Tue Aug 17, 2004 1:07 pm
Location: Sweden

Postby Phate on Thu Mar 17, 2005 9:06 pm

I will help you out if you would like....

:)
Web-Developing since '03
Image
User avatar
Phate
500+ Club
 
Posts: 826
Joined: Sun Nov 21, 2004 4:12 am
Location: 127.0.0.1

Postby webmaster on Thu Mar 17, 2005 9:53 pm

I know some Flash, I can do a header like that, but maybe I need some help with animating the in it, but I don't have time for that now.
Make sure to check out our TNX Review and Link Vault Review
User avatar
webmaster
Site Admin
 
Posts: 2695
Joined: Tue Aug 17, 2004 1:07 pm
Location: Sweden

Postby ReFredzRate on Wed Mar 23, 2005 8:21 am

Nice work Phate, me likes :D
ReFredzRate
1000+ Club
 

Postby Phate on Wed Mar 23, 2005 9:04 pm

Thanks :)

I do what I can...
Web-Developing since '03
Image
User avatar
Phate
500+ Club
 
Posts: 826
Joined: Sun Nov 21, 2004 4:12 am
Location: 127.0.0.1


Who is online

Users browsing this forum: No registered users and 0 guests