Current location: Hot Scripts Forums » General Web Coding » CSS » Dreamweaver, javascript and firefox


Dreamweaver, javascript and firefox

Reply
  #1 (permalink)  
Old 08-11-08, 01:34 PM
tellkevv tellkevv is offline
New Member
 
Join Date: Aug 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Dreamweaver, javascript and firefox

I have been building websites for some time using DW 8 but a problem has been brought to my attention if you view one of my websites in firefox. The crux of the problem is that the javascript gets mangled by firefox. The website in question is:

http://www.greenjackets-net.org.uk/telford/index.html

Viewed in IE7 or below it is fine but viewed in firefox it is a mess.

I have left the code open for anyone who wishes to look at it.

Is there a fix? I am not good enough at programming to write in pure code preferring WYSWYG. On the parent website (this being a branch website) the menu remains in place but a scrolling banner shifts left.

http://www.rgjassociation.info/ib/home.html

Any help would be much appreciated. Websites are designed to be viewed at a resolution of 1024 X 768

Thank you

Kevin Stevens
Webmaster
The Royal Green Jackets Regimental Association
Reply With Quote
  #2 (permalink)  
Old 08-11-08, 02:16 PM
TwoD TwoD is offline
Community VIP
 
Join Date: Sep 2003
Location: 404
Posts: 1,813
Thanks: 0
Thanked 0 Times in 0 Posts
This seems to be more an issue with HTML and CSS than JavaScript.
The first thing one should do before trying to fix layout issues is to check if the current markup is valid. This is easy to do by using the validators over at W3C, http://validator.w3.org/.

Simply imput your page URL or upload a file and you'll get a list of things to fix to make your markup standards compliant. After checking the HTML you should also check the CSS (click "other validators and tools).

Then you're most likely up for the task of not trying to get a headache over the differences in browser implementations/interpretations (and sometimes complete disregard) of those standards.

The guys hanging out in the CSS section here should be able to provide you with more detailed help when you encounter a problem the validators can't detect, so I'll move this thread there.

Btw, there's an extension for Firefox called Firebug, it's invaluable to have when it comes to manipulating and debugging HTML, CSS, scripts etc on the actual page as it also helps you out with the syntax. Together with the Web Developer Toolbar you'll get much better control of your site.
__________________
[W3Schools - learn all about the standards.] [QuirksMode - Browser Quirks] [MS's Online Reference Docs] [DOM in Gecko.]
Please pay attention to stickys, announcements and forum rules, thank you.
Please also remember Code Wrappers and [SOLVED] Marking, this helps everyone.
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
javascript keeps giving me headaches UnrealEd JavaScript 3 02-22-08 09:36 AM
Javascript ok in IE but not visible in FireFox Pip JavaScript 3 02-02-06 06:55 AM
more firefox javascript issues..please help ..!!! manu0310 JavaScript 2 01-18-06 09:21 AM
Javascript Calendar not displaying in firefox saintdark JavaScript 4 08-12-05 06:02 PM
javascript, displays in firefox right but not IE eGGy JavaScript 1 08-09-04 06:05 AM


All times are GMT -5. The time now is 02:11 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.