The SitePoint Forums have moved.

You can now find them here.
This forum is now closed to new posts, but you can browse existing content.
You can find out more information about the move and how to open a new account (if necessary) here.
If you get stuck you can get support by emailing forums@sitepoint.com

If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Alright,
I asked this question bout a month and a half ago, and I got the answer to my question. Well, I have since lost all the stuff that I had saved on this subject even the site where it explained how to do it. If anyone can help me out with this I would appreciate it.

It basically deals with having links or what not, where when you mouseover them they will change the image on the screen. Guess I chose the wrong title for my thread. Anyways, that's what it's about. Again, if anyone can help, THANK YOU

spdrcr...the document.images part is basically a test to see if the browser understands enough Javascript to allow the rollovers. Only 3.0 (or maybe 2.0) browsers and above can understand the .images node for Javascript.

as for the image1on = new Image() , that portion of the script "preloads" the images for you, that way when you rollover them, they appear instantly.

Where exactly do you place the script in your page or does it not matter and the call part does it use the name of the page being linked to. If you had say 4 links in a navigation bar would you repeat the
image1on = new Image();
image1on.src = "images/about_us_on.gif";
image1off = new Image();
image1off.src = "images/about_us_off.gif";

Does dreamweaver script do anything different? Why is it so bloated? It does seem to work and I guess for someone like me that couldn't write it, it gets the job done. I might just take you up on using yours.

Originally posted by creole hehe...the funny thing is I was just going to tell you not to use the DW code BECAUSE mine is so much neater.

You are more than welcome to use that cluttered cryptic DW code if you like...or you can use my code that is nice and clean and can almost be read like a book.

BTW, I can't take credit for that code, I found it on a free site.

I have a question about the navigation bar area on http://www.kbxl-kspd.com./index.shtml. If my nav area was on the left side and in a table how do I make sure the left edge colour of the table starts at the very left edge of the screen as at the kbxl site?

The reason why is that if you do not specifically tell the table to have 0 cellpadding and cellspacing then the default it 1. That one pixel (two actually 1+1) will push your table away from the edge of the page. Try that and let me know if it works.

It didn't work with just the top one so I changed the others that followed and then it was fine had to go through after and change my other nested tables to 90% nad center them as the text was lined up on the edger like you cautioned.

Was that the best way to fix the text problem ie:adjusting the table so it wasn't at the edge of the parent table?