Moderators: Derry, Goldie, Harpo
Go
New
Find
Notify
Tools
Reply
  
-star Rating Rate It!  Login/Join 
Working Mechanic
Posted
Im having problems with a java script that wont work on the second page. Here it is on the index page (sparkles)

Page one

but its not on the second Frown

Welcome Page

I have tried adding it to the body/header and have also tried removing elements off the page!

Help!

Thanks
Sx

This message has been edited. Last edited by: kanikula,
 
Posts: 16 | Registered: March 02, 2008Reply With QuoteEdit or Delete MessageReport This Post
Guru 'Geezer' Mechanic
Picture of larryd
Posted Hide Post
It looks like your lycaeus.html page has the sparkle code loaded twice - once as object obj75 and then again as object obj37. However, this is not the main cause of the problem.

It looks like the SS Special Fx code is interfering with your sparkle code. I'm unsure how you are using the Special FX as I do not see any on your page. The objects used in the Special FX code appear to be just normal links. Do you need the Special FX code? If not, removing it should cleat up your problems.
 
Posts: 5150 | Registered: December 03, 2006Reply With QuoteEdit or Delete MessageReport This Post
Guru 'Power' Mechanic
Picture of Bruceee
Posted Hide Post
Try Edit > Clean components -- that may help to remove any old Special Fx code.
 
Posts: 9269 | Location: Wellington, New Zealand | Registered: December 11, 2003Reply With QuoteEdit or Delete MessageReport This Post
Working Mechanic
Posted Hide Post
Hello and thanks for the replies Smile

iv tried your suggestions to no avail. I t would seem that its the I-Frames that are preventing the code from working Frown Is there anyway around this??
 
Posts: 16 | Registered: March 02, 2008Reply With QuoteEdit or Delete MessageReport This Post
Guru 'Power' Mechanic
Picture of Bruceee
Posted Hide Post
There are three things interfering with your sparkles:

1. As Larry said, the SiteSpinner mouseover code and the sparkle code conflict. Both are fighting for control of the mouse move event, and the mouseover code wins. It is possible to modify the mouseover code after you publish (which I just tried) to prevent this, but I don't see that as an attractive solution. Some other code modification might be possible -- I'm open to ideas.

Another option would be to remove the mouseover effects which I think you have on your left-hand menus. It might be possible to achieve a similar effect using CSS.

2. The i-frames, as you suspect, prevent the parent window (your main page) placing sparkles in the frame space. So you could put the sparkles in the frame space yourself by placing the sparkle code in the pages that will appear in the frame space.

3. The Flash code has a similar problem. To avoid this, try adding a parameter to your flash object. Use a name of wmode and a value of transparent. (Suggestion from Larry for a similar problem.)

So you can have mouseovers, frames and sparkles, but there is a bit of work to do Smile

An unrelated issue is that I see some text overlaps on your page that you obviously don't see. I think this is caused by your use of the Cordia New font for some text objects -- not a web-safe font.
 
Posts: 9269 | Location: Wellington, New Zealand | Registered: December 11, 2003Reply With QuoteEdit or Delete MessageReport This Post
  Powered by Eve Community  
 


™ & © 1998 - 2008, Virtual Mechanics Inc. All rights reserved.