| | |
| Stránka: 1 z 1
| [ Príspevkov: 5 ] | |
Autor | Správa |
---|
Registrovaný: 08.11.07 Prihlásený: 09.03.15 Príspevky: 56 Témy: 16 | Napísal EidzEm: 20.11.2007 9:22 | |
|
Mam na strankach vela js a zistujem, ze sa navzajom ovplyvnuju a stranka nefunguje tak ako ma. Da sa nejako urcit, ze js_cislo_1.js bude platit len pre menu, a js_cislo_2.js len pre obsah??
Dost by mi to pomohlo.
|
|
Registrovaný: 08.11.07 Prihlásený: 09.03.15 Príspevky: 56 Témy: 16 | Napísal autor témy EidzEm: 22.11.2007 13:02 | |
|
to mi vazne nevie nik pomoct?
|
|
Registrovaný: 27.07.07 Príspevky: 3948 Témy: 51 Bydlisko: Bratislava |
asi len tak, ze si tie tvoje kody definujes ako funkcie a budes ich volat len tam, kde potrebujes...
_________________ NTB: Acer Aspire 4820TG 14" | CPU: Intel Core i5 2,53 GHz | VGA: ATI Mobility Radeon HD5650 1GB | RAM: 8GB DDR3 1066 MHz | HDD: 1TB SSD WD BLUE |
|
Registrovaný: 08.11.07 Prihlásený: 09.03.15 Príspevky: 56 Témy: 16 | Napísal autor témy EidzEm: 22.11.2007 13:34 | |
|
A nemohol by si mi s tym pomoct? Na nejakom anglickom fore pisali nieco podobne. Prosim pomoz mi s tym. v tom fore sa pisalo nieco taketo:
Citácia: It’s pretty but couldn’t you have not used the $ function so that it was compatible with things like scriptaculous and lightbox aka anything that used the most popular javascript helper out there, prototype? or at least not have encrypted it so that I could have fixed it?
Currently the only fix i could find for this is to replace the $ function with something like $prot in prototype and all your other prototype using tools (scriptaculous, lightbox).
(note: Using replace all in your editor will replace some regular expressions that use the $ so be careful.)
Great tool btw. Citácia: If you put a the start of your javascript call:
jQuery.noConflict();
Then replace all the dollar signs with jQuery, you should be good!
Ja sa do toho velmi nerozumiem. Prosim, prosim. Moje icq je: 308984025
|
|
Registrovaný: 08.11.07 Prihlásený: 09.03.15 Príspevky: 56 Témy: 16 | Napísal autor témy EidzEm: 26.11.2007 9:42 | |
|
OK, Problem vyrieseny.
|
|
| Stránka: 1 z 1
| [ Príspevkov: 5 ] | |
| Nemôžete zakladať nové témy v tomto fóre Nemôžete odpovedať na témy v tomto fóre Nemôžete upravovať svoje príspevky v tomto fóre Nemôžete mazať svoje príspevky v tomto fóre
|
|