Question about a code

PageMarketingSEO

Power Member
Joined
Jan 7, 2013
Messages
517
Reaction score
67
Need quick check on some code that worked fine on my pc but when uploaded on hosting it doesn't work anymore.

If you got SKYPE it would be awesome add me on "ikimoi".

Otherwise if you can solve it here, this is the code

Code:
<script>
$(document).ready(function(){ $().socialTrafficPop({
timeout: 30,
title: "Website.com/niche/",
message: 'Niche Generator',
google_url: "Website.com/niche/",
fb_url: "Website.com/niche/",
closeable: false,
advancedClose: false,
opacity: '0.45',
twitter_method: "tweet",
tweet_url: 'Website.com/niche/',
tweet_text: 'Sweet! Ive just received my free Resource niche'
});
});
</script>
)
What this code does is it pops a social box that closes after 30 seconds or when someone tweets/google+ the website. On the pc it works fine but when uploaded to hosting, the countdown doesn't work neither the icons of twitter/google+.

There is another problem too with a button that should perform a java operation when clicked it doesn't do shit when uploaded.

Thanks!
 
Last edited:
Fixed it for you:

Code:
<script>$(document).ready(function(){ $().socialTrafficPop({
timeout: 30,
title: "Website.com/niche/",
message: 'Niche Generator',
google_url: "Website.com/niche/",
fb_url: "Website.com/niche/",
closeable: false,
advancedClose: false,

opacity: '0.45',
twitter_method: "tweet",
tweet_url: 'Website.com/niche/',
tweet_text: 'Sweet! Ive just received my free Resource niche'
insert: Franklin_Hatchett_Method,
});
});
</script>
 
Fixed it for you:

Code:
<script>$(document).ready(function(){ $().socialTrafficPop({
timeout: 30,
title: "Website.com/niche/",
message: 'Niche Generator',
google_url: "Website.com/niche/",
fb_url: "Website.com/niche/",
closeable: false,
advancedClose: false,

opacity: '0.45',
twitter_method: "tweet",
tweet_url: 'Website.com/niche/',
tweet_text: 'Sweet! Ive just received my free Resource niche'
insert: Franklin_Hatchett_Method,
});
});
</script>

Does not work, the problem is not from the code probably as it worked on pc before uploading, it might be when calling for a javascript or something.
 
Does not work, the problem is not from the code probably as it worked on pc before uploading, it might be when calling for a javascript or something.

Now I feel bad man. I was just messing with you. Look closely at what I added.
 
Now I feel bad man. I was just messing with you. Look closely at what I added.
OH haha so you mean you added bullshit.. pfft man not gonna focus much on a joke now this is already getting me flippin.
insert: Franklin_Hatchett_Method <<-- looks like the super addition from your side :D
 
Need quick check on some code that worked fine on my pc but when uploaded on hosting it doesn't work anymore.

If you got SKYPE it would be awesome add me on "ikimoi".

Otherwise if you can solve it here, this is the code

Code:
<script>
$(document).ready(function(){ $().socialTrafficPop({
timeout: 30,
title: "Website.com/niche/",
message: 'Niche Generator',
google_url: "Website.com/niche/",
fb_url: "Website.com/niche/",
closeable: false,
advancedClose: false,
opacity: '0.45',
twitter_method: "tweet",
tweet_url: 'Website.com/niche/',
tweet_text: 'Sweet! Ive just received my free Resource niche'
});
});
</script>
)
What this code does is it pops a social box that closes after 30 seconds or when someone tweets/google+ the website. On the pc it works fine but when uploaded to hosting, the countdown doesn't work neither the icons of twitter/google+.

There is another problem too with a button that should perform a java operation when clicked it doesn't do shit when uploaded.

Thanks!

missing any javascript includes from the <head> part of the page? jsquery etc?
also check you actually uploaded all the other js files it needs to the correct path on your hosting and that they are linked correctly in the html.

sorry if thats too obvious but from you posting just that code thats what it reads like.
 
missing any javascript includes from the <head> part of the page? jsquery etc?
also check you actually uploaded all the other js files it needs to the correct path on your hosting and that they are linked correctly in the html.

sorry if thats too obvious but from you posting just that code thats what it reads like.
I have no idea it seems some java stuff not working on page so a closer look from someone who knows a bit of code would define the problem.
 
Pm me a link and ill take a look if youre still stuck.
 
Back
Top