Webmaster Forum


Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Coding Forum Problems with your code? Let's hear about it.

Lionsanime Directory   World's Leading Outsourcing Network   V7N Directory

Reply
 
LinkBack Thread Tools Display Modes
Old 05-18-2008, 06:16 AM   #1 (permalink)
Contributing Member
 
CircleOfLinks's Avatar
 
Join Date: 10-08-06
Location: Sydney
Posts: 146
iTrader: 0 / 0%
Latest Blog:
None

CircleOfLinks is an unknown quantity at this point
Javascript not working in FF only IE

Hey guys i need your help with something...

Can you tell me how to fix up a script i installed on my site? basicallt whats happening is it wont work in FF but only in IE, I've used the same script on another site and its working fine in both IE and FF but not on my site

If you go to page www.swiftproductions.com.au/recent_work.html towards the bottom is where the script it.

thanks heaps
CircleOfLinks is offline  
Add Post to del.icio.us
Reply With Quote
Sponsored Links
SEO Hosting by HostGator  Advertise Here  Buy Blog Links
Old 05-18-2008, 06:38 AM   #2 (permalink)
Contributing Member
 
corneo's Avatar
 
Join Date: 03-06-08
Posts: 520
iTrader: 0 / 0%
Latest Blog:
None

corneo is liked by somebodycorneo is liked by somebodycorneo is liked by somebodycorneo is liked by somebodycorneo is liked by somebody
Did you dump your cookies on FF before you look at it? I've tired on FF and safari and see the same thing.

Are you talking about the nav buttons on the left bottom?
__________________
BannerSwapNetwork

BikerSite.org
corneo is offline  
Add Post to del.icio.us
Reply With Quote
Old 05-18-2008, 07:23 AM   #3 (permalink)
Moderator
 
StarLab's Avatar
 
Join Date: 10-29-07
Location: Ontario, Canada
Posts: 1,177
iTrader: 0 / 0%
StarLab is a highly respected web proStarLab is a highly respected web proStarLab is a highly respected web proStarLab is a highly respected web proStarLab is a highly respected web proStarLab is a highly respected web proStarLab is a highly respected web proStarLab is a highly respected web proStarLab is a highly respected web proStarLab is a highly respected web proStarLab is a highly respected web pro
Send a message via ICQ to StarLab Send a message via MSN to StarLab Send a message via Yahoo to StarLab
I think I used that script a few years back with no browser issues.

I notice you're using several scripts on this page. I suspect there might be a conflict that the other browsers aren't liking. (Not sure though)

Try disabling the other scripts. If the scroller works in all browsers after that, start plugging the other scripts back in one by one until the problem resurfaces. At that point, you'll know which 2 aren't playing nice together.

I'm not a JS guru by any means, but this will eliminate the conflict possibility.
__________________
Larry - Addicted to Coffee and Proud of it!
[DarkStar Retro Project] - A world wide search for ultra-rare software.

"Writing is the most fun you can have by yourself!" --Terry Pratchett
StarLab is offline  
Add Post to del.icio.us
Reply With Quote
Old 05-18-2008, 01:27 PM   #4 (permalink)
v7n Mentor
 
Join Date: 07-24-06
Posts: 642
iTrader: 1 / 100%
Latest Blog:
None

nasty.web is just really nicenasty.web is just really nicenasty.web is just really nicenasty.web is just really nicenasty.web is just really nicenasty.web is just really nicenasty.web is just really nicenasty.web is just really nicenasty.web is just really nicenasty.web is just really nice
From the script comments (starting line 28 in your page):
Code:
Create a div with transparent place holder in your html <div id="Book" style="position:relative"> <img src="placeholder.gif" width="144" height="227"> </div>
However, I don't see such div on your page.
nasty.web is online now  
Add Post to del.icio.us
Reply With Quote
Old 05-18-2008, 02:36 PM   #5 (permalink)
Moderator
 
StarLab's Avatar
 
Join Date: 10-29-07
Location: Ontario, Canada
Posts: 1,177
iTrader: 0 / 0%
StarLab is a highly respected web proStarLab is a highly respected web proStarLab is a highly respected web proStarLab is a highly respected web proStarLab is a highly respected web proStarLab is a highly respected web proStarLab is a highly respected web proStarLab is a highly respected web proStarLab is a highly respected web proStarLab is a highly respected web proStarLab is a highly respected web pro
Send a message via ICQ to StarLab Send a message via MSN to StarLab Send a message via Yahoo to StarLab
Ok, now that I'm home for the evening, I decided to look at this a little closer.

With the exception of Google Analytics, (won't touch this without permission) I created a page using the scripts you have used. All worked fine in FF and Safari.

After looking closer at your code, your head and body tags appear as such:

Code:
<head> ...all your header code... </head><br> <script type="text/javascript"> gradualFader.init() //activate gradual fader </script> <script src="http://www.google-analytics.com/urchin.js" type="text/javascript"> </script> <script type="text/javascript"> _uacct = "xx-xxxxxxx-x"; urchinTracker(); </script> <BODY> ...your body code... <body onload="ImageBook()"> </BODY>
The code in boldface is outside the <head> and <body> tags. These should be inside one or the other. (depending on script instructions)

The line reading <body onload="ImageBook()"> near the bottom is your main problem. Remove that line and insert the "onload" code into your main body tag so your structure looks like this...
Code:
<head> ...header code... </head> <body onload="ImageBook()"> ...body code... </body>
Doing these adjustments should fix things up. (hopefully )

If not, let us know.
__________________
Larry - Addicted to Coffee and Proud of it!
[DarkStar Retro Project] - A world wide search for ultra-rare software.

"Writing is the most fun you can have by yourself!" --Terry Pratchett
StarLab is offline  
Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum

Reply



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

vB 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
Simple javascript popup window not working in FF spyderscripts Coding Forum 2 07-15-2006 07:02 PM
Two HTML similar codes , one working well and another not working why? Banjika Web Design Lobby 1 06-11-2005 07:14 AM
Count-up from a particular year + Javascript within Javascript? Help! Azam.biz Coding Forum 3 06-06-2005 06:47 AM


Sponsor Links
Get exposure! Get exposure! Find Scripts Web Hosting Directory Get exposure! SEO Blog


All times are GMT -7. The time now is 12:49 PM.
© Copyright 2008 V7 Inc