navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

Microsoft MVP

 

How Did They Do That?

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> Microsoft FrontPage Help >> How Did They Do That?
Page: [1]
 
Larry M.

 

Posts: 2723
Joined: 2/20/2003
From: Greenville, South Carolina, USA
Status: offline

 
How Did They Do That? - 8/27/2005 15:05:49   
Hi Everyone,

Good web site designer's site specializing in a vertical market (Real Estate) here: http://www.carolinaregional.com/ , which was designed in FrontPage. (Please click through to "Portfolio")

Two effects I like are (1) the rotating dissolving banner section and (2) the thumbnails loading into a larger image area in the body section. How did they do these?

The FrontPage Banner Ad component may be work for (1) but is there a script or add-in that's better? As to (2) ???

Any suggestion for a FrontPage function and/or script and/or add-in would be very much appreciated!!

< Message edited by Larry M. -- 8/27/2005 16:45:21 >


_____________________________

Larry M.

Indecision is the Key to Flexibility.
womble

 

Posts: 5528
Joined: 3/14/2005
From: Living on the edge
Status: offline

 
RE: How Did They Do Tat? - 8/27/2005 16:03:00   
The banner looks as though it's Flash.

Looking at the code it looks like the thumbnails are loading into an extra frame. I don't know, you might be able to do something like that using includes? (don't know - never used includes myself). According to my FP book though, you might be able to accomplish something like that using something called IFrames - inline frames, which are apparently different to normal frames (again, not something I've used), but it does urge caution because it's not standardised and not all browsers support it. Don't know if that helps at all.

_____________________________

~~ "A cruel god ain't no god at all" ~~
:)

(in reply to Larry M.)
Larry M.

 

Posts: 2723
Joined: 2/20/2003
From: Greenville, South Carolina, USA
Status: offline

 
RE: How Did They Do Tat? - 8/27/2005 16:44:35   
Womble,

I won't be working in frames or includes for this project but do have Swish and will investigate IFrames which I've never used.

Thanks!

Anyone have any thoughts on the Thumbnails to larger image in a common location question?



_____________________________

Larry M.

Indecision is the Key to Flexibility.

(in reply to womble)
dpf

 

Posts: 7121
Joined: 11/12/2003
From: India-napolis
Status: offline

 
RE: How Did They Do Tat? - 8/27/2005 17:09:05   
quote:

Anyone have any thoughts on the Thumbnails to larger image in a common location question?
Larry - there are lots of javascripts that will do that. fairly simple

_____________________________

Dan

(in reply to Larry M.)
horseatingweeds

 

Posts: 54
Joined: 3/17/2005
Status: offline

 
RE: How Did They Do Tat? - 8/27/2005 20:10:00   
quote:

Larry - there are lots of javascripts that will do that. fairly simple

One day I will be a web master and on this forum I wil say, "bla bla bla, hobide-hoee hebedy gee, it's very simple"
Currently, however, I am strugling to make a journey from the blind but blissfull world of WYSIWYG to the land of CSS.
Does anyone else feel that Front Page and CSS were never meant to be in the same tool belt?

(in reply to dpf)
Larry M.

 

Posts: 2723
Joined: 2/20/2003
From: Greenville, South Carolina, USA
Status: offline

 
RE: How Did They Do Tat? - 8/27/2005 23:09:18   
But Dan would you please share one?

Not sure how to search with keywords: Image Swap, Hover Images? Since this doesn't fit into the category of popups, or hovers or straight popups what is it? I would like the thumbnails I designate to open in one common position on the same page, not a different page.

This question has been kicked around here before but I can't remember if there has been a solid answer or, at least, I haven't thought one was good enough to bookmark. Now, of course, when I need one I can't zero in on it. Obviously it can be done.

:)

< Message edited by Larry M. -- 8/27/2005 23:15:26 >


_____________________________

Larry M.

Indecision is the Key to Flexibility.

(in reply to horseatingweeds)
womble

 

Posts: 5528
Joined: 3/14/2005
From: Living on the edge
Status: offline

 
RE: How Did They Do Tat? - 8/28/2005 5:32:10   
Larry, I did a search with "thumbnail image" on Hotscripts.com and came up with a couple of possibilities, both from Dynamic Drive:
Image Thumbnail Viewer
Image Thumbnail Viewer II
The second looks as though it might do the job quite nicely - I'm certainly going to try it out in one of the projects I'm working on at the moment. Thanks for bringing this up. :)

_____________________________

~~ "A cruel god ain't no god at all" ~~
:)

(in reply to Larry M.)
caz

 

Posts: 3520
Joined: 10/10/2001
From: Somewhere south of Chester, UK
Status: offline

 
RE: How Did They Do Tat? - 8/28/2005 5:33:30   
Image swap in that site:

<script Language="JavaScript">
<!--
img=new Array()
img[0]=new Image()
img[0].src="portfolio/port_1_lrg.gif"
img[1]=new Image()
img[1].src="port_1_lrg.gif"
function changeImage(imgName,imgNum) {
document.images[imgName].src=img[imgNum].src
}

//-->
</script>

../portfolio.htm

One of 10 frames in that frameset, no doctypes and around 250 warnings.

You can do this with css and validate, see this Stu Nicholls' example,
photo gallery
Something else he's done in the playground,
CSS playground



_____________________________

Do not meddle in the affairs of cats, for they are subtle and will dance, or more on your keyboard.
Cheshire cat. www.doracat.co.uk

I remember when it took less than 4hrs to fly across the Atlantic.

(in reply to Larry M.)
dpf

 

Posts: 7121
Joined: 11/12/2003
From: India-napolis
Status: offline

 
RE: How Did They Do Tat? - 8/28/2005 9:03:19   
quote:

One day I will be a web master and on this forum I wil say, "bla bla bla, hobide-hoee hebedy gee, it's very simple"
was that a dig?
horseweeds - maybe I am just in a bad mood but that really irks me. I wasnt answering your question, was I? I was answering Larrys and he knows me well enough to know that if my response is too brief, all he has to do is ask for expansion. you should know that also as I have helped you on a number of occasions.

< Message edited by dpf -- 8/28/2005 11:36:10 >


_____________________________

Dan

(in reply to horseatingweeds)
dpf

 

Posts: 7121
Joined: 11/12/2003
From: India-napolis
Status: offline

 
RE: How Did They Do Tat? - 8/28/2005 11:04:26   
Larry the example caz gave, while lengthy, is a wonderful introduction to doing it with css. if you want to do it with javascript, here is how (simple)
1. use the wysiwyg to build the table with the thumbnails in place and the large cell where the images changes will go - be sure to give a name and id to that square (can be done in fp). for the sake of argument, lets say the name you gave was name="center".
2. as always with mouseovers, you want to preload the images so that when you mouseover, they are already in cache and browser doesnt have to request from server thus ruining the illusion. to build preload, put a script in the head section:

<script language="javascript" type="text/javascript">
<!--
//for each image that will be displayed when mouseover, //add these two lines giving the image a unique name
var img1= new Image(); //img1 is the unique name
img1.src="actualimage.jpg"; //here you are saying that the source of img1 is some file - dont forget the semi colons! you do this for each of the large images that gets mouseovered - dont need to do it for the thumbnails

now add one more for the image that is to be replaced
img centerimg();
centerimg.src = picturename.jpg;

when you have all the images listed with 2 lines and unique names, close the script:
-->
</script>

3. now, in the html for each thumbnail, add this mouseover code:

<a href=""

onMouseOver='document.center.src=img1.src'

onMouseOut='document.center.src=centerimg.src'><img

src="thumb1.gif"></a>

lets look at this code. you place the image thumb1.gif in the cell with the wysiwyg and the code looked like this:
<img src="thumb1.gif">
in order to get the mouseover to work, we have to add and anchor < href="" and the mouseover calls. it is using dot syntax to describe where to perform the action and document.center refers to the image that you named center - so it is saying "on mouseover change the image - not the one here but one in another place"
see how that works?




_____________________________

Dan

(in reply to Larry M.)
caz

 

Posts: 3520
Joined: 10/10/2001
From: Somewhere south of Chester, UK
Status: offline

 
RE: How Did They Do Tat? - 8/28/2005 11:29:16   
quote:

the example caz gave, while lengthy, is a wonderful introduction to doing it with css


Is that a dig :)
I freely admit that I know nothing about javascript.
:)

_____________________________

Do not meddle in the affairs of cats, for they are subtle and will dance, or more on your keyboard.
Cheshire cat. www.doracat.co.uk

I remember when it took less than 4hrs to fly across the Atlantic.

(in reply to dpf)
womble

 

Posts: 5528
Joined: 3/14/2005
From: Living on the edge
Status: offline

 
RE: How Did They Do Tat? - 8/28/2005 11:29:29   
quote:

You can do this with css and validate, see this Stu Nicholls' example,
photo gallery

Womble likes! (and will probably have to have a go at that) :)

The problem is with that though is that you don't get the link on the full size pic to link to another location.

Presumably Dan you could ditch the table in your example and do the positioning with css using divs instead of table cells if you were using xhtml/css?

_____________________________

~~ "A cruel god ain't no god at all" ~~
:)

(in reply to caz)
Larry M.

 

Posts: 2723
Joined: 2/20/2003
From: Greenville, South Carolina, USA
Status: offline

 
RE: How Did They Do Tat? - 8/28/2005 11:31:27   
quote:

see how that works?


Dan,

Not yet, but I'll sure give it a try after I take a smart pill. If I "dumb out", hope it will be OK if I PM you for electronic resuscitation.

_____________________________

Larry M.

Indecision is the Key to Flexibility.

(in reply to dpf)
dpf

 

Posts: 7121
Joined: 11/12/2003
From: India-napolis
Status: offline

 
RE: How Did They Do Tat? - 8/28/2005 11:34:14   
quote:

Is that a dig
nope - the word wonderful was your clue - I am going to study that one.

_____________________________

Dan

(in reply to caz)
dpf

 

Posts: 7121
Joined: 11/12/2003
From: India-napolis
Status: offline

 
RE: How Did They Do Tat? - 8/28/2005 11:36:55   
not a problem larry

_____________________________

Dan

(in reply to Larry M.)
Larry M.

 

Posts: 2723
Joined: 2/20/2003
From: Greenville, South Carolina, USA
Status: offline

 
RE: How Did They Do Tat? - 8/28/2005 11:38:02   
Womble and Carol,

Thanks very much for the tips. Looks like I have plenty of Homework to do.

This is a good example of discovering how little I really know about FrontPage when, just yesterday, ......... :)

_____________________________

Larry M.

Indecision is the Key to Flexibility.

(in reply to Larry M.)
dpf

 

Posts: 7121
Joined: 11/12/2003
From: India-napolis
Status: offline

 
RE: How Did They Do Tat? - 8/28/2005 11:46:42   
quote:

Presumably Dan you could ditch the table in your example and do the positioning with css using divs instead of table cells if you were using xhtml/css?

womble: yes, the javascript isnt dependant upon the table - you can use it with css layout although you may have to use getElementById instead of document.etc. my rust is showing............

_____________________________

Dan

(in reply to womble)
womble

 

Posts: 5528
Joined: 3/14/2005
From: Living on the edge
Status: offline

 
RE: How Did They Do Tat? - 8/28/2005 12:10:43   
/womble rearranges diary to find time to play with photo galleries....:)

_____________________________

~~ "A cruel god ain't no god at all" ~~
:)

(in reply to dpf)
dpf

 

Posts: 7121
Joined: 11/12/2003
From: India-napolis
Status: offline

 
RE: How Did They Do Tat? - 8/28/2005 12:24:38   
one more tip larry - make a new page in front page and just place two images. one thumbnail and one center and then try this out with just that simple layout and get it to work before you tackle a full page.

_____________________________

Dan

(in reply to Larry M.)
caz

 

Posts: 3520
Joined: 10/10/2001
From: Somewhere south of Chester, UK
Status: offline

 
RE: How Did They Do Tat? - 8/28/2005 12:43:58   
quote:

maybe I am just in a bad mood

Again? I hope that it passes soon.

_____________________________

Do not meddle in the affairs of cats, for they are subtle and will dance, or more on your keyboard.
Cheshire cat. www.doracat.co.uk

I remember when it took less than 4hrs to fly across the Atlantic.

(in reply to dpf)
Larry M.

 

Posts: 2723
Joined: 2/20/2003
From: Greenville, South Carolina, USA
Status: offline

 
RE: How Did They Do Tat? - 8/28/2005 12:59:25   
Dan, Carol & Womble,

It occurs to me that the FrontPage Component Photo Gallery does just what I want except the format has thumbnails in a horizontal strip above the large picture which is centered by default.

See www.easleychamber.org/photo-tour.htm for example. (Yes, that's yours truly in the first large picture)

Any chance of modifying that code to select where (and what sizes) thumbnails and the large picture go? Sure would be a lot simpler if it could be done this way.

Comments?



_____________________________

Larry M.

Indecision is the Key to Flexibility.

(in reply to caz)
caz

 

Posts: 3520
Joined: 10/10/2001
From: Somewhere south of Chester, UK
Status: offline

 
RE: How Did They Do Tat? - 8/28/2005 13:20:56   
Sorry Larry, but I pass on that one - I don't have a screen wide enough to display it (1280x1024).

Firefox WebDev toolbar report: 2 errors / 457 warnings

For a nice screen show app I have used Web Album Generator which is standards compliant using CSS, but doesn't display the main image the way you want. You can change the position of the thumbnails if you wish. See one in use here

Maybe the others will be able to fix the FP one.

_____________________________

Do not meddle in the affairs of cats, for they are subtle and will dance, or more on your keyboard.
Cheshire cat. www.doracat.co.uk

I remember when it took less than 4hrs to fly across the Atlantic.

(in reply to Larry M.)
dpf

 

Posts: 7121
Joined: 11/12/2003
From: India-napolis
Status: offline

 
RE: How Did They Do Tat? - 8/28/2005 13:30:06   
quote:

Again? I hope that it passes soon.
it will pass..<smile> thank you

_____________________________

Dan

(in reply to caz)
Larry M.

 

Posts: 2723
Joined: 2/20/2003
From: Greenville, South Carolina, USA
Status: offline

 
RE: How Did They Do Tat? - 8/28/2005 14:46:30   
quote:

I don't have a screen wide enough to display it (1280x1024). Firefox WebDev toolbar report: 2 errors / 457 warnings


Carol,

Yes. It took your comment for me to recall the FrontPage Photo Gallery is only IE friendly. Looks fine in 1024x768 on my machine - little horizontal scrolling at 800x600 which has eluded a fix so far.

I'll pursue the scripts / CSS / whatever. Obviously the developer of www.carolinaregional.com figured it out so with some persistence I will as well. :)

_____________________________

Larry M.

Indecision is the Key to Flexibility.

(in reply to dpf)
Kerrith

 

Posts: 30
Joined: 5/20/2006
From: Pahoa, Big Isle, Hawaii
Status: offline

 
RE: How Did They Do That? - 5/21/2006 7:02:38   
Hi DPF,

I'm not sure how to make the anchor.

Here's what I have.

Small image = Kerrys.jpg to be replaced when moused over by large image = Kerryl.jpg

<script language="javascript" type="text/javascript">
var img1= new Image();
img1.src="images/kerryl.jpg";
img centerimg();
centerimg.src = images/kerrys.jpg;
</script>

<body>

<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="108">

<a href=""

onMouseOver='document.center.src=img1.src'

onMouseOut='document.center.src=centerimg.src'><img

src="images/kerrys.jpg"></a>

</td>
<td>
<a name="centerimg.src"></a>
</td>
</tr>
</table>

Here's the test page javapopup

Here's the css page css

Tip please?

Thanks,

Kerry


< Message edited by Kerrith -- 5/21/2006 16:51:16 >

(in reply to Larry M.)
Page:   [1]

All Forums >> Web Development >> Microsoft FrontPage Help >> How Did They Do That?
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts