Vydělávej až 160.000 Kč měsíčně! Akreditované rekvalifikační kurzy s garancí práce od 0 Kč. Více informací.
Hledáme nové posily do ITnetwork týmu. Podívej se na volné pozice a přidej se do nejagilnější firmy na trhu - Více informací.
Avatar
Mohycan
Člen
Avatar
Mohycan:7.5.2013 15:26

Ahojte prosím bol by niekto tak ochodtný a tento JQuery by my dal to tohto panela v PHP-FUSION ?

JQuery :

<!doctype html>

<html lang="en">
<head>
  <meta charset="utf-8" />
  <title>jQuery UI Accordion - Default functionality</title>
  <link rel="stylesheet" href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css" />
  <script src="http://code.jquery.com/jquery-1.9.1.js"></script>
  <script src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script>
  <link rel="stylesheet" href="/resources/demos/style.css" />
  <script>
  $(function() {
    $( "#accordion" ).accordion();
  });
  </script>
</head>
<body>

<div id="accordion">
  <h3>Section 1</h3>
  <div>
    <p>
    Mauris mauris ante, blandit et, ultrices a, suscipit eget, quam. Integer
    ut neque. Vivamus nisi metus, molestie vel, gravida in, condimentum sit
    amet, nunc. Nam a nibh. Donec suscipit eros. Nam mi. Proin viverra leo ut
    odio. Curabitur malesuada. Vestibulum a velit eu ante scelerisque vulputate.
    </p>
  </div>
  <h3>Section 2</h3>
  <div>
    <p>
    Sed non urna. Donec et ante. Phasellus eu ligula. Vestibulum sit amet
    purus. Vivamus hendrerit, dolor at aliquet laoreet, mauris turpis porttitor
    velit, faucibus interdum tellus libero ac justo. Vivamus non quam. In
    suscipit faucibus urna.
    </p>
  </div>
  <h3>Section 3</h3>
  <div>
    <p>
    Nam enim risus, molestie et, porta ac, aliquam ac, risus. Quisque lobortis.
    Phasellus pellentesque purus in massa. Aenean in pede. Phasellus ac libero
    ac tellus pellentesque semper. Sed ac felis. Sed commodo, magna quis
    lacinia ornare, quam ante aliquam nisi, eu iaculis leo purus venenatis dui.
    </p>
    <ul>
      <li>List item one</li>
      <li>List item two</li>
      <li>List item three</li>
    </ul>
  </div>
  <h3>Section 4</h3>
  <div>
    <p>
    Cras dictum. Pellentesque habitant morbi tristique senectus et netus
    et malesuada fames ac turpis egestas. Vestibulum ante ipsum primis in
    faucibus orci luctus et ultrices posuere cubilia Curae; Aenean lacinia
    mauris vel est.
    </p>
    <p>
    Suspendisse eu nisl. Nullam ut libero. Integer dignissim consequat lectus.
    Class aptent taciti sociosqu ad litora torquent per conubia nostra, per
    inceptos himenaeos.
    </p>
  </div>
</div>


</body>
</html>

Panel :

echo "<table width='100%' border='0' cellspacing='2' cellpadding='0'>n
<tr valign='top'>n
<td width='218'>n";
opentable("Panel 1");

closetable();
echo "</td>n<td width='218'>n";

Budem veľmi rád ak mi to tam niekto dá alebo neviem či mám ešte niečo stiahnuť k tomu lebo Javascripu vôbec nerozumiem :(

Vopred ďakujem za odpoveda

 
Odpovědět
7.5.2013 15:26
Avatar
David Hartinger
Vlastník
Avatar
Odpovídá na Mohycan
David Hartinger:7.5.2013 15:57

To nahoře totiž není JavaScript, ale HTML. Pokud nerozumíš ani HTML, přečti si základy zde: http://www.itnetwork.cz/…bove-stranky . Dojdeš k tomu, že se jedná o definici seznamu. Ten poté JS předělá na accordion.

Nahoru Odpovědět
7.5.2013 15:57
New kid back on the block with a R.I.P
Avatar
Mohycan
Člen
Avatar
Mohycan:8.5.2013 12:08

To viem ,že to je HTML :D Ale ked je hore

<link rel="stylesheet" href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css" />
   <script src="http://code.jquery.com/jquery-1.9.1.js"></script>
   <script src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script>
   <link rel="stylesheet" href="/resources/demos/style.css" />

Tak by to malo isť či to treba ešte aj stiahnuť ?

 
Nahoru Odpovědět
8.5.2013 12:08
Avatar
David Hartinger
Vlastník
Avatar
Odpovídá na Mohycan
David Hartinger:8.5.2013 12:09

První 3 stahovat nemusíš, ten poslední ano.

Nahoru Odpovědět
8.5.2013 12:09
New kid back on the block with a R.I.P
Avatar
Mohycan
Člen
Avatar
Mohycan:8.5.2013 17:03

A ja som ten Accordion našiel tu : http://jqueryui.com/accordion/
A odkial mam stiahnut to posledne ?

 
Nahoru Odpovědět
8.5.2013 17:03
Avatar
David Hartinger
Vlastník
Avatar
Odpovídá na Mohycan
David Hartinger:8.5.2013 17:54

A zkoušel jsi to bez toho? Třeba to ani potřeba není.

Nahoru Odpovědět
8.5.2013 17:54
New kid back on the block with a R.I.P
Avatar
Mohycan
Člen
Avatar
Mohycan:8.5.2013 20:14

Áno skúšal napíše to iba holý text.

 
Nahoru Odpovědět
8.5.2013 20:14
Avatar
David Hartinger
Vlastník
Avatar
Odpovídá na Mohycan
David Hartinger:8.5.2013 20:25

No tak si to stáhni a připoj :D

Nahoru Odpovědět
8.5.2013 20:25
New kid back on the block with a R.I.P
Avatar
Mohycan
Člen
Avatar
Mohycan:9.5.2013 19:42

Ale odkial ? To neviem :D

 
Nahoru Odpovědět
9.5.2013 19:42
Avatar
Mohycan
Člen
Avatar
Mohycan:11.5.2013 17:55

Je to stiahnute hodene na FTP a stále to nejde už neviem prečo...

 
Nahoru Odpovědět
11.5.2013 17:55
Děláme co je v našich silách, aby byly zdejší diskuze co nejkvalitnější. Proto do nich také mohou přispívat pouze registrovaní členové. Pro zapojení do diskuze se přihlas. Pokud ještě nemáš účet, zaregistruj se, je to zdarma.

Zobrazeno 10 zpráv z 10.