Printer Friendly Version
Email this thread to a friend
|
How i can get Page Rank? (In: Google)
all the results in 1 page (In: SEO Tools and Software Utilities)
Featured Web Site Template |
|
There are 0 guests and 1 members in the forums right now.
Reflects user activity within the last 5 minutes
|
|
| Member |
Message |
dorutrip
Joined: Nov 26, 2004
# Posts: 5
|
Posted: 2004-Dec-11 00:32
I would like to make a linked page (an image file for now, but curious about a linked html document too) open within the same document (html).
So I click a link and the image/document loads in a section within the same page.Is there any easy way to do that?. I am talking about a html document (this can probably be easily done with php)
Also I do not want to use frames.
Thanks.
|
 |
dorutrip
Joined: Nov 26, 2004
# Posts: 5
|
Posted: 2004-Dec-11 01:18
OK,
I found an answer on another board. It can be easily done with an inline frame targeted from the link to the image. You define an iFrame where the images/documents would load and then link to them with:
<a HREF='image.jpg' TARGET='myiframe'>
Works nicely.
|
 |
birchj
Joined: Jan 03, 2005
# Posts: 16
|
Posted: 2005-Jan-03 14:18
Here is a solution without frames.
You can view it here: [link]
Here is the code:
<HTML>
<HEAD>
<TITLE>Swap Image</TITLE>
</HEAD>
<BODY>
<CENTER>
<IMG NAME='SwapImage' SRC='6.gif'><BR>
<INPUT TYPE='BUTTON' VALUE='1' onClick='getElementById("SwapImage" ).src = "1.gif";'>
<INPUT TYPE='BUTTON' VALUE='2' onClick='getElementById("SwapImage" ).src = "2.gif";'>
<INPUT TYPE='BUTTON' VALUE='3' onClick='getElementById("SwapImage" ).src = "3.gif";'>
<INPUT TYPE='BUTTON' VALUE='4' onClick='getElementById("SwapImage" ).src = "4.gif";'>
<INPUT TYPE='BUTTON' VALUE='5' onClick='getElementById("SwapImage" ).src = "5.gif";'>
<INPUT TYPE='BUTTON' VALUE='6' onClick='getElementById("SwapImage" ).src = "6.gif";'>
</CENTER>
</BODY>
</HTML>
|
 |
You are not permitted to post messages in this forum or topic, because of one or more of the following reasons:
- You have not yet logged in, or registered properly as a member
- You are a member, but no longer have posting rights.
- This is a private forum, for which you do not have permissions.
If you are a recent member, it's possible that you simply have not yet confirmed your account. Please
check your email for a message entitled 'JimWorld Forums: Confirm Your Account' and follow the instructions
contained within.
If you cannot find this message, click here to Re-Send it.
|
If you are still experiencing problem, please read the
Login Assistance
Article for some advice on what may be causing your login not to work properly.
|
Switch to Advanced Editor and ...
Create a New Topic
or Reply to this Thread
|
|