The forum is here for legacy reasons. No new posts will be created. User registration is disabled! If you have any questions, please email us or check https://www.adultscriptpro.com for more details!
You are not logged in.
Pages: 1
Hi,
we would like to add mobile pop-ups in the template, the broker says we would need to change links and add a section (onclick="exoMobilePop();)
Could you tell me where in the mobile templates I can find the space to add this to trigger the pop-up when clicking on a video in the start page?
Thanks!!
Offline
You can use javascript to add popups on any link click.The code would be something like this:
$("a").click(function() {
popup_function_here();
});
Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds
Offline
Can you explain that a little more, im trying to get mobile pop-ups to work an the crap not working.
Offline
You add the below code in header.tpl.php:
<script type="text/javascript">
$(document).ready(function() {
$("a").click(function() {
you_need_popup_code_here();
});
});
</script>
Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds
Offline
I tried this but none worked.
<script type="text/javascript">
$(document).ready(function() {
$("a").click(function() {
<script src="http://mobile.plugrush.com/freeazztube.com/4f0e/4f0e.js" type="text/javascript"></script>t();
});
});
</script>
<script type="text/javascript">
$(document).ready(function() {
$("a").click(function() {
http://mobile.plugrush.com/freeazztube.com/4f0e/direct();
});
});
</script>
Offline
I tried this but none worked.
This is complete missunderstanding. Invalid javascript code.
You can't just copy&paste url or javacript src inside other javascript.
Try to learn how to popup window using javascript. There are thousands articles about it on internet.
Basic usage is
window.open( "http://www.google.com/" )
or with window size:
window.open('http://www.google.com/','name','height=200,width=150');
there can be many parameters for window.open function.
Also as this is popup, you may need to set cookie, not to open popup on every click.
Offline
How can i clear cookies for mobile each time a mobile visitor close the window/ or exit the mobile site?
Offline
Pages: 1