Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

help with swap images

Status
Not open for further replies.

hcubed

IS-IT--Management
May 9, 2002
100
AU
Could someone have a look at my site
I am wondering what the best way would be to design this page, I have a number of pics that I want to add to this page but also for example when someone scrolls over the pic and the big picture comes up, I would like also maybe a layer to come up informing them of the picture, so for example the one with the tennis court somehow another popup would appear saying something like " These are th etennis courts at the club where people can play with their friends"

Hope all of this makes sense

thanks

hans
 
also How can I get the images to load faster?

thanks

hans
 
1st

insert a hidden layer with your description in then attach a show hide layer behavior onmouseover as well.

2nd is this the frst page your visitors will come to? If not why not preload them into cache on an earlier page.

Cheech The secret of life is honesty and fair dealing. If you can fake that, you've got it made.
Groucho Marx (1895-1977)
 
Thanks cheech,
This is a little difficult to understand (insert a hidden layer with your description in then attach a show hide layer behavior onmouseover as well), could you give it to me step by step if you have time.

and how do I preload them into cache?

thanks very much for your help
 
1st

Insert a layer.
position it where you would like it to show and put in the desription of the image. With the layer selected, in the properties menu vis option select "hidden".

Now select the image that needs the description and in the behaviours panel click "+" Show Hide Layers>Show. Make sure the trigger is set to "onMouseover" then repeat this but select Show Hide Layers>Hide and the trigger set to "onMouseOut". This will work even with the swap image behaviour you are using.

2nd

on any page you can go to the behaviours panel and click "+" Preload images. This brings up a dialogue box which will allow you to preload as many images as you want.

Behaviours>Preload Images>"+">Browse to(or type image path)>Select image>redo for as many as you like(being aware too many will slow the loading of any page). This will load the pages into cache for subsequent pages to use.

Cheech The secret of life is honesty and fair dealing. If you can fake that, you've got it made.
Groucho Marx (1895-1977)
 
thanks cheech, i got the hang of it know, but when I view it in different resolutions the layers are all over the place???
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top