Log in

View Full Version : back to previous page code atached to a jpg button i made



orianna
01-22-2011, 12:31 PM
:):) hi I was hoping to get some help with this

O K I'm working in dream weaver and i have a .jpg button i made

and i need it to have the code (((back to previous page ))) attached to it


((the main thing is the code has to work with the .jpg image))

any help out there



i did Search for my problem and all i came up with was a hyperlink that would take the place of the button

i do no a little code

this is the site

http://justicearledge.com/randy_home.html


one more thing

this is the JavaScript i found

<a href="javascript:history.back()">Try it now</a>



so i was wandering if I'm just over looking something :eek::eek::eek:

this is my code from dream weaver

<img name="masternav_r3_c8_s1" src="master%20nav_r3_c8_s1.jpg" width="51" height="6" border="0" id="masternav_r3_c8_s1" alt="" /></a><a href="javascript:;" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('masternav_r3_c8_s1','','master nav_r3_c8_s2.jpg',1)"></a></td>


any help would be awesome

fastsol1
01-22-2011, 01:40 PM
<a href="javascript:;" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('masternav_r3_c8_s1','','master nav_r3_c8_s2.jpg',1)"><img name="masternav_r3_c8_s1" src="master%20nav_r3_c8_s1.jpg" width="51" height="6" border="0" id="masternav_r3_c8_s1" alt="" /></a>

In the code you showed you didn't even enclose the image in a href tag, so the image won't even be a link at that point.

I looked at your site and I have to suggest recoding it. Your are using tables for the layout and that is really a bad thing. Your should redo it using divs and css. Also you have a 1px alignment issue on the page that has the picture with a guy holding a sign that says "We can do" or something like that.