Jump to content

danIT

Members
  • Posts

    941
  • Joined

Everything posted by danIT

  1. Doesnt quite do the job, it doesn't get rid of the duplicates. For instance in my example the Subject English appears twice, once for each pupil, it need only appear once as once column titled English. I suspect i'll need some kind of script to dynamically read the records.
  2. I have spreadsheet which looks a bit like this: Name | Subject | Grade | Fred | Maths | A | Fred | English | A | Fred | Science | A | Fred | ICT | A | Fred | History | A | Sally | Maths | A | Sally | English | A | Sally | Science | A | Sally | ICT | A | Sally | History | A | I want to convert that to: Name | Maths | English | Science | ICT | Fred | A | A | A | A | Sally | A | A | A | A | Any other ideas than using a Pivot Table (Which i hate as it always returns '1' instead of the Grade as if its counting the records).
  3. All you need to do is remove this HTML from Header.html window.RokSlideshowPath = ''; var myshow; window.addEvent('load', function(){ var imgs = []; imgs.push({ file: '1.gif', title: '', desc: '', url: '#' }); imgs.push({ file: '2.gif', title: '', desc: '', url: '#' }); imgs.push({ file: '3.gif', title: '', desc: '', url: '#' }); imgs.push({ file: '4.gif', title: '', desc: '', url: '#' }); myshow = new Slideshow('slideshow', { type: 'fade', showTitleCaption: 0, captionHeight: 0, width: 970, height: 300, pan: 20, zoom: 30, loadingDiv: 1, resize: true, duration: [2000, 2000], transition: Fx.Transitions.Expo.easeOut, images: imgs, path: 'http://moodle.org/theme/EduMoodle/slideshow/images/' }); myshow.caps.h2.setStyles({ color: '#fff', fontSize: '13px' }); myshow.caps.p.setStyles({ color: '#ccc', fontSize: '11px' }); });
  4. Just as i thought this has stirred thing up! My point isnt the FOSS will cost more than a commerical product, my point is that there is some real cost involved.
  5. I've said it before and ill say it again, Moodle isnt 'free' there is a cost involved..... That should stir things up!
  6. Does this link help you: HeatherSolomon.com - SharePoint 2007 CSS Reference Chart Perhaps: .ms-navheader { color: #fff; } or .ms-navheader a { color: #fff; }
  7. My two pence, Give it a rest Jade! You have my sympathy, and so does every other Cancer sufferer and fair play to you for trying to get as much dosh in the bank ASAP! However, give it a rest luv!
  8. The text size, colour, style has even been looked at yet, thats the easy part! lol The text will need to be positioned differently for each block type depending on the background of the black header etc.... The middle section is a mess at the moment and will probably have a white background, probably make it look like a sheet of A4 pinned to the board. Thanks for the comments,
  9. I know alot of other VLE's use this style, just thought it was about time Moodle did?
  10. I've spent about 5 hours this weekend putting together a new Moodle Theme, I had an idea in mind for a few months now so thought i should try and realise the vision. Its not finished but thought id put a screenshot up of the theme so far and see wht people thought? Link: EduMoodle - Pinboard
  11. Autismuk - Thank you so much! I dont know javascript and have heard of JQuery but think for the novice (me) it will be slightly beyond me lol This has saved me so much bother!
  12. The code searches for occurances of but i want it to replace: does anyone know how the below javascript might be changed to do this? /* dan function by Roger Johansson, http://www.456bereastreet.com/ */ var dan = { init : function() { // Check that the browser supports the DOM methods used if (!document.getElementById || !document.createElement || !document.appendChild) return false; var oElement, oOuter, oI1, oI2, tempId; // Find all elements with a class name of dan var arrElements = document.getElementsByTagName('*'); var oRegExp = new RegExp("(^|\\s)dan(\\s|$)"); for (var i=0; i // Save the original outer element for later oElement = arrElements[i]; if (oRegExp.test(oElement.className)) { // Create a new element and give it the original element's class name(s) while replacing 'dan' with 'cb' oOuter = document.createElement('div'); oOuter.className = oElement.className.replace(oRegExp, '$1cb$2'); // Give the new div the original element's id if it has one if (oElement.getAttribute("id")) { tempId = oElement.id; oElement.removeAttribute('id'); oOuter.setAttribute('id', ''); oOuter.id = tempId; } // Change the original element's class name and replace it with the new div oElement.className = 'i3'; oElement.parentNode.replaceChild(oOuter, oElement); // Create two new div elements and insert them into the outermost div oI1 = document.createElement('div'); oI1.className = 'i1'; oOuter.appendChild(oI1); oI2 = document.createElement('div'); oI2.className = 'i2'; oI1.appendChild(oI2); // Insert the original element oI2.appendChild(oElement); // Insert the top and bottom divs dan.insertTop(oOuter); dan.insertBottom(oOuter); } } }, insertTop : function(obj) { var oOuter, oInner; // Create the two div elements needed for the top of the box oOuter=document.createElement("div"); oOuter.className="bt"; // The outer div needs a class name oInner=document.createElement("div"); oOuter.appendChild(oInner); obj.insertBefore(oOuter,obj.firstChild); }, insertBottom : function(obj) { var oOuter, oInner; // Create the two div elements needed for the bottom of the box oOuter=document.createElement("div"); oOuter.className="bb"; // The outer div needs a class name oInner=document.createElement("div"); oOuter.appendChild(oInner); obj.appendChild(oOuter); }, // addEvent function from http://www.quirksmode.org/blog/archives/2005/10/_and_the_winner_1.html addEvent : function(obj, type, fn) { if (obj.addEventListener) obj.addEventListener(type, fn, false); else if (obj.attachEvent) { obj["e"+type+fn] = fn; obj[type+fn] = function() { obj["e"+type+fn]( window.event ); } obj.attachEvent("on"+type, obj[type+fn]); } } }; dan.addEvent(window, 'load', dan.init);
  13. I;ve tried that without sucess, infact if i delete the contents of the file it still applies the style and i have no idea how?
  14. Im using this Javascript in a Moodle Theme, it currently uses images to create rounded corners by inserting some classes. Moodle is broken down into three sections, left - Middle - right, and this Javascript references them all. I want the javascript to only be applied to the Middle section, can anyone see how this might be accomplished by modifying the below script: <br /> /* <![CDATA[ */<br /> var CSSClass={};CSSClass.is=function(e,c){if(typeof e=="string")e=document.getElementById(e);var classes=e.className;if(!classes)return false;if(classes==c)return true;return e.className.search("\\b"+c+"\\b")!=-1;};CSSClass.add=function(e,c){if(typeof e=="string")e=document.getElementById(e);if(CSSClass.is(e,c))return;if(e.className)c=" "+c;e.className+=c;};CSSClass.remove=function(e,c){if(typeof e=="string")e=document.getElementById(e);e.className=e.className.replace(new RegExp("\\b"+c+"\\b\\s*","g"),"");};<br /> <br /> var script = {<br /> corrections: function () {<br /> if (top.user) {<br /> top.document.getElementsByTagName('frameset')[0].rows = "117,30%,0,200";<br /> }<br /> <br /> // check for layouttabel and add layouttable classes to body<br /> var tagname = 'nolayouttable';<br /> if (document.getElementById('middle-column')) {<br /> var lc = document.getElementById('left-column');<br /> var rc = document.getElementById('right-column');<br /> if ( lc && rc ) {<br /> tagname = 'haslayouttable rightandleftcolumn';<br /> } else if (lc) {<br /> tagname = 'haslayouttable onlyleftcolumn';<br /> } else if (rc) {<br /> tagname = 'haslayouttable onlyrightcolumn';<br /> } else {<br /> tagname = 'haslayouttable onlymiddlecolumn';<br /> }<br /> } else if(document.getElementsByTagName('body')[0].id.substring(0,9)=='calendar-') {<br /> tagname='haslayouttable onlyrightcolumn';<br /> }<br /> <br /> function setbodytag (tagname) {<br /> var bd = document.getElementsByTagName('body')[0];<br /> if (bd) {<br /> CSSClass.add(bd, tagname);<br /> } else {<br /> setTimeout(function() { setbodytag(tagname) }, 30);<br /> }<br /> }<br /> <br /> setTimeout(function() { setbodytag(tagname) }, 30);<br /> },<br /> <br /> init: function() {<br /> script.corrections();<br /> }<br /> };<br /> /* ]]> */<br /> Any ideas?
  15. Can you get any pics of it? Im interested in it...£99 might be a bit high?
  16. Ill swap you for an EeePC lol Have you tried: iPhone Dead Pixel Test Or This: Stuck Pixel Fix for iPhone Obviously vist on your iphone
  17. Nice (wiki) list of useful software for teachers! indispensibletools / FrontPage
  18. I need to find out a rough cost for the NetMedia platform, just need it to compare some costs. Ball park figure is perfectly acceptable?
  19. The conference costs: "Early Bird" rate (if booked before 31st December 2008) £115 + VAT per person Standard rate (If booked between 1st January 2009 and 14th March 2009) £125 + VAT per person Late rate (if booked on or after March 15th 2009) £140 + VAT per person The "MoodleMan" (Julian Ridden) Workshops cost an additional £25 + VAT each and must be booked from the "Extra Options" page on the registration site at Regonline. Group bookings for three or more delegates attracts a discount of 5% for each delegate (even in the early-bird period). Please note that your registration fee covers participation in the conference and also morning and afternoon refreshments and lunch on both days.
  20. danIT

    Linux Commands

    One of my fav's Command-line Fu < The best UNIX commands on the web Notice to the novice, seems that some of the commands are a little dangerous but the author is trying to cleaup and keep an eye out. All in all a nice little site, and script.
  21. http://www.edugeek.net/forums/virtual-learning-platforms/29361-uniservity-moodle.html
  22. This is a stab in the dark but are they stored as reports somewhere?
  23. Think i'll give Primer a go!
  24. I like action/drama's, I have watched and liked: Taken Survivour Wanted The Dark Knight Gone Baby Gone Hancock Choke Jumper Any suggestions?
  25. what will you be hosting?
×
×
  • Create New...