Refresh Parent Window From Iframe


parent.location.reload();
Advertisements

remove the .NET Framework Assistant for Firefox


  1. with regedit, go to HKEY_LOCAL_MACHINE\SOFTWARE\Mozilla\Firefox\Extensions
  2. Delete the {20a82645-c095-46ed-80e3-08825760534b} subkey
  3. go to %SYSTEMDRIVE%\Windows\Microsoft.NET\Framework\v3.5\Windows Presentation Foundation\DotNetAssistantExtension\ folder
  4. Delete the DotNetAssistantExtension folder and all its contents

source:

http://support.microsoft.com/kb/963707

jQuery AJAX GET method


syntax

$.get(
	"http://www.somedomain.com/myscript.php",
	"{id:100}",
	function(data) { alert(data); },
	"text"
);

eg:
$.get('aj_lang_id.php', function(data){
if (data=="1"){
location.reload();
} else {
alert("Could not change to selected language");
}
});

jQuery Mega Menu & Cycle


Recently I have problem putting mega menu into existing page which previously use sothink dhtml menu. This page already have image slideshow using jQuery cycle. Unfortunately when I add mega menu, the image slideshow become frozen. After pulling my hairs for few minutes, the workaround is quite easy, just open jkmegamenu.js and comment the first line

// jQuery.noConflict();

that’s it, works like a charm…