Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/Code)
 Fly to the top instead of jumping
 New Topic  Reply to Topic
 Printer Friendly
Previous Page
Author Previous Topic Topic Next Topic
Page: of 3

leatherlips
Senior Member

USA
1838 Posts

Posted - 22 March 2008 :  19:38:13  Show Profile  Visit leatherlips's Homepage  Reply with Quote
I'd like to apply this to the rest of my site, not just the forum. How do I do that? I tried adding this to the head but it is not working:

<script type="text/javascript" src="smooth.pack.js"></script>

I originally made my back to top links in html by going to #top. Do I need to change those to something else?<

Mangione Magic Forum - The Music of Chuck Mangione

My Mods: Googiespell MOD | Link To Reply MOD | Petition MOD | Contact Page MOD | Share This Topic MOD | MP3 MOD | PageEar MOD | Google Viewer MOD
Go to Top of Page

leatherlips
Senior Member

USA
1838 Posts

Posted - 22 March 2008 :  21:32:40  Show Profile  Visit leatherlips's Homepage  Reply with Quote
I figured it out. At least what I did worked. Not sure if it is the best way or not...

In the header of my html pages, I inserted this:

<a name="top"></a>

So now the whole thing in my header is this:

script type="text/javascript" src="smooth.pack.js"></script>
<a name="top"></a>

Of course the path to the smooth.pack.js file needs to be altered for your own site if needed.

<

Mangione Magic Forum - The Music of Chuck Mangione

My Mods: Googiespell MOD | Link To Reply MOD | Petition MOD | Contact Page MOD | Share This Topic MOD | MP3 MOD | PageEar MOD | Google Viewer MOD
Go to Top of Page

leatherlips
Senior Member

USA
1838 Posts

Posted - 23 March 2008 :  12:59:16  Show Profile  Visit leatherlips's Homepage  Reply with Quote
I'm still trying to use this in my main site. All works well except in Firefox. On my page where I am testing it, I have an anchor link in the middle of the page. With Firefox, it goes to one line past the link.

Here is the page I am talking about:

Click Here

If you click on Liner Notes it will take you one line past the liner note header. In IE and Safari, it takes you right to the header as it should. Any ideas why this does not work in Firefox on my page?<

Mangione Magic Forum - The Music of Chuck Mangione

My Mods: Googiespell MOD | Link To Reply MOD | Petition MOD | Contact Page MOD | Share This Topic MOD | MP3 MOD | PageEar MOD | Google Viewer MOD
Go to Top of Page

balexandre
Junior Member

Denmark
418 Posts

Posted - 23 March 2008 :  14:01:55  Show Profile  Visit balexandre's Homepage  Send balexandre an ICQ Message  Reply with Quote
how can you blame a script if you can't do proper code???

1st of all you dont even have a document type on the page!
2nd of all... do you validate your pages through standards? try this!

and by the way... did you ever read about CSS? <

Bruno Alexandre
(Strøby, DANMARK)

"a Portuguese in Danmark"


Go to Top of Page

leatherlips
Senior Member

USA
1838 Posts

Posted - 23 March 2008 :  19:40:12  Show Profile  Visit leatherlips's Homepage  Reply with Quote
quote:
Originally posted by balexandre

how can you blame a script if you can't do proper code???

1st of all you dont even have a document type on the page!
2nd of all... do you validate your pages through standards? try this!

and by the way... did you ever read about CSS?

I don't doubt the code. I'm certain it is something I am doing wrong, but I just don't know exactly what it is. I'm an amateur at best.<

Mangione Magic Forum - The Music of Chuck Mangione

My Mods: Googiespell MOD | Link To Reply MOD | Petition MOD | Contact Page MOD | Share This Topic MOD | MP3 MOD | PageEar MOD | Google Viewer MOD
Go to Top of Page

balexandre
Junior Member

Denmark
418 Posts

Posted - 24 March 2008 :  03:18:28  Show Profile  Visit balexandre's Homepage  Send balexandre an ICQ Message  Reply with Quote
if the code it's all messed up, how can I help?

use this as a testing page for the script<

Bruno Alexandre
(Strøby, DANMARK)

"a Portuguese in Danmark"


Go to Top of Page

leatherlips
Senior Member

USA
1838 Posts

Posted - 28 March 2008 :  17:16:22  Show Profile  Visit leatherlips's Homepage  Reply with Quote
I just noticed that on the Snitz FAQ page, in Firefox, clicking the questions to go to the answers goes a little past the heading for that answer. In IE7 it works fine. Is there a way to fix that?<

Mangione Magic Forum - The Music of Chuck Mangione

My Mods: Googiespell MOD | Link To Reply MOD | Petition MOD | Contact Page MOD | Share This Topic MOD | MP3 MOD | PageEar MOD | Google Viewer MOD
Go to Top of Page

balexandre
Junior Member

Denmark
418 Posts

Posted - 29 March 2008 :  01:46:40  Show Profile  Visit balexandre's Homepage  Send balexandre an ICQ Message  Reply with Quote
that's your browser/computer/whatever configuration then!

here, using :
- Safari 3.0.4 (523.15)
- Firefox 2.0.0.13
- IE 7.0.5730.11
- Opera 9.26 (build 8835)

All perform the same thing after clicking the question "Do I have to register?" on Snitz FAQ, as you can see by the image below!

<

Bruno Alexandre
(Strøby, DANMARK)

"a Portuguese in Danmark"



Edited by - balexandre on 29 March 2008 02:00:44
Go to Top of Page

leatherlips
Senior Member

USA
1838 Posts

Posted - 29 March 2008 :  08:12:01  Show Profile  Visit leatherlips's Homepage  Reply with Quote
Temper, temper.

Well for some reason when I go to your site and use Firefox and click on Register it goes past the heading. My Firefox is "straight out of the box". No big deal. Nothing to get mad over.<

Mangione Magic Forum - The Music of Chuck Mangione

My Mods: Googiespell MOD | Link To Reply MOD | Petition MOD | Contact Page MOD | Share This Topic MOD | MP3 MOD | PageEar MOD | Google Viewer MOD
Go to Top of Page

Todd
New Member

USA
63 Posts

Posted - 13 August 2008 :  21:53:52  Show Profile  Visit Todd's Homepage  Reply with Quote
quote:
Originally posted by Webbo

It does cause a conflict if you have the Photo Album mod installed



I also have the Photo Album Mod installed. After installing this smooth scrolling mod I did update it with the code posted in this thread because I experienced issues with the Proeders File Upload mod. That did indeed fix the problem with Proeders.

I was just browsing the Photo Album Mod and find that when clicking on a photo it no longer pops up in an enlarged window. I haven't tried to upload into the photo album, so I don't know if that might be an issue also. (Just checked with the code in place, not an issue, I can upload into the album just fine, it's only affecting the enlarged photo pop up window).

When I comment out the call for the js file in the inc_header.asp file the popups for the photo album operate correctly again. The links in the photo album mod which produce the pop up window also end with a #, example below.

http://www.tycoforums.com/tyco/forum/photo_album_view.asp?cname=Main+Album&mid=831&cid=9#

Any ideas?<


Admin for the Tyco Collector's Forum


Edited by - Todd on 13 August 2008 22:20:41
Go to Top of Page

Todd
New Member

USA
63 Posts

Posted - 13 August 2008 :  22:58:19  Show Profile  Visit Todd's Homepage  Reply with Quote
Fixed.

Instead of replacing the line in the js file as described, I added the new line and commented out the old line. I must have had a space or something in there. I've since deleted the line I commented and actually replaced it. It was a formatting error on my part.<


Admin for the Tyco Collector's Forum

Go to Top of Page
Page: of 3 Previous Topic Topic Next Topic  
Previous Page
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.11 seconds. Powered By: Snitz Forums 2000 Version 3.4.07