HTML Tutorial


 Forum HomeForum Home   FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
RegisterRegister - Not registered yet? Got something to say? Join HTML Code Tutorial!
Trying to setup a simple button on my website
Goto page Previous  1, 2
Post new topic   Reply to topic    HTML Help Forum Index -> HTML Form
View previous topic :: View next topic  
Author Message
alpine1jds



Joined: 17 Sep 2008
Posts: 17

PostPosted: Wed Sep 17, 2008 2:17 pm     Reply with quote

I got it on the website and when you click it it goes where it is supposed to but the image shows up as a box with a red x in it,
alpine1jds



Joined: 17 Sep 2008
Posts: 17

PostPosted: Wed Sep 17, 2008 2:21 pm     Reply with quote

Its also werid because when i am editing the site in my admin site the button shows up correctly
PayneLess Designs



Joined: 28 Feb 2007
Posts: 1288
Location: Biloxi, MS

PostPosted: Wed Sep 17, 2008 2:30 pm     Reply with quote

My image is still at imageshack so you can always get it from there for now.
alpine1jds



Joined: 17 Sep 2008
Posts: 17

PostPosted: Wed Sep 17, 2008 2:32 pm     Reply with quote

i think the image is ok because under my site admin the button shows up but on the website it shows up as the box with a red x, what would make it do that?
alpine1jds



Joined: 17 Sep 2008
Posts: 17

PostPosted: Wed Sep 17, 2008 2:38 pm     Reply with quote

i downloaded the image again and re did everything and it still shows up under site admin but not on the website itself
alpine1jds



Joined: 17 Sep 2008
Posts: 17

PostPosted: Wed Sep 17, 2008 2:39 pm     Reply with quote

<a href="http://www.dieseltruckchips.com/Dodge%20price%20list.pdf" title="H&S Waiver Form"><img style="width: 127px; height: 35px; border: 0;" src="https://store01.prostores.com/servlet/customandclassicauto/Admin/FileDownload?dir=%2Fimages%2F&location=C&file=hands.gif" alt="H&S Waiver Form"></a>

here is what the final code looks like that shows up under site admin but not on the website
PayneLess Designs



Joined: 28 Feb 2007
Posts: 1288
Location: Biloxi, MS

PostPosted: Wed Sep 17, 2008 2:47 pm     Reply with quote

Why are you using "src="https://store01.prostores.com/servlet/customandclassicauto/Admin/FileDownload?dir=%2Fimages%2F&location=C&file=hands.gif" if you want the button made to show? That button image should be uploaded to the image folder and the src="" path set to it.
alpine1jds



Joined: 17 Sep 2008
Posts: 17

PostPosted: Wed Sep 17, 2008 2:54 pm     Reply with quote

it is in my image folder and when i click on it it comes up on a webpage all by itself and has that for the address. Where would i find the right part to put in after src " " and do i leave the " before and after the path or take them out? Thanks
alpine1jds



Joined: 17 Sep 2008
Posts: 17

PostPosted: Wed Sep 17, 2008 3:22 pm     Reply with quote

i called tech support and they said i cannot get the path from my site admin i have to call them, it is www.customandclassicautostore.com/images/hands.gif but i put that in and it still doestn show up. heres what i have now that doesnt work <a href="http://www.dieseltruckchips.com/Dodge%20price%20list.pdf" title="H&S Waiver Form"><img style="width: 127px; height: 35px; border: 0;" src="www.customandclassicautostore.com/images/hands.gif" alt="H&S Waiver Form"></a>
alpine1jds



Joined: 17 Sep 2008
Posts: 17

PostPosted: Wed Sep 17, 2008 3:28 pm     Reply with quote

i got it to work perfect, had to add http:// to the front of the path, heres the new code <a href="http://www.dieseltruckchips.com/Dodge%20price%20list.pdf" title="H&S Waiver Form"><img style="width: 127px; height: 35px; border: 0;" src="http://www.customandclassicautostore.com/images/hands.gif" alt="H&S Waiver Form"></a> Thanks again for all of your help payneless designs much appreciated.
PayneLess Designs



Joined: 28 Feb 2007
Posts: 1288
Location: Biloxi, MS

PostPosted: Wed Sep 17, 2008 4:46 pm     Reply with quote

alpine1jds wrote:
i got it to work perfect, had to add http:// to the front of the path,
Glad you got it to work, but had you paid attention to my code in the example you would notice that http:// has to be there only if you are using the full path. Depending on the relationship of your page to where the image is, the src could have been either "src="../images/hands.gif" or "src="images/hands.gif" and not the full path to it.

Doesn't matter now if all is working as you want it to.
PayneLess Designs



Joined: 28 Feb 2007
Posts: 1288
Location: Biloxi, MS

PostPosted: Sat Sep 27, 2008 8:55 pm     Reply with quote

Do you need help finding the image that I uploaded or is this the image you saved to your hard drive and then uploaded?
Display posts from previous:   
Post new topic   Reply to topic    HTML Help Forum Index -> HTML Form All times are GMT - 8 Hours
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
HTML Help Archive
Powered by phpBB © 2001, 2005 phpBB Group
HTML Help topic RSS feed 

 
HOSTING / DESIGN
MAKE MONEY

Home
  |   Tutorials   |   Forum   |   Quick List   |   Link Directory   |   About
Copyright ©1997-2002 Idocs and ©2002-2007 HTML Code Tutorial