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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Equivalent to a frame to display images? 1

Status
Not open for further replies.

dRahme

Technical User
Jun 24, 2004
286
US
Hi, I am using NVU to practice with and this is probably
a newbie question.

My wife wants to list some twenty rose photos and display
a large picture for each rose.

I was thinking the way to do this would be to have one image frame and then populate it based on the picture selection..

Can I insert the equivalent of a frame into a html page with the intention of displaying an image based on an option group type selection?

In vba, I would do something like:

Frame1 AfterUpdate()

me.imageframe.visible = true

select case me.frame1

case 1 'Mr Lincoln Rose

me.subHtmlPage.hyperlink = blah blah

case 2 'Chicago Peace

me.subHtmlPage.hyperlink = blah blah

end select


Thanks, dRahme
 
You might want to take a look at "Lightbox".
It's an easy to implement javascript that will show a "popup" image over the top of the main page, dimming the page in the process.
What's more, all you need to do to trigger it is add a class to any images you wish to treat as "Lightbox" popups.



<honk>*:O)</honk>
Foamcow Heavy Industries - Web site design in Cheltenham and Gloucester
Ham and Jam - British & Commonwealth forces mod for Half Life 2
 
Thanks for the information, that will work out fine. Easy is good.

Thanks again, dRahme
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top