Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [JavaScript] jqueryUI Tabs, nie działa
d.stp
post 16.01.2014, 16:05:27
Post #1





Grupa: Zarejestrowani
Postów: 358
Pomógł: 0
Dołączył: 19.04.2012

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


Dodałem do swojej strony jqueryui tabs, ale nie działa.

Mam takie coś:

  1. <ul id="tabs">
  2. <li><a href="#tab1">TAB 1</a></li>
  3. <li><a href="#tab2">TAB 2</a></li>
  4. </ul>
  5. <div id="tab1">test 1</div>
  6. <div id="tab2">test 2</div>


i jak kliknę na stronie w "TAB 1" to strona mi się przeładowuje i jak masz np. taki link: strona.pl/podstrona/kategoria/ to przerzuca mnie na główną i dopisuje #tab1 do adresu. Mam ustawiony <base href> i to pewnie przez to, ale jak to naprawić? próbowałem dać taki link: strona.pl/podstrona/kategoria/#tab1 ale to też nie działa. htaccess?

  1. Options FollowSymLinks
  2. RewriteEngine On
  3. DirectoryIndex index.php
  4. RewriteBase /
  5. RewriteCond %{REQUEST_URI} !^/index.php
  6. RewriteRule ^([^,]*)/([^,]*)/([^,]*).html$ index.php?page=$1&cat=$2&id=$3 [L]
  7. RewriteRule ^([^,]*)/([^,]*)?/$ index.php?page=$1&cat=$2 [L]
  8. RewriteRule ^(.*)?/$ index.php?page=$1
  9. RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
Go to the top of the page
+Quote Post

Posty w temacie


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: 14.08.2025 - 11:44