I hear ya man.
But iFrames are just such a kludge I tend to avoid them reflexively. Is there anyway of doing plain links with an ad? Download page with a banner type of affair perhaps? That way the ad shows even if they don't "commit", and if they do commit, they aren't bothered.
Just a thought - I like have your cake and eat it too type solutions.
-Stoic Joker
Well, it's going to be JavaScript. There's no getting around it.
IE7/8 breaks downloads for both meta refresh and iframes. I've tried 4 different approaches. I think the only way will be to script it to filter for IE.
It's just nutty. It will pop a save as dialog, but then tries to save "download_exe" instead of "download.exe". Sigh...
If we didn't have such problems with malware, this wouldn't be an issue.
The story board will basically be like this:
* PAGE - Product page (download link to download page)
* USER ACTION - User clicks DOWNLOAD link > taken to product download page
* PAGE - Download page with freedom factories
* SCRIPTING - Script determines browser & pops download for non-IE browsers (direct download link for backup as described above)
* PAGE MODIFICATION - IE receives IE specific message & download link to click
* IE USER ACTION - IE users click download link for direct download
It's really just so entirely messy... I try to keep all code to an absolute minimum whenever possible. Less code = better code.