Go Back   CodingForums.com > :: Client side development > JavaScript programming > JavaScript frameworks

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 01-11-2010, 03:37 AM   PM User | #1
Fractur65
New to the CF scene

 
Join Date: Aug 2009
Location: U.S.
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Fractur65 is an unknown quantity at this point
Page only working in one of multiple browsers.

Wasn't quite sure if this should go in the HTML/CSS or Javascript forum since its bit of both. Having a hair more trouble with the JS/jQuery half of it so I chose this one, hopefully its fine. I made a quick, simple page to play around with some Javascript and jQuery and after getting a small amount of it done I went to test it on other browsers. On one of them there was the display changes in the page that I expected, the others.. I have no clue what to do to fix them. Out of IE, Avant, Opera, Chrome, and FF, Avant is the only one that the jQuery is working in. The <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
section, I know, keeps the layout looking right in both Avant and IE, and with it FF and Chrome it turns to a bunch of lines. Without it Opera looks fine, but FF and Chrome don't work either way. Either way the jQuery only works for me in avant. What little I did write is pretty basic, hardly varries from the tutorials.

So if anyone could tell/help me figure out what needs to be done to get it working in the other browsers that would be great. Gonna put the txt file with the code in an attachment so this doesn't get too long.
Attached Files
File Type: txt jqpg.txt (2.4 KB, 62 views)
Fractur65 is offline   Reply With Quote
Old 01-11-2010, 10:13 AM   PM User | #2
Spudhead
Senior Coder

 
Spudhead's Avatar
 
Join Date: Jun 2002
Location: London, UK
Posts: 1,856
Thanks: 8
Thanked 110 Times in 109 Posts
Spudhead is on a distinguished road
I think the first thing you need to do is tidy up your HTML so that it at least validates. Once you've got a properly valid DOM, you can start writing JS to act on it.
Spudhead is offline   Reply With Quote
Old 01-11-2010, 07:50 PM   PM User | #3
Fractur65
New to the CF scene

 
Join Date: Aug 2009
Location: U.S.
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Fractur65 is an unknown quantity at this point
Hmm okay. Nice to know about that link now. Looks like I need to do some more reading in different places. Tutorials I found or a bit worse of then I thought. Thanks..
Fractur65 is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

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

Forum Jump


All times are GMT +1. The time now is 11:53 PM.


Advertisement
Log in to turn off these ads.