home hardware prices news articles forums photos user reviews
Go Back   Tech Support Forums - TechIMO.com > PC Hardware and Tech > Webmastering and Programming
Ask a Tech Support Question (free)!

DHTML ScrollText Script

Reply
Get bargains at  »  Dealighted.com
 
Thread Tools Search this Thread
Currently Active Users: 2552
Discussions: 200,970, Posts: 2,379,736, Members: 246,335
Old October 19th, 2004, 05:24 AM   Digg it!   #1 (permalink)
Member
 
Join Date: Jan 2003
Posts: 52
DHTML ScrollText Script

Hi Everyone,

I downloaded and installed a script into a blank html page to see how it works, etc. Once I got a feel for it I put it into a page I designed and tested it through there. In my DW editor I see it just as I see it on the test page. However, when I preview the saved page, I see the SLOW MEDIUM FAST links but nothing else and nothing works. I've tried a few things like placing the script in different tables, cells, etc. but to no avail.

I am pretty fluent in HTML and can understand most things but this, for some reason, is beyond me. Would someone take a moment to look at the page I am attempting to apply the script to and see what it is I may be doing incorrectly?

This is the URL for the test page: http://209.250.8.143/ahfab/test.htm

This is the page for the active page that I am applying it to:
http://209.250.8.143/ahfab/bagged.htm

Props will be received on the site!

Thank you in advance,

Mike
ImAgeekNEway is offline   Reply With Quote
Old October 19th, 2004, 11:59 AM     #2 (permalink)
Banned
 
DayAfter's Avatar
 
Join Date: Apr 2004
Posts: 79
Thumbs up

It scrolled for me!

I did notice that MM_swapImgRestore() wasn't defined anywhere. I kept getting scripting errors for this object when my debugger was on.

I think the first instance of that call was on line 161... Anyhow other than that the scroll function for the pictures works just fine on this end...

Good luck
DayAfter is offline   Reply With Quote
Old October 19th, 2004, 12:02 PM     #3 (permalink)
I'm silently judging you
 
ArcticFox's Avatar
 
Join Date: Jan 2003
Location: Lincoln City, OR
Posts: 5,377
Send a message via AIM to ArcticFox Send a message via MSN to ArcticFox Send a message via Yahoo to ArcticFox
That's cool, it works for me in FireFox.
ArcticFox is offline   Reply With Quote
Old October 19th, 2004, 04:03 PM     #4 (permalink)
Member
 
Join Date: Jan 2003
Posts: 52
Are you sure you're seeing it work in the completed page? The TEST page is nothing but the scrolling list on a white background. That one works, the one on the BAGGED page does not.

This is where it doesn't work: http://209.250.8.143/ahfab/bagged.htm
ImAgeekNEway is offline   Reply With Quote
Old October 19th, 2004, 04:27 PM     #5 (permalink)
Senior Member
 
James T's Avatar
 
Join Date: Jul 2004
Location: New Zealand
Posts: 582
Hmm the test works for me bagged doesn't. Looking at the source with SciTE you haven't properly bracketed the page. I'd clean that up first then start hunting the scroll. It could even be causing the failure to scroll.
James T is offline   Reply With Quote
Old October 19th, 2004, 04:54 PM     #6 (permalink)
Senior Member
 
James T's Avatar
 
Join Date: Jul 2004
Location: New Zealand
Posts: 582
James T is offline   Reply With Quote
Old October 19th, 2004, 05:18 PM     #7 (permalink)
Ultimate Member
 
Tekk's Avatar
 
Join Date: Oct 2001
Location: Pasadena, CA
Posts: 2,177
Well besides the fact that the links are all smashed together in the scroll area, I noticed something weird:

The actual scrolling of the pictures works fine for me in Opera 7.54. The links are all misplaced though so you might need to fix up the DIV placements if thats what you are using. When I tested the same page in IE6 the scroll did not work at all.
__________________
YAH! I knew you'd be jealous
Tekk is offline   Reply With Quote
Old October 19th, 2004, 05:25 PM     #8 (permalink)
Member
 
Join Date: Jan 2003
Posts: 52
Thakns Tekk for the insights. It's just a beta deal so I'm not ready with it other than just getting it to work. Once that happens than I'll go in and make it all pretty.
ImAgeekNEway is offline   Reply With Quote
Old October 20th, 2004, 01:48 AM     #9 (permalink)
Member
 
Join Date: Jan 2003
Posts: 52
James,

I went through the lines the Validator says there were mistakes with but I don't know where the "Validator" is getting them from. I've carefully searched the lines and those errors do not exist. I myself question the validity of the "Validator". Sounds like it could use some work itself.

Error: ..."images/1px.gif" width="1" height="1"></td>

Validator states there is a problem with the closetout after the height size = 1. It's closing a tag line that explains the hieght and width of the image within the table.

Here's what the code looks like in full detail:
<td width="1" rowspan="7" bgcolor="#663300"><img src="images/1px.gif" width="1" height="1"></td>

That is just an example. I went through all the code that it says has problems, but there is nothing wrong with any of them.

Mike
ImAgeekNEway is offline   Reply With Quote
Old October 20th, 2004, 01:58 AM     #10 (permalink)
Senior Member
 
James T's Avatar
 
Join Date: Jul 2004
Location: New Zealand
Posts: 582
It's strict validation is ... strict. A close on an image ends with />. The following complies.

<img src="pic.png" width="249" height="130" alt="text"/>

No question in my mind that the validator is correct. I have run my homepage through it perfectly. It's just fussy. You do certainly have some closing tag problems in the page. My context viewing with SciTE allows you to collapse wrapped groups (you have to try this to see how good it is) and your page collapses incorrectly. Essentially you have a couple of elements that include problems like those in the following "<){>}".

Put alt=""/> in your image tags and do another validation. Some of the others errors should then start to pop out at you.
James T is offline   Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Similar Threads
Thread Thread Starter Forum Replies Last Post
Favorite 'Puter Pranks? Tomteriffic Applications and Operating Systems 56 May 24th, 2004 09:23 PM
gradual image fade slinky Graphic Design and Digital Photography 0 April 26th, 2004 12:54 AM
Web Design Questions vicarious george Graphic Design and Digital Photography 5 April 12th, 2003 09:31 AM
Website help for newbie! aarmenaa Webmastering and Programming 3 February 24th, 2003 05:27 PM
HTML Help ILC Webmastering and Programming 9 November 12th, 2002 11:01 PM


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Most Active Discussions
Is It Just Me? (3043)
Delete an OS (15)
Breaking: San Diego ACORN Document .. (10)
Nvidia GTX 260 problem (7)
Laptop with wireless problem. (12)
Wireless Televisions. (12)
CPU fan stops spinning randomly (11)
Regular Build (11)
windows vista security holes (17)
Internet Lost (5)
windows 7 problem (7)
Is the PSU I received dead? (13)
Point and Shoot Camera Suggestions. (6)
Print spooler problem (16)
Recent Discussions
Nvidia GTX 260 problem (7)
[F@H SPAM 11/16/09] ! 1/2 months to r.. (37)
Delete an OS (15)
Steam ID's, Gamertags etc... (4)
Games, Cables, PCI cards, and more fo.. (6)
Dept. of HS: NSA 'Helped' Develop Vis.. (17)
Linksys WMP54GS wireless card problem.. (5)
windows vista security holes (17)
Help getting around port 80 for camer.. (5)
Skillsoft Network+ Study Software Que.. (10)
Browsers wont load websites (3)
help me pls laptop just stopped worki.. (0)
Open With ..... Win7 (3)
Laptop with wireless problem. (12)
Internet Lost (5)
virus blocking exe. files (1)
Point and Shoot Camera Suggestions. (6)
CPU fan stops spinning randomly (11)
Modern Warfare 2: Who Bought It? (65)
Is the PSU I received dead? (13)
Print spooler problem (16)
Kingston Bluetooth Dongle Driver (1)
Multiple Restarts Required at Boot (3)
webcam (0)
upgrade for hp a6101 (0)


All times are GMT -4. The time now is 07:26 PM.
TechIMO Copyright 2009 All Enthusiast, Inc.



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28