[Picfinity-commit] SF.net SVN: picfinity: [36] trunk/.themes/ajax
Status: Beta
Brought to you by:
espadav8
From: <esp...@us...> - 2007-08-14 00:52:25
|
Revision: 36 http://picfinity.svn.sourceforge.net/picfinity/?rev=36&view=rev Author: espadav8 Date: 2007-08-13 17:52:28 -0700 (Mon, 13 Aug 2007) Log Message: ----------- Add an onclick for the root breadtrail item Slight CSS positioning changes and hide overflowing names Update the XML loading for IE. Now getting somewhere, the XML wasn't loading before (due to the DTD but unsure why it was causing the problem). Can now click on the folders, however, the elements aren't being created correctly so they're rendered wrong. Modified Paths: -------------- trunk/.themes/ajax/ajax.css trunk/.themes/ajax/ajax.js trunk/.themes/ajax/ajax.xsl Modified: trunk/.themes/ajax/ajax.css =================================================================== --- trunk/.themes/ajax/ajax.css 2007-08-14 00:06:33 UTC (rev 35) +++ trunk/.themes/ajax/ajax.css 2007-08-14 00:52:28 UTC (rev 36) @@ -101,6 +101,7 @@ text-align: center; display: block; height: 16px; + overflow: hidden; } #expandedimage span.name @@ -137,7 +138,7 @@ { display: block; margin: 0 0 10px 0; - height: 20px; + height: 24px; } #breadcrumbtrail ul @@ -162,7 +163,7 @@ #breadcrumbtrail ul li ul { display: none; - margin: 21px 0 -1px -6px; + margin: 22px 0 -1px -6px; position: fixed; z-index: 10; } Modified: trunk/.themes/ajax/ajax.js =================================================================== --- trunk/.themes/ajax/ajax.js 2007-08-14 00:06:33 UTC (rev 35) +++ trunk/.themes/ajax/ajax.js 2007-08-14 00:52:28 UTC (rev 36) @@ -7,18 +7,20 @@ if (document.implementation && document.implementation.createDocument) { xmlDoc = document.implementation.createDocument("", "layout", null); + xmlDoc.load("gallery.xml"); } else if (window.ActiveXObject) { xmlDoc = new ActiveXObject("Microsoft.XMLDOM"); + xmlDoc.validateOnParse = false; + xmlDoc.resolveExternals = false; + xmlDoc.load("gallery.xml"); } else { alert('Your browser can\'t handle this script'); return; } - - xmlDoc.load("gallery.xml"); } function reloadPage() Modified: trunk/.themes/ajax/ajax.xsl =================================================================== --- trunk/.themes/ajax/ajax.xsl 2007-08-14 00:06:33 UTC (rev 35) +++ trunk/.themes/ajax/ajax.xsl 2007-08-14 00:52:28 UTC (rev 36) @@ -214,6 +214,7 @@ <ul class="trailentry"> <li class="currentfolder"> + <xsl:attribute name="onclick">openFolder('<xsl:value-of select="@id" />'); return false;</xsl:attribute> <span class="icon"> <img src=".themes/ajax/foldericon.png" /> </span> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |