adding mouse trails in frames

They have: 11 posts

Joined: Aug 2001

Hi all, im new here, but got the link via my ISP newsleter, and very pleased i did too !! i have a prob thats got me stuck, i want to add mouse trails to a framed site, but it wont work, trail works fine in no frames, im thinking it just cant be done??

Megan's picture

She has: 11,421 posts

Joined: Jun 1999

I really can't think of a way in which this would be possible but I'll move this thread over to the Authoring forum just in case ...

Welcome to TWF by the way! I hope you'll stop by our introductions forum and let us know a little more about yourself.

They have: 11 posts

Joined: Aug 2001

Thankyou for replying, and yes i will go to the introductions forum ,probably tomorrow. its 4am where i live lolo i wondered if it was possible , trails in frames, or it was just that i didnt know how to do it. i havent done a lot of web design, but really enjoy finding out new stuff. see ya later.

Mark Hensler's picture

He has: 4,048 posts

Joined: Aug 2000

Welcome to TWF!

mouse trail? you mean like in windows?
How do you do that for the web?

Who is your ISP?

They have: 11 posts

Joined: Aug 2001

mouse trails as in things that follow yr mouse lolololo
isp is bigpond, and hi

Suzanne's picture

She has: 5,507 posts

Joined: Feb 2000

Wouldn't it matter what frame you have the cursor in? I'm not entirely sure, though. I googled out when trying to find information on using it within frames.

I would think if the function was in all frames, it would work in all frames, but I've never tried it. I didn't see anything that would make it not work in frames particularly, though.

http://www.insidedhtml.com/tips/styles/ts23/page1.asp was the code I was looking at, where ironically they refer to the different images and placements as frames.

Smiling Suzanne

They have: 11 posts

Joined: Aug 2001

Hi Suzanne, thankyou for replying, i just went and looked at the site u provided the link for. The mouse trails actually do work in frames,but if u click on the links to other pages, the links no longer work...so im thinking maybe another tag is inplemented, or a different piece of java code..
thanks again for yr advice, and yr searching Smiling)

Suzanne's picture

She has: 5,507 posts

Joined: Feb 2000

That would really help. If the cursor trails are working but the links are being killed, there are a few possible problems, solutions.

IE4, for instance, would kill all links in a horizontal line from any DHTML like scrolling menus.

I'm not sure if it's a problem like that or if there is a conflict in the JavaScript with the HTML links?

Regardless, an url would help for troubleshooting if you want to provide one.

Smiling Suzanne

P.S. You're totally welcome, of course. All part of the fun of the forums!

They have: 11 posts

Joined: Aug 2001

Hi Suzanne, here is the URL of my site, i have the mouse trails on the links from the left hand side, i didnt put them on the side-index, as the links would then not work. u will see on the first page,'greetings'that the first link not to work is my email one. cos of the mouse trail being active. i really do appreciate this help, and hope to help others in the same way Smiling) i have streamed music on this site, but it is a private site,one i practise on, so please, people , dont be upset about copy stuff lolollo
usually it is only visited by peoeple i choose to send the link too

http://loretta.orcon.net.nz/

They have: 11 posts

Joined: Aug 2001

oops, forgot to put my subject line in reply !!! on my last post, hope it has gone to the right section ..

Suzanne's picture

She has: 5,507 posts

Joined: Feb 2000

You don't need to put the post subject in -- it's optional and different from the thread subject, no worries.

I see the problem -- the email link is the rose and while the hand remains active, when I click, it disappears and the action is cancelled.

Now as for fixing the problem... *sigh*

The script works when you don't use frames, correct?

Okay, then let's look at all the code on the pages and get it all working to eliminate any issues.

1. Your frameset has some syntax errors in it, as well as missing parts -- you still need to have the part!

2. On your individual pages, you have the <script> outside the tag. It has to be INSIDE the tag.

htmlvalidator.com has a lite version that will catch basic errors like this -- I recommend the pro version to anyone who will listen, but the lite version is great, too. I recommend that you clean up the pages and get them all working, even though that may not be the whole issue.

What could be the issue with the script is that it's not designed for frames. As such, in the script you can see some "fixes" for IE that refer to the document.body.etcetera. For frames, it may need to refer to the frame itself, so the script would have to be rewritten.

Now I'm not going to do that for a few reasons -- one of which is for changes like this, you should contact the guy who wrote the script and ask him to either make the changes (be prepared to pay him, however, for his time), or give permission for you to make the changes.

Cross browser cursor trailer script
By Brian Caputo ([email protected])
'

So best recommendation would be to get the script into the right location on the page and make sure it's not anything like that interfering with the script, then if it still doesn't work, contact Brian directly.

I hope that helps some!

Smiling Suzanne

P.S. Alternatively, you could drop the frames concept and have the links on every page using a different technology such as includes.

They have: 11 posts

Joined: Aug 2001

Hi Suzanne, yes, the script works fine when i dont use frames. i will fix the syntax errors. and put the script in the correct place, inside the Head tag.the notes that come with the script, said to put it under the HTML , but when i just reread it, it was actually referring to copying the script below, not put it below the HTML lolollo i will use the validator u suggested, i currently use homesite, but mainly as an editor, not for fixing errors, but for ease of using files, much easier with several pages than opening a lot of notepads.
yes, i agree, the script may not be designed for frames, and i had not thought of contacting the author, which i will do . thanks heaps for yr help, it will be a few hours before i can do anything,i'm busy day today, but i will post a note here when i hvae accomplished a diff result !!! see ya later . and thankyou again !!!!

They have: 11 posts

Joined: Aug 2001

Hi again, Suzanne ,re mouse trails !! i dled the prog 'validator pro',
but found it better to use homesite validator, seeing as im a bit new to html, i could understand better my mistakes, and what to do to fix them. some i couldnt fix, my frames page, if i altered it , the stream no longer worked, apart from putting in .i need to do a bit more work on understanding frames, necessary for enableing the stream to play uninterupted through all pages. (why i have my site in frames)
the following errors were on my sound page, but if i dont have them, stream wont work either lolo

'The tag name "EMBED" not found in currently active versions
The tag name "ASX" not found in currently active versions'

and i need to learn style sheets, the other area the syntax errors confused me was in relation to my 'perth' page. but it works anyhow...but its not technically correct...

in the end, i decided to just leave mousetrails alone till i learn more about how frames work with different stuff, ie sound and java..
but i sure do like experimenting, and ive now learnt a lot more about syntax errors, and new standards. thanks mate, as we say here in auss land lololo
see ya later

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.