| Autor | Zpráva | ||
|---|---|---|---|
| FilipP Profil |
#1 · Zasláno: 26. 11. 2011, 15:23:49 · Upravil/a: FilipP
Dobrý den mám probém. Když chci použít oba scripty tak mi ten co je dřív nechce dungovat:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=latin2" />
<title>Hlavní stránka © Pyrek Systems</title>
<link rel="shortcut icon" href="images/icon.png" type="image/x-icon">
<link href="style.css" rel="stylesheet" type="text/css" />
<link rel='alternate' type='application/rss+xml' title='Zš Tyršova' href='rss.php' />
<script src="js/jquery-1.6.2.js"></script>
<script src="js/jquery.ui.core.js"></script>
<script src="js/jquery.ui.widget.js"></script>
<script src="js/jquery.ui.accordion.js"></script>
<script>
$(function() {
$( "#accordion" ).accordion({
autoHeight: false,
navigation: false
});
});
</script>^Teď nefunguje to script nad tímto textem ^: <script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/jqfade.js"></script>
<script type="text/javascript">
$(document).ready(
function(){
$('#news').innerfade({
animationtype: 'slide',
speed: 1000,
timeout: 2000,
type: 'random'
});
});
</script>
</head>
<body>
</body>
</html> |
||
| shaggy Profil |
#2 · Zasláno: 26. 11. 2011, 15:33:40
FilipP:
A rozmýšľaš vôbec nad tým, čo sa snažíš urobiť? Pre začiatok sa pokúsim rozvinúť tvoje logické myslenie a opýtam sa ťa - má zmysel volať 2x jquery framework? |
||
| Petik Profil * |
#3 · Zasláno: 26. 11. 2011, 15:37:39
Proč nahráváš jQuery 2x ?
<script src="js/jquery-1.6.2.js"></script> <script type="text/javascript" src="js/jquery.js"></script> |
||
| FilipP Profil |
#4 · Zasláno: 26. 11. 2011, 16:19:47
<script src="js/jquery-1.6.2.js"></script> <script type="text/javascript" src="js/jquery.js"></script> pro jistotu ale pokud stačí náhrát tu 1.6.2 tak to tam dám jenom jednou ..... ale nevíte proč to teda nechce fungovat? |
||
|
Časová prodleva: 15 let
|
|||
0