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!

How to add a link to an image in an iframe

Status
Not open for further replies.

stillhanginon

Programmer
Mar 25, 2005
27
US
Task:
Set up a website so that someone with no HTML skills can update the "Upcoming" page.

option:
Have an iframe that opens up a Word document that has been saved as a web page. Images are used in the Word doc and the thumbnails are linked to open a larger picture, all in the iframe.

Problem:
When the larger pictures open up I would like to have a link that would take you to the original page.

Here is a link to the site:
Click on the "Upcoming Auctions" link and the Word document, "auction.html" opens up in the iframe. Clicking on one of the images opens up a larger one and then I need to go back to the auction.html page.

I could just make a link to the page but I don't see in the Microsoft mess of a code where to put this link.

Any help is appreciated,
Jim
 
You won't be able to add a link to the larger images, because they aren't actually html pages, only big jpeg images. You'd need to put the images in a html page of their own to surround them with a link, or put a link under them.

As it stands your best bet would be to not disable the Upcoming Auction link to the left, or just rely on the users to use their back button.

The design allows for nothing else.

----------------------------------
Phil AKA Vacunita
----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.

Behind the Web, Tips and Tricks for Web Development.
 
This would be an excellent time to scrap everything you have done and look at a free content management system like WordPress, Joomla or Drupal. What you have proposed would have been slightly reasonable in 1995.

If you can't figure out Microsoft's mess of code, what makes you think a web browser will be able to do any better? [bigsmile] The worst thing you can do is to develop a workflow where a Microsoft Office app is generating incoherent-CSS-bloated HTML.
 
Yeah, I agree. I've used Drupal before and that would be a lot better if the client is willing to go that way, worth a shot.
Thanks.
Jim
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top