Image Swapping on Links (Like DHTML)

J

JCO

This site has images that swaps with another image on a mouseover. This is
done for every link that is along the left side. The website is not using a
common menu (shared boarders). I'm reorganizing the files into
folders...which is a nightmare. I still feel it has to be done.

Here's the issue. Each time a folder is created and the html is moved, the
links no longer work unless I go into the html code and change the path for
each menu item?

Is there a better way to automate these changes or do I have to do
everything manually as described above. I may convert to shared boarder
later in the future, but for now we want to maintain the graphics swapping
system.

Thanks.
 
S

Steve Easton

Unfortunately FrontPage can't / doesn't update links that are contained in
scripts.
The easiest solution ( not necessarily the best ) assuming the link images
are contained
in the "root" images folder, would be to create an images folder inside each
of your new
folders and place copies of the link images in each images folder.

hth

--
Steve Easton
MS MVP FrontPage
95isalive
This site is best viewed..................
...............................with a computer
 
J

JCO

If I was to use dhtml to swap the graphics, will that automatically change
..... if I move the graphics to another folder?
 
S

Steve Easton

No, as dhtml also uses javascript to *swap* the images.


--
Steve Easton
MS MVP FrontPage
95isalive
This site is best viewed..................
...............................with a computer
 
T

Thomas A. Rowe

FP will update links contained in scripts, if the scripts are created by FP.

--

==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle,
MS KB Quick Links, etc.
==============================================
 
R

Ronx

FP2003 does not update JavaScript links when using interactive buttons, when
moving the page to another folder, or when moving the buttons to another
folder (except when the relative path from page to button is unchanged - but
then, there's no updating to be done.)
 
T

Thomas A. Rowe

That is interesting! Prior versions do this when using Active Graphics in
themes which is JavaScript.

--

==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle,
MS KB Quick Links, etc.
==============================================
 
R

Ronx

Different situation here. If a page using active graphics in a theme is
moved to newfolder\ , the associated images are automatically moved from
_derived\ to newfolder\_derived\ - resulting in no change to the relative
path from page to images. With Interactive Buttons, the images stay where
they were originally saved.
 
T

Thomas A. Rowe

True, but FP is still updating the links, just in the case of Active
Graphic, it does this by also moving the images with the pages.

--

==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle,
MS KB Quick Links, etc.
==============================================
 
R

Ronx

That seems like cheating :)
However, I tried a DHTML image swap, using the FP DHTML tools, and the links
did update correctly, as you said they would.

The FP2003 Interactive Buttons need the same imaginative programming.
 
J

JCO

Thanks guys for all the insight.
I made all the changes .... the long boring method. Will have more to do,
I'm sure.

This brings me to another question?
The swapping of images is done because you can get the graphics & words to
simulate a highlight on a mouseover command.

What methods are out there to create customized buttons (tool bar menus)
that change colors?
Any sites for creating these buttons?
Also, can't the button have "self contained code" that allows it to operate
anywhere you move it, rather than having the code in FrontPage? Kind of
like... linking FP to a *.dll that makes the button work no matter where it
is placed.
 
M

MD Websunlimited

You said, "The FP2003 Interactive Buttons need the same imaginative programming." an implied question.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top