Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 10-31-2011, 05:28 PM   PM User | #1
KingJames603
New Coder

 
Join Date: Oct 2010
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
KingJames603 is an unknown quantity at this point
how to attach .zip file in website

I am trying to figure out how to attach a photoshop file for download to website which I have a mockup to show in photoshop. I am using the code below that when I load the website in firefox and click the link I get the problem loading page message: "Firefox can't find the file at /C:/Users/MyName/Documents/Personal Website Files/Personal Website/MockupToHTML/HomepageMockup4/HomepageMockup-4.zip.

Code:
<a href="MockupToHTML/HomepageMockup4/HomepageMockup4.zip" target="_self"><font color="#104f10"><u>Click here for Photoshop Mockup file</u></font></a>
I don't know if you have to use a server-side framework like ASP.NET to attach .zip files to a website. Any suggestions for code to attach a .zip file in a website?
KingJames603 is offline   Reply With Quote
Old 10-31-2011, 06:50 PM   PM User | #2
aina
New to the CF scene

 
Join Date: Oct 2011
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
aina is an unknown quantity at this point
Your code looks right, the problem is that you also need to place the file under the same folder structure as you web page
aina is offline   Reply With Quote
Old 11-02-2011, 01:23 AM   PM User | #3
KingJames603
New Coder

 
Join Date: Oct 2010
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
KingJames603 is an unknown quantity at this point
You are right, I had folders that are the same in two separate directories which helped solved the problem, kind of confusing at first but figured it out. Thank you so much aina.
KingJames603 is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 06:06 PM.


Advertisement
Log in to turn off these ads.