Re: Hyperlinks
- From: "DavidF" <Nope@xxxxxxxxxx>
- Date: Wed, 8 Nov 2006 15:32:13 -0800
Dave,
You are almost there. You need to import the image rather than embed it in
the Pub page. Using your code snippet:
<a target="_display"
href="http://www.snipesfamily.net/index_files/BD_HL.htm"><IMG
SRC="http://snipesfamily.net/index_files/image9471.jpg"/></a>
First create a subfolder on your site called "images", at the same root
level as your index.htm file and the index_files folder.
Second, take your original image, which I assume is "BD_01.jpg", and resize
it to the size you want to display on your page using a third party image
editing program, and then upload it to your new "images" folder.
Now use this code snippet:
<a target="_display"
href="http://www.snipesfamily.net/index_files/BD_HL.htm"><IMG
SRC="http://snipesfamily.net/images/BD_01.jpg"></a>
Note that you do not use a forward slash after the image file name, and be
sure to size the code fragment box the same size as the image. Though it
should not make any difference, another poster had problems using the
underscore in a file name, so if you have problems, use BD01.jpg .
If you don't have an image editing program, let me know. I can suggest a
freebie such as irfanview or there is a workaround, but it would be better
if you optimize the image in a third party program.
And though you did not ask for it, you can also add the ALT tag if you want.
Here is an example:
<a target="_display"
href="http://www.snipesfamily.net/index_files/BD_HL.htm"><IMG
SRC="http://snipesfamily.net/images/BD_01.jpg" ALT="Whatever text you want
to add"></a>
If you use this code snippet, and mouseover the image, you will see
"Whatever text you want to add" . You could change the text to say, "click
here for a larger image"...or add some other description of your choice.
Good luck.
DavidF
"puter guy" <puterguy@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:B3BFA9AB-3767-4752-B8B9-50EE4D9F5231@xxxxxxxxxxxxxxxx
Hi David:
Thanks for the quick response and feedback on my site. Just like every
other
web surfer, my family members have short attentions spans so I've gotta
grab
their attention :-)
I've encountered a problem with trying to link my pictures to a new
window.
Using the link posted above I understand the code:
<a target="_display"
href="http://www.snipesfamily.net/index_files/BD01_HL.htm"><IMG
SRC="C:\Documents and Settings\snipes_d\Desktop\MS
Publisher\Pictures\Daddy\BD_01.jpg"/></a>
Simple enough, the link points to a webpage and the IMG points to an image
on my C: drive that serves as the place holder for the hyperlink. However,
looking over David's fragment I came up with this:
<a target="_display"
href="http://www.snipesfamily.net/index_files/BD_HL.htm"><IMG
SRC="http://snipesfamily.net/index_files/image9471.jpg"/></a>
Again, the link is pointing to the same webpage (e.g. larger picture), and
the image to be shown on the webpage is sourced from a file on my website.
I
hope this is clear thus far...
The problem I've run into is that when I publish my site, Pub renames all
of
my files so I can't add the specific address (e.g. .../index_files/R_D01)
to
my fragment. because the name changes to something like - image1234. I've
tried publishing, grabing the file name, adding to frag address, and then
republishing but Pub reassigns it another name - d'Oh!
The long and the short: how do I point to a specific image that serves as
a
place holder for a link when I don't know what the name will be since the
name is changed when I publish (obstensively changing the web address
name)?
I'm haunted from past posters describing how their links point to their C:
drive and not the website and I don't want to follow suit...
Thanks again!
Dave
--
"Alcohol, the cause AND solution to all of life''s problems" Homer J.
Simpson
"DavidF" wrote:
Thanks, Dave the 'puter guy! Sometimes I just don't have enough time to
answer in detail, and David Bartosik's material usually leads to either
an
answer, or a better asked question. And then there are sometimes, I just
don't know how to help people, especially with uploading issues. That is
really hard to troubleshoot without sitting in front of a computer.
Anyway,
thanks...and good work on your site...creative and entertaining.
DavidF
"puter guy" <puterguy@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:C7197A0B-CB5D-4F19-B2EF-464F4BB3B854@xxxxxxxxxxxxxxxx
Thanks David! This was exceedingly helpful! Usually your links point to
a
generic webpage (e.g. /30 or /33) and I usually find myself going in
circles
to find the answer; and sometimes I don't. This particular link was
direct
and with a little troubleshooting, I was able to solve my issue in less
than
5 minutes.
I've posted a couple questions now and between the two David's
responses
and
reading other posts, I've been able to set up a nice webpage:
http://www.snipesfamily.net
I'm still working on layout (e.g. picture size, links, navigation,
etc.)
but
it's coming along well.
Thanks again!
Dave
--
"Alcohol, the cause AND solution to all of life''s problems" Homer J.
Simpson
"DavidF" wrote:
Hyperlinks that open a new browser window:
http://msmvps.com/blogs/dbartosik/archive/2006/01/13/81266.aspx
DavidF
"nupee" <nupee@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:9EA170B5-E3B7-48D1-8295-33FFBA485F78@xxxxxxxxxxxxxxxx
I have created hyperlinks and when I click on the link it takes you
to
that
page and takes the viewer away from the website. However, I would
rather
the link open up a new window so that a person will still have my
website
open.
.
- Follow-Ups:
- Re: Hyperlinks
- From: puter guy
- Re: Hyperlinks
- References:
- Re: Hyperlinks
- From: DavidF
- Re: Hyperlinks
- From: puter guy
- Re: Hyperlinks
- Prev by Date: Re: Hyperlinks
- Next by Date: Re: Hyperlink to a different part of a page?
- Previous by thread: Re: Hyperlinks
- Next by thread: Re: Hyperlinks
- Index(es):
Relevant Pages
|
Loading