DHTML ScrollText Script  | |
October 19th, 2004, 05:24 AM
|
#1 (permalink)
| | Member
Join Date: Jan 2003
Posts: 52
|
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 |
| |
October 19th, 2004, 11:59 AM
|
#2 (permalink)
| | Banned
Join Date: Apr 2004
Posts: 79
|
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 |
| |
October 19th, 2004, 12:02 PM
|
#3 (permalink)
| | I'm silently judging you
Join Date: Jan 2003 Location: Lincoln City, OR
Posts: 5,377
|
That's cool, it works for me in FireFox. |
| |
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 |
| |
October 19th, 2004, 04:27 PM
|
#5 (permalink)
| | Senior Member
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. |
| |
October 19th, 2004, 04:54 PM
|
#6 (permalink)
| | Senior Member
Join Date: Jul 2004 Location: New Zealand
Posts: 582
| |
| |
October 19th, 2004, 05:18 PM
|
#7 (permalink)
| | Ultimate Member
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
|
| |
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. |
| |
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 |
| |
October 20th, 2004, 01:58 AM
|
#10 (permalink)
| | Senior Member
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. |
| | | Thread Tools | Search this Thread | | | |
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 | | | | | Recent Discussions  | | | | | |