Code not working on firefox

This is a discussion on "Code not working on firefox" within the Web Page Design section. This forum, and the thread "Code not working on firefox are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Jan 2nd, 2006, 11:14
New Member
Join Date: Jan 2006
Age: 36
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Code not working on firefox

I have a flash banner on very top of page and it works fine on MSN browser but not netscape or firefox what is wrong with code?

Code 1


Code: Select all
   <script language="JavaScript" src="home_files/header.js" type="text/javascript"></script>

Code 2


Code: Select all
  var color              = "666666"     // HEADER BACKGROUND COLOR
 var flashheight        = "50"         // HEIGHT OF THE FLASH (IN PIXELS)
 var flashwidth         = "750"        // WIDTH OF THE FLASH (IN PIXELS)
 
 document.write('<TABLE cellpadding=0 cellspacing=0 border=0 width="100%" BGCOLOR="#'+color+'"><tr><td ALIGN="LEFT">');
 document.write('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" WIDTH="'+flashwidth+'" HEIGHT="'+flashheight+'" id="logo" ALIGN="">');
 document.write('<PARAM NAME=movie VALUE="flash/logo.swf">');
 document.write('<PARAM NAME=quality VALUE=high>');
 document.write('<PARAM NAME=wmode VALUE=transparent>');
 document.write('<PARAM NAME=bgcolor VALUE=#'+color+'>');
 document.write('<EMBED src="logo.swf" quality=high wmode=transparent bgcolor=#'+color+' WIDTH="'+flashwidth+'" HEIGHT="'+flashheight+'" NAME="logo" ALIGN="" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer">');
 document.write('</EMBED>');
 document.write('</OBJECT><br>');
 document.write('</td></tr></table>');

Last edited by benbramz; Jan 2nd, 2006 at 15:55.
Reply With Quote

  #2 (permalink)  
Old Jan 2nd, 2006, 15:56
Highly Reputable Member
Join Date: May 2005
Location: U.K
Age: 21
Posts: 739
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to benbramz
Re: Code not working on firefox

is there a url we can look at? also, please use [code] tags in future for posting code.

: and D make , so i had to replace it in your code...lol
Reply With Quote
  #3 (permalink)  
Old Jan 2nd, 2006, 20:05
New Member
Join Date: Jan 2006
Age: 36
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Code not working on firefox

www.vocoders.net
Reply With Quote
  #4 (permalink)  
Old Jan 2nd, 2006, 20:14
Junior Member
Join Date: Jan 2006
Age: 30
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to bmsterling Send a message via Yahoo to bmsterling
Re: Code not working on firefox

acid,
make sure you are consistant with the use of quotes


Code: Select all
border=0
should be
Code: Select all
border="0"
and make sure everything is lowercase. I found that sometimes firefox is sensetive to that.
Reply With Quote
Reply

Tags
code, working, firefox

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing image not working in Firefox PoetAlley JavaScript Forum 5 Sep 27th, 2007 14:12
Some javascript not working in Firefox jonnymorris Web Page Design 4 Sep 18th, 2007 14:02
Some javascript not working in Firefox jonnymorris JavaScript Forum 4 Sep 18th, 2007 10:47
javascript working fine in IE but cannot work in Firefox web20tester JavaScript Forum 0 May 21st, 2007 17:37
css not working in firefox NeilW Web Page Design 8 Dec 6th, 2006 13:40


All times are GMT. The time now is 17:42.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43