Open Tech Support
Open 

Tech Support Community
Back to HomeCommunityReviewsGuidesDownloadsLinkageMarketplaceContact Us

 »  Forum Navigation

Home
Post a Question
About Our Site
Support Our Site

What is this site?
Who are we?

Tolitz.Com - The Cynic Eye of the Third World Guy

Enhanced with Snapshots

 

 »  Advertisement


Go Back   Open Tech Support Community > SUPPORT FORUMS > Internet




Reply

 

LinkBack Thread Tools
Old 01-06-2007, 07:59 PM   #1 (permalink)

Spiky Hair Dude
 
Mathias's Avatar
 
Join Date: Feb 2004
Location: Between the 10th and 11th Dimensions
Posts: 321


Javascript Issues

Hey there, it's me again. For those of you who didn't know I'm a relatively seasoned coder. My most experience is with web design, so I excel at HTML, PHP/MySQL and am currently learning Javascript, though I'm likely to expand that list soon.

Anyways, I'm working on a site now where (at this stage anyway) it's basically 4 tabs connected to a large content box. If you hover over a tab, it highlights. Hover off, it goes back to normal. Click it, it stays selected and any other selected tabs go back to normal. Took me a while to learn all the Javascript to do it (since I'm more or less a newbie to Javascript), but after looking it up and doing it for about an hour or two, it's not that big a deal.

Now, I've gotten this site to work just fine and the way I want it to with the latest version of Firefox, but IE... that's another story.

I'd like you guys to look at it for yourself and see if you can tell me just what's going wrong with the site in regards to IE. The source code should show you everything, except the PHP of course. Also, if anyone notices problems with the site with other browsers, please let me know. I like to code such that a majority of users see and do what I want them to see and do.



The Site

-----------------------------
OS____Windows XP Home SP3
CPU___AMD Athlon X2 3800+ / 2.8GHz
HSF___Arctic Cooling Freezer 64 Pro
Mobo__GIGABYTE GA-M61P-S3
GPU___GeForce 7600GT, 256MB GDDR3
RAM___A-DATA Extreme, 2GB, DDR2 800 / 4-4-4-12
PSU___FSP Group 450W
HDD___Western Digital Caviar 250GB
Case__Antec Nine Hundred
Mathias is offline   Reply With Quote
Sponsored Links
Old 01-06-2007, 09:12 PM   #2 (permalink)

The Man
 
P0nix's Avatar
 
Join Date: Nov 2005
Location: Lost in Space
Posts: 576


Re: Javascript Issues

You know that you can double click the little yellow stop sign in the left hand corner of IE and get the exact line that went bad in your javascript right....

-----------------------------
-----------------------------
-----------------------------

Petco Hamster-Duo 3800
2 x 1HB Mace-skill DDR400 Ram
314572800KB John Wayne Digital Hard Disk
524288KB Nascar 8500GT
LGDVDRW
Pretty lights
Neon circuit board thingy
P0nix is offline   Reply With Quote
Old 01-06-2007, 09:45 PM   #3 (permalink)

Spiky Hair Dude
 
Mathias's Avatar
 
Join Date: Feb 2004
Location: Between the 10th and 11th Dimensions
Posts: 321


Re: Javascript Issues

Actually, no, I didn't.

But still, even though I know where the error is, I don't know how to make the statement work with IE.

Edit - Nevermind, I've worked out the problem. Basically IE is just stricter with Javascript Syntax and declaring a variable without 'var' before it is not allowed. Firefox let me do this just fine, so that's why I got confused.

-----------------------------
OS____Windows XP Home SP3
CPU___AMD Athlon X2 3800+ / 2.8GHz
HSF___Arctic Cooling Freezer 64 Pro
Mobo__GIGABYTE GA-M61P-S3
GPU___GeForce 7600GT, 256MB GDDR3
RAM___A-DATA Extreme, 2GB, DDR2 800 / 4-4-4-12
PSU___FSP Group 450W
HDD___Western Digital Caviar 250GB
Case__Antec Nine Hundred

Last edited by Mathias; 01-06-2007 at 11:58 PM..
Mathias is offline   Reply With Quote
Old 01-08-2007, 02:02 PM   #4 (permalink)

Gentoo Linux User
 
Ion Silverbolt's Avatar
 
Join Date: Jun 2000
Location: US
Posts: 5,391


Re: Javascript Issues

That's news. Usually it's IE that breaks the standards. Not other browsers.

-----------------------------
www.netbooklinux.org
Ion Silverbolt is offline   Reply With Quote
Reply

Bookmarks

Thread Tools


Similar Threads

Thread Thread Starter Forum Replies Last Post
javascript problem with XP SP2 mbrazil Software 3 12-23-2004 11:14 PM
detecting resolution javascript to php lcousins Internet 1 02-18-2004 07:29 AM
The Windows 2000 Corporate Workstation Performance Guide OTS Staff Software 0 02-21-2002 09:48 PM
Javascript arrays Big_Din_KR Internet 3 01-08-2002 02:09 PM







Powered by vBulletin® Version 3.8.2. Copyright © 2000-2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.2
Copyright 2000-2008 Open Tech Support.  All Rights Reserved.  Site Design and Development by Tolitz Rosel.