[gimp-web] Added div container for each OS for platform=="all"



commit 4d95ac1428e67f810f353b192da3cdce9a7ae8de
Author: Michael Schumacher <schumaml gmx de>
Date:   Thu Jul 23 01:05:39 2009 +0200

    Added div container for each OS for platform=="all"
    
    The .load methos replaces the content of the container, thus a separate
    one is nedded for each include.

 includes/wgo.js |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/includes/wgo.js b/includes/wgo.js
index 3dcc50f..967cdf5 100644
--- a/includes/wgo.js
+++ b/includes/wgo.js
@@ -33,9 +33,10 @@ function renderDownload(platform) {
 	$("#moreos").html("<a href=\"javascript:renderDownload('all');\">Show other downloads</a>");
     }
     else if (platform == "all") {
-	$("#os").load("Linux.xhtml");
-	$("#os").load("Mac.xhtml");
-	$("#os").load("Windows.xhtml");
+	$("#os").html("<div id=\"oslinux\"></div>\n<div id=\"osmac\"></div>\n<div id=\"oswindows\"></div>\n");
+	$("#oslinux").load("Linux.xhtml");
+	$("#osmac").load("Mac.xhtml");
+	$("#oswindows").load("Windows.xhtml");
     }
     else
     {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]