haddad05
asked on
Adding a picture/link to web site
Greetings!
I am attempting to add a picture which will link to another site on my site, www.coyotemoonaz.com. I would like this picture to be placed on the left pane close to the top of the page. no programing experience so any help is appreciated.
I am attempting to add a picture which will link to another site on my site, www.coyotemoonaz.com. I would like this picture to be placed on the left pane close to the top of the page. no programing experience so any help is appreciated.
ASKER
The picture is not up there yet...I would like it on the left side above the menu and below the title...
Okay, the menu is an image too. So place this new image above the menu and that should do what you want. To place it, go into source code view and look for this line:
<td width="177"><img src="a_data/cmmenu2.gif" usemap="#Map" border="0" height="150" width="150" />
Click between the two tags, so the cursor is blinking between the ><
Now switch back to design view and without clicking on the page, do Insert | Image from the menu. Select the image from the dialog.
Done.
<td width="177"><img src="a_data/cmmenu2.gif" usemap="#Map" border="0" height="150" width="150" />
Click between the two tags, so the cursor is blinking between the ><
Now switch back to design view and without clicking on the page, do Insert | Image from the menu. Select the image from the dialog.
Done.
ASKER
...ok did that. seemed to have worked except when visiting the site there is no picture there.
Now you have to upload all the pages and the image files to your web server. Dreamweaver works locally, unless you have the local and remote servers set to be the same machine.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Ryancys,
I followed your suggestion and it worked only on the local machine...
I followed your suggestion and it worked only on the local machine...
it should works since it's a fullpath url, i'm afraid your server got some limitation/setting to prevent you from viewing the images...
ASKER
ok it worked...now how can i get that pic to link to another site when clicked on?
>>now how can i get that pic to link to another site when clicked on?
you need to add and specify a hyperlink, like:
<a href="http://www.yahoo.com" target="_blank"><img src="http://www.valwest.com/coyotemoonaz/images/coyotemoonmap.bmp" border="0" height="353" width="463" /></a>
if you want to specify the opened window's size, you can try use javascript instead, like:
function openInCenter(theURL, myw, myh) {
var X = ((screen.width/2)-(myw/2)) ;
var Y = ((screen.height/2)-(myh/2) );
var myparams = "innerWidth=" + myw + ",innerHeight=" + myh + ",width=" + myw + ",height=" + myh + ",left=" + X + ",top=" + Y + ",screenX=" + X + ",screenY=" + Y;
myparams += "alwaysLowered=0,alwaysRai sed=1,chan nelmode=0, dependent= 0,director ies=0,full screen=0,h otkeys=1,l ocation=0, menubar=0, noresize=1 ,,scrollba rs=1,statu s=0,titleb ar=1,toolb ar=0,z-loc k=1";
mypopup = window.open(theURL,"myPopu pName",myp arams);
}
<a href="http://www.yahoo.com" onClick="openInCenter(this .href, 840, 600);return false;"><img src="http://www.valwest.com/coyotemoonaz/images/coyotemoonmap.bmp" border="0" height="353" width="463" /></a>
hope this helps
you need to add and specify a hyperlink, like:
<a href="http://www.yahoo.com" target="_blank"><img src="http://www.valwest.com/coyotemoonaz/images/coyotemoonmap.bmp" border="0" height="353" width="463" /></a>
if you want to specify the opened window's size, you can try use javascript instead, like:
function openInCenter(theURL, myw, myh) {
var X = ((screen.width/2)-(myw/2))
var Y = ((screen.height/2)-(myh/2)
var myparams = "innerWidth=" + myw + ",innerHeight=" + myh + ",width=" + myw + ",height=" + myh + ",left=" + X + ",top=" + Y + ",screenX=" + X + ",screenY=" + Y;
myparams += "alwaysLowered=0,alwaysRai
mypopup = window.open(theURL,"myPopu
}
<a href="http://www.yahoo.com" onClick="openInCenter(this
hope this helps
Which picture? The left pane of what? The question is a little hard to follow.