1

Téma: Vložení JavaScriptu

Potřeboval bych vložit do stránky jednoduchej javascript (textboxy a tlačítko sloužící k výpočtu). Když ale zkouším do textu přes tlačítko "Upravit HTML zdroj" a potom to uložím.

Zadám toto:

<script language="JavaScript1.2">
function cap_jfr(napeti,vykon,frekvence) { document.form_jfr.c_jfr.value= 1000000/(0.0021*frekvence*napeti*napeti/vykon)  }
function cap_jfb(napeti,vykon,frekvence) { document.form_jfb.c_jfb.value= 1000000/(0.0063*frekvence*napeti*napeti/vykon)  }
</script>

a po uložení textu je z toho toto:

<p>
<script type="text/javascript" language="JavaScript1.2">// <![CDATA[
// &lt;![CDATA[
// ]]></script>
<br /> function cap_jfr(napeti,vykon,frekvence) { document.form_jfr.c_jfr.value= 1000000/(0.0021<em>frekvence</em>napeti*napeti/vykon) }<br /> function cap_jfb(napeti,vykon,frekvence) { document.form_jfb.c_jfb.value= 1000000/(0.0063<em>frekvence</em>napeti*napeti/vykon) }<br /> // ]]&gt;</p>

Nebo se musí JavaScript vkládat nějak jinak? Nebo ve jiným formátu?
Mám verzi RS2 - 2011-10-27

Dík

Naposledy upravil: dolly1010 (2013-11-05 19:27:28)

2

Re: Vložení JavaScriptu

Bohužel, editor javascript zmrví.

Je možné si ten kód uložit do Zástupné značky a do editoru pak vložit tu. Pak by to fungovalo.

3

Re: Vložení JavaScriptu

Zkoušel jsem to vložit do zástupné značky a přímo do editoru vložit značku ve tvaru <%ZZ11_JavaScript%>. Na výslednou stránku se to nevypsalo - prostě se nic nevložilo.

Zkoušel jsem to vložit i do HTML kódu a po uložení se značka vymazala...

Není možný, že se to s něčím hádá??

Naposledy upravil: dolly1010 (2013-11-06 20:12:33)

4

Re: Vložení JavaScriptu

Vyřešil jsem to zapsáním JavaScriptu do souboru a jeho následným vložením do stránky

5

Re: Vložení JavaScriptu

Já JS do článků vkládam právě přes zástupnou značku vždy, a vždy to fungovalo.

Ale navázání JS souboru do šablony je taky řešení, obzvlášť je-li potřeba globálně.


Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /mnt/data/accounts/m/mklusak/data/www/domeny/reality-show.net/rs/forum/include/parser.php on line 776

6

Re: Vložení JavaScriptu

п»їBuying Cheap Florida Theme Park Tickets: Busch Gardens And Cirque Du Soleil Tickets

If you are planning to buy tickets for your Florida vacation tour and you are tight with your budget, you should purchase ticket that is consumable to buy at the same time, enjoyable to use. There are cheap tickets in Florida that are worth to try. It is tough to think of the attraction to choose since there are varieties of choices. However, if you consider some things, it will help you decide which ticket you should secure. Some of the things that will be good to consider includes the price of the tickets and its theme park coverage. There are ticket passes that are good for multiple entries that are it lessen the expenses.

To experience fully enjoyable tour for the theme parks, do not forget to avail the Busch Gardens tickets. You will be amaze for the beautiful rides and wonderful attractions that you could not imagine. With this type of theme parks, everyone will be surprised for the different kinds of relaxing views. This is the best for those who really want their tour memorable. Busch Gardens in not all about fun and excitement, this is also about having an enjoyable moment without worrying about budget. Ticket passes for this theme park gives you the opportunity to experience some of their incredible rides that is exclusive in this park.

Another awesome treat that Florida theme parks offer is the Cirque Du Soleil. This is like a special treat for the family because you will not just see wonderful rides and attractions but also able to witness this awesome show. Cirque Du Soleil tickets are one of those tickets that will make your money worth. Because of its popularity, you can get the tickets anywhere with a very competitive price. Do not ever miss visiting this show because this will definitely give you a breath taking excitement.

There are so many exciting treats when purchasing any of those Florida theme park tickets. Experience the unexpected events once you have the passes to the type of theme parks of your choice. Buying tickets are never been this great. It is very easy, very exciting, and more importantly very affordable. You will be satisfied wherever you go. Busch Gardens and Cirque Du Soleil are just the two among the choices that will give you a new exciting treats. Go and see for your self what Florida theme parks is all about. For sure, you will never be disappointed.


http://hceap.info/hotel/can-you-book-a- … t-card.php