HTML Pop-Up Message With Links .?

Archived in the category: html pop up
Posted by Kristen Meyers on 26 Aug 09 -

I want a pop-up message that has two links

for example i have a download site and when you click download a pop-up comes up asking if you want to download the mac version or windows

Thanks!

You’ll probably find it here. http://www.quackit.com/html/codes/

powered by Yahoo Answers

3 comments for “HTML Pop-Up Message With Links .?”

1
Lee R

You’ll probably find it here. http://www.quackit.com/html/codes/
References :

August 27th, 2009 at 2:36 am
2
StupidShep

<script type="text/javascript">
<!–
function clicked() {
pop = document.getElementById(’pop_up’);
pop.style.visibility = ‘visible’;
//You may also want to position the popup in the center of the page, or w/e
}
//–>
</script>

<a href="javascript:clicked();">Download</a>

<div id="pop_up" style="position: absolute; left: 0px; right: 0px; visibility: hidden;">

<!–Put anything that you want in the pop up in this div–>
<a href="/mac.php">Download for Mac</a><br />
<a href="/pc.php">Download for PC</a>

</div>

Hope this helps. :D
References :

August 27th, 2009 at 3:17 am
3
Zack P

You could not even need a pop up, you can do this with javascript. basically this is sudo code of how it would look:

if(computer.brand = mac){
download.mac = true;
}else{
download.windows = true;
}

with this code you would eliminate the pop up and therefore limiting the amount of decisions someone would need to make.

believe me, there are people out there that might not know if they have a pc or a mac. it might be 1/1000000 but its still likely

also, users like things handed to them. so the easiest way for them would be less decisions.
References :

August 27th, 2009 at 3:38 am

Laeave a Reply