This is Interesting: Free Magazines for Graphics designers and webmasters
Home > Archive > Front Page > June 2004 > a little more complex swap
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
a little more complex swap
|
|
|
| Hi..
Im using fp 2003...
I have a frames page with the items in the left pane and I want
to be able to mouseover or click on each item and have the
corosponding image pop up in the other frame...
Do I use a table cell, or layer?
Could someone explain how to do this.. I am new to all this
Thanks in Advance For your Help
| |
| Steve Easton 2004-06-30, 7:15 pm |
| You set the link target to the frame.
--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed............
........................with a computer
"JT" <biker@jtcustoms.com> wrote in message
news:7587FFF0-3686-4F97-A7C7-95F0F55829AD@microsoft.com...
> Hi..
>
> Im using fp 2003...
>
> I have a frames page with the items in the left pane and I want
> to be able to mouseover or click on each item and have the
> corosponding image pop up in the other frame...
>
> Do I use a table cell, or layer?
>
> Could someone explain how to do this.. I am new to all this
>
> Thanks in Advance For your Help
| |
| Thomas A. Rowe 2004-06-30, 7:15 pm |
| You can't do this with frames, you need to use tables or CSS, as the mouse over script need to all
be on the same page.
In your IE address bar type?
? JavaScript Image Swapping Scripts
--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)
http://www.ycoln-resources.com
FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
To assist you in getting the best answers for FrontPage support see:
http://www.net-sites.com/sitebuilder/newsgroups.asp
"JT" <biker@jtcustoms.com> wrote in message
news:7587FFF0-3686-4F97-A7C7-95F0F55829AD@microsoft.com...
> Hi..
>
> Im using fp 2003...
>
> I have a frames page with the items in the left pane and I want
> to be able to mouseover or click on each item and have the
> corosponding image pop up in the other frame...
>
> Do I use a table cell, or layer?
>
> Could someone explain how to do this.. I am new to all this
>
> Thanks in Advance For your Help
| |
|
| thanks.. that worked.... only one more small problem...
ive got my image coming up in the target frame... but its way to large and
want to make it smaller so its not so distorted..... ive tried making the
original image smaller, but it continue to fill the
frame....
--
Thanks in Advance For your Help
"Steve Easton" wrote:
> You set the link target to the frame.
>
> --
> Steve Easton
> Microsoft MVP FrontPage
> 95isalive
> This site is best viewed............
> ........................with a computer
>
> "JT" <biker@jtcustoms.com> wrote in message
> news:7587FFF0-3686-4F97-A7C7-95F0F55829AD@microsoft.com...
>
>
>
| |
| Jon Spivey 2004-06-30, 7:15 pm |
| you can address an image in another frame with
parent.FrameName.document.images['imagename'].src = 'something.gif';
So starting with any swap image script you'd find the line that swaps the
image, something like
document.images['imagename'].src = 'something.gif';
and just add parent.FrameName to the front where FrameName is the name of
the frame containing the image to be swapped. Probably easier to do than
explain :-)
Would be best not to use the swap image behavior in FP as it doesn't work in
NN4 - but theres plenty of other scripts out the - as you said do a search.
--
Cheers,
Jon
Microsoft MVP - FP
"Thomas A. Rowe" <tarowe@mvps.org> wrote in message
news:e0wL$EuXEHA.3112@tk2msftngp13.phx.gbl...
> You can't do this with frames, you need to use tables or CSS, as the mouse
over script need to all
> be on the same page.
>
> In your IE address bar type?
>
> ? JavaScript Image Swapping Scripts
>
> --
> ==============================================
> Thomas A. Rowe (Microsoft MVP - FrontPage)
> WEBMASTER Resources(tm)
> http://www.ycoln-resources.com
> FrontPage Resources, WebCircle, MS KB Quick Links, etc.
> ==============================================
> To assist you in getting the best answers for FrontPage support see:
> http://www.net-sites.com/sitebuilder/newsgroups.asp
>
> "JT" <biker@jtcustoms.com> wrote in message
> news:7587FFF0-3686-4F97-A7C7-95F0F55829AD@microsoft.com...
>
>
| |
| Thomas A. Rowe 2004-06-30, 7:15 pm |
| Jon,
Using:
parent.FrameName.document.images['imagename'].src = 'something.gif';
will only load the image into a blank browser generated page in "FrameName" with the image, the same
as linking directly to an image.
Correct ?
--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)
http://www.ycoln-resources.com
FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
To assist you in getting the best answers for FrontPage support see:
http://www.net-sites.com/sitebuilder/newsgroups.asp
"Jon Spivey" <jons@mvps.org> wrote in message news:ej3AYeuXEHA.2500@TK2MSFTNGP09.phx.gbl...
> you can address an image in another frame with
> parent.FrameName.document.images['imagename'].src = 'something.gif';
>
> So starting with any swap image script you'd find the line that swaps the
> image, something like
> document.images['imagename'].src = 'something.gif';
> and just add parent.FrameName to the front where FrameName is the name of
> the frame containing the image to be swapped. Probably easier to do than
> explain :-)
>
> Would be best not to use the swap image behavior in FP as it doesn't work in
> NN4 - but theres plenty of other scripts out the - as you said do a search.
>
> --
> Cheers,
> Jon
> Microsoft MVP - FP
>
> "Thomas A. Rowe" <tarowe@mvps.org> wrote in message
> news:e0wL$EuXEHA.3112@tk2msftngp13.phx.gbl...
> over script need to all
>
>
|
|
|
| | Copyright 2003 - 2008 forum4designers.com Software forum Computer Hardware reviews |
|