Wrox Programmer Forums
|
HTML Code Clinic Do you have some HTML code you'd like to share and get suggestions from others for tweaking or improving it? This discussion is the place.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the HTML Code Clinic section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 5th, 2003, 11:04 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 347
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Adam H-W
Default i frames and all that

Hi there

I'm using this iframe with some buttons to bring up various images individually on the click of the respective button. However, when the page loads, there is an empty space (not literally, but it's not very pretty!) where the iframe is before a user clicks on a button. What can I do to make this 'space' more aesthetcially pleasing? i.e can I put an image on top of the iframe before the user clicks on a button to bring up the iframe, rather than have a blank space there?

many thanks

Adam
 
Old November 5th, 2003, 11:11 AM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

You could create simple page as the initial source of the iframe so when the parent page is brought the default view contains something in the iframe area. then your button makes the necessary changes to bring up the images.

Peter
----------------------------------------
Work smarter, not harder.
 
Old November 5th, 2003, 12:24 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 347
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Adam H-W
Default

Thanks Peter - Got it - damn, I'm being a little slow today - thanks for pointing me in the right direction! :)





Similar Threads
Thread Thread Starter Forum Replies Last Post
Frames Simmy73 ASP.NET 2.0 Basics 1 May 26th, 2006 07:26 AM
Frames ricardo_s HTML Code Clinic 1 April 27th, 2006 02:37 PM
frames twinkle Javascript How-To 34 March 31st, 2004 06:06 AM
FRAMES twinkle Javascript 2 March 30th, 2004 02:04 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.