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.

This is what I want to do, let me know if this is possible. I want to create a button and turn that button into a library item so it can be easily updated. The problem is I want this button/ library item to swap frames on certain pages to act as a marker. Example, the button "home" should swap to frame2 on the home page so the user knows where they are. Can you do this with a swap image?

1) What do you mean by library item? As in Dreamweaver perhaps?
2) Are you talking about a code fragment that can be reused?
3) Is this a button as in <button> in <form> or is it a graphic that you're calling a button?
4) Why should the user know where they are if you switch to frame 2 (whatever that is) on the home page?
5) What, in your definition, is a swap image?
6) Can you, as BenANFA has requested, provide some sort of page link that we can look at so that we can get a clue?

JohnNo electrons were harmed during the creation, transmission
or reading of this posting. However, many were excited and
some may have enjoyed the experience.

Yes, this in dreamweaver. Sorry, I should have mentioned this. Lets say the buttons on the top of this page are library items. I want the forums button (library item) to display only the rollover state on all the pages that fall under the category forums. So when I build the navigation into a main template, I don't have to go back to each page and delete the button and place a "dummy" button of the rollover state. I can just stick a line of code in the html to do it for me. Does this make sense?

Yes, this in dreamweaver. Sorry, I should have mentioned this. Lets say the buttons on the top of this page are library items. I want the forums button (library item) to display only the rollover state on all the pages that fall under the category forums. So when I build the navigation into a main template, I don't have to go back to each page and delete the button and place a "dummy" button of the rollover state. I can just stick a line of code in the html to do it for me. Does this make sense?

Well, questions in order:

1) Dreamweaver, we've established.
2) Are you talking about a code fragment that can be reused? Probably.
3) Is this a button as in <button> in <form> or is it a graphic that you're calling a button? Graphic.

Right, now for the last three:

4) Why should the user know where they are if you switch to frame 2 (whatever that is) on the home page?

Irrelevant now.

5) What, in your definition, is a swap image?

I think this may be a graphic that you're using, either as a CSS rollover or a Javascript rollover. Which is it?

6) Can you, as BenANFA has requested, provide some sort of page link that we can look at so that we can get a clue?

Still stands, because I still don't have a clue what you really want.

As I understand it libraries in Dreamweaver contain code that you can pull in and use in web pages. Unless things have changed in later versions of DW than I have, this is static code, so you pull in the code and modify it according to how you want to use it.

JohnNo electrons were harmed during the creation, transmission
or reading of this posting. However, many were excited and
some may have enjoyed the experience.

It looks like he has a bunch of little icons for his navigation and each has a rollover state (a different image, I guess). So am I right in thinking that you want to have that second image (the one you see onmouseover) display instead of the default one when you are on that page? If so, it would be a little CSS and some server-side scripting. Here is an example:
The HTML