although it didnt fix the problem i'm having with jcebox, i figured out one way of doing it so if anyone ever needs to do this here ya go. ..
in the content item:
Code: Select all
<script type="text/javascript">
if (location.hash !== "")
{
document.write("including sleep.php")
document.write("{jumi [includes/sleep.php]}")
}
</script>
sleep.php
Code: Select all
<?php
#Simple sleep timer by gtron.com
#Pass timer (/sleep.php?timer=10) to specify time otherwise 3 seconds is the default.
$sleepTime = $_POST['timer'];
//default sleep time of 3 seconds
if (!$sleepTime)
{
$sleepTime=3;
}
//sleep
sleep($sleepTime);
?>
requires jumi extension.
sorry if my code sucks, i work in threat & vulnerability and im not a developer.
on that note, anyone know how i can get the jcebox to load anchors right? lol