Log in

View Full Version : Click link that offers two versions of a file



itivae
09-12-2011, 10:20 PM
Hi I'm looking for a point in the right direction. I am still an amateur at scripting. I have a 32 bit and a 64 bit version of the same program. Instead of offering a link to both I want to click on a link and have it ask the user if they would like this one (32) or this one (64) could someone point me in the right direction please?

(PS using href right now)

Thanks a ton in advance,

Itivae

FrickenTrevor
09-12-2011, 10:31 PM
Try this (http://www.dynamicdrive.com/dynamicindex8/dhtmlwindow/dhtmlmodal.htm) and look at the 2nd one in the Demo.

The content is set to an iframe, so that way you can have an external page with the 32-bit link and the 64-bit link download

itivae
09-14-2011, 11:54 PM
Thank you for the reply. This is going to be more difficult than I thought. Upon further inspection here are the oddities of this situation.

1. I have no
<head></head> access. These are dynamic html modules.

2. I do not have a traditional ftp setup for this site. I have a files section that will allow for addressing only absolute addresses.

Is there a way to do this?

Thanks again,

Itivae

FrickenTrevor
09-15-2011, 12:05 AM
1. I have no
<head></head> access. These are dynamic html modules.

2. I do not have a traditional ftp setup for this site. I have a files section that will allow for addressing only absolute addresses.


Can you explain these a little bit better?

With the first one, can you explain that better? Did you mean you have no head tags? If so you could just write them in

As for #2, so you have no way of uploading files?

itivae
09-15-2011, 12:11 AM
No. The host the client uses does not give full access to the "backend" of the site. The site is fully dynamic with its own internal CMS. All content on the site that is not made by the host uses an internal html editor. The problem is that the html is not a page it is a dynamic snippet.

I can upload files but only to a directory of their choosing. This does not allow for relative links.

itivae
09-15-2011, 04:24 AM
Got it thx for the time.