Results 1 to 2 of 2
Thread: Image link to iframe problem
-
11-08-2011, 03:31 AM #1
Junior
- Join Date
- Aug 2011
- Posts
- 192
- Thanks
- 0
- Thanked 1 Time in 1 Post
- Feedback Score
- 0
Image link to iframe problem
Can anybody help me with the following problem as I have so far been unable to come up with the correct code.
I have an image on the left hand side of the page. I want to be able to click on the image and 'call in' a positioned iframe within a 'div' onto the right hand side of the page.
I dont want the iframe showing until the image is clicked.
Can anybody give me the appropriate code for this.
Also, is it possible to have a 'close window' button (in this case it would be a close iframe button) within the called in html page. What I mean by this is; image is clicked, iframe appears on the right, scroll down and read contents, close window button positioned at the bottom of the page, click button and the iframe disappears.
Any help with the above would be most welcome.
Many thanks
-
11-08-2011, 08:49 AM #2
Senior
- Join Date
- Aug 2011
- Posts
- 671
- Thanks
- 0
- Thanked 7 Times in 7 Posts
- Feedback Score
- 0
please try this code : <a href="#" onclick="document.getElementById('hiddeniframe').s tyle.display = ''; return false;">Show iframe</a>
Similar Threads
-
how can put link in a image of a site?
By futuristiclover121 in forum Graphics Design & Web DesignReplies: 8Last Post: 08-29-2011, 01:16 AM -
HTML Frames and URL Link Problem.
By slanluc in forum HTML / DHTMLReplies: 0Last Post: 08-13-2011, 04:14 AM -
link building - ip problem
By sarahbrooks in forum Search Engine OptimizationReplies: 0Last Post: 06-10-2011, 03:18 PM -
background image problem! please help.
By cavinsmither in forum Graphics Design & Web DesignReplies: 6Last Post: 01-02-2011, 04:15 PM -
Image Link in Google Image
By BrainPulse in forum GoogleReplies: 4Last Post: 05-03-2009, 04:08 AM


Reply With Quote

