Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> [PHP][Java] problem ze stroną, problem ze stroną
--netghoster--
post 24.06.2013, 01:52:31
Post #1





Goście







Witam

Mam mały problem (link do strony niżej)

http://4ds.pl/projekty/ksiega/

Chodzi o to żeby przy załadowaniu strony był otworzony "start" - obecnie jest zamknięty i nie mam pomysłu jak to zrobić.

Pomoże ktoś ?
Go to the top of the page
+Quote Post
Dominator
post 24.06.2013, 02:26:22
Post #2





Grupa: Zarejestrowani
Postów: 565
Pomógł: 15
Dołączył: 11.10.2010

Ostrzeżenie: (20%)
X----


Dodaj to do jquery zaraz po załadowaniu strony:

  1. $("a[class='wrapper']").attr("href","/projekty/ksiega/").click();
Go to the top of the page
+Quote Post
--netghoster--
post 24.06.2013, 03:39:49
Post #3





Goście







Dałem w head to

<script>

$("a[class='wrapper']").attr("href","/projekty/ksiega/").click();

</script>

ale nie działa sad.gif
Go to the top of the page
+Quote Post
b4rt3kk
post 24.06.2013, 05:29:28
Post #4





Grupa: Zarejestrowani
Postów: 1 933
Pomógł: 460
Dołączył: 2.04.2010
Skąd: Lublin

Ostrzeżenie: (0%)
-----


Na samym końcu kodu strony, już poza body:

  1. <script type="text/javascript">
  2. $('.leading-0').show();


--------------------
Jeśli pomogłem, kliknij proszę 'pomógł'. Dzięki.
Go to the top of the page
+Quote Post
--netghoster--
post 24.06.2013, 15:32:24
Post #5





Goście







Nadal nic.. może jeszcze jakieś pomysły ? smile.gif ostatnia zmiana jest cały czas w źródle
Go to the top of the page
+Quote Post
set4812
post 24.06.2013, 15:34:08
Post #6





Grupa: Zarejestrowani
Postów: 150
Pomógł: 3
Dołączył: 13.04.2010

Ostrzeżenie: (0%)
-----


A bibloteke jQuery include?
  1. <script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js">


Ten post edytował set4812 24.06.2013, 15:36:53
Go to the top of the page
+Quote Post
--netghoster--
post 24.06.2013, 15:50:17
Post #7





Goście







Jest załadowana - widać w źródle

<script type="text/javascript" src="templates/ksiega/js/jquery-1.4.4.min.js"></script>
<script type="text/javascript" src="templates/ksiega/js/jquery-ui.min.js"></script>




tego nie mogę bo wtedy w ogóle się nie rozsuwa (gryzą się pliki)

<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js">
</script>
Go to the top of the page
+Quote Post
c1chy
post 24.06.2013, 16:15:16
Post #8





Grupa: Zarejestrowani
Postów: 72
Pomógł: 16
Dołączył: 21.06.2013

Ostrzeżenie: (0%)
-----


[JAVASCRIPT] pobierz, plaintext
  1.  
  2. $( "#accordion" ).accordion({
  3. autoHeight: false,
  4. active: false, collapsible: true
  5. });
  6.  
  7.  
[JAVASCRIPT] pobierz, plaintext


zamień na :

[JAVASCRIPT] pobierz, plaintext
  1.  
  2. $( "#accordion" ).accordion({
  3. autoHeight: false,
  4. active:0,
  5. collapsible: true
  6. });
  7.  
[JAVASCRIPT] pobierz, plaintext


--------------------
devstrefa.wordpress.com
Go to the top of the page
+Quote Post
peter13135
post 24.06.2013, 16:15:55
Post #9





Grupa: Zarejestrowani
Postów: 1 447
Pomógł: 191
Dołączył: 26.03.2008

Ostrzeżenie: (0%)
-----


Czy dobrze widzę, że chcesz zaincludować dwie wersje jquery ? (w dodatku obie stare)

Ten post edytował peter13135 24.06.2013, 16:16:16


--------------------
:)
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Wersja Lo-Fi Aktualny czas: 17.06.2025 - 15:27