Submit your research to the International Journal "Notes on Intuitionistic Fuzzy Sets". Contact us at nifs.journal@gmail.com

Call for Papers for the 27th International Conference on Intuitionistic Fuzzy Sets is now open!
Conference: 5–6 July 2024, Burgas, Bulgaria • EXTENDED DEADLINE for submissions: 15 APRIL 2024.

MediaWiki:Common.js/Edit section.js

From Ifigenia, the wiki for intuitionistic fuzzy sets and generalized nets
Revision as of 02:10, 8 October 2008 by Ifigenia Administrator (talk | contribs) (New page: /** Shifting the edit section links * Copyright 2006, Marc Mongenet. Licence GPL et GFDL. * The function looks for <span class="editsection">, and moves them * to the end of their parent. ...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/** Shifting the edit section links
* Copyright 2006, Marc Mongenet. Licence GPL et GFDL.
* The function looks for <span class="editsection">, and moves them
* to the end of their parent.
* var oldEditsectionLinks=true disables the function.
*/
 
function setModifySectionStyle() {
	try {
		if ( typeof oldEditsectionLinks != 'undefined' && oldEditsectionLinks ) return;
		var spans = document.getElementsByTagName("span");
		for (var s = 0, len = spans.length; s < len; ++s) {
			var span = spans[s];
			if (span.className == "editsection") {
				span.style.cssFloat = span.style.styleFloat = "none";
				span.parentNode.appendChild(document.createTextNode(" "));
				span.parentNode.appendChild(span);
			}
		}
	} catch (e) { /* something went wrong */ }
}
 
addOnloadHook(setModifySectionStyle);