View Single Post
  #6  
Old 06-10-2009, 03:53 PM
freenicetemplates freenicetemplates is offline
Administrator
 
Join Date: Mar 2009
Posts: 507
Default flash buttons

Change :



if (contentString.indexOf("http") != -1)
{
location.href=contentString;
return true;
}

showContent = function (contentString) {
jQuery.ajax({
type: "GET",
url: contentString,
dataType:"html",
success: function(data){
jQuery("div.dynamicContent").html(data);
jQuery("div.dynamicContent").slideDown(1000);
},
error: function () {
alert("Page "+contentString+" not found");





by:

showContent = function (contentString) {
if (contentString.indexOf("http") != -1)
{
location.href=contentString;
return true;
}

jQuery.ajax({
......
__________________
We are always pleased to read you in our guestbook