Ich habe da ein Problem womit ich schon seit stunden zu gange bin un keine lösung finde.
Folgendes:
im meiner html sind 3 Funktionen
HTML
<head>
<script type="text/javascript" src="release/jquery.min.js"></script>
<script type="text/javascript" src="release/jquery.fullscreen.min.js"></script>
<script type="text/javascript" src="website/functions.js"></script>
</head>
<body>
<a href="#" class="Stil1" onclick="showhide('ersterContainer');return false;">Playlist (Azeigen/Ausblenden)</a>
<a href="javascript:void(0)" class="Stil1" onClick="swap_auto_play()"><span id="ap_status">{if $smarty.cookies.auto_play_playlist!="true"}<font size="1">AutoPlay(Klick) (ist AUS){else}AutoPlay(Klick) (ist AN){/if}</span></a>
<div class="Stil1" id="fullscreen">
<a href="#" class="requestfullscreen">Einschalten Vollbild</a><a href="#" class="exitfullscreen" style="display: none">Ausschalten Vollbild</a>
</div>
<body>
Alles anzeigen
in der functions.js ist:
JavaScript
function swap_auto_play()
{
if($.cookie("auto_play_playlist")=="true")
{
$.cookie("auto_play_playlist","false",{path:"/"});
window.location = document.location;
$('#ap_status').html("off");
}else
{
$.cookie("auto_play_playlist","true",{path:"/"});
window.location = document.location;
$('#ap_status').html("on");
}
}
Alles anzeigen
Nun das eigentliche Problem:
Dies Funktioniert dann nicht mehr
[/code]
<a href="javascript:void(0)" class="Stil1" onClick="swap_auto_play()">
[/code]
Sobald ich aber die jquery.min.js rauspacke geht es wieder. irgendwie vertragen die sich nicht.
kann da einer helfen thx...