Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> Jak pobrać hrefa z "area"
crackcomm
post 17.03.2010, 18:06:37
Post #1





Grupa: Zarejestrowani
Postów: 184
Pomógł: 6
Dołączył: 23.02.2008
Skąd: Katowice

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


  1. <map id="dungeon" name="dungeon">
  2. <area shape="rect" coords="78,0,109,74" href="quests.php?id=5&amp;d=up&amp;cnr=5b2b90013bf899246dfdfd063813e999" title="Idź na północ" alt="" />
  3. <area shape="rect" coords="78,114,109,195" href="quests.php?id=5&amp;d=down&amp;cnr=5b2b90013bf899246dfdfd063813e999" title="Idź na południe" alt="" />
  4. <area shape="rect" coords="115,79,184,108" href="quests.php?id=5&amp;d=right&amp;cnr=5b2b90013bf899246dfdfd063813e999" title="Idź na wschód" alt="" />
  5. <area shape="rect" coords="0,79,71,107" href="quests.php?id=5&amp;d=left&amp;cnr=5b2b90013bf899246dfdfd063813e999" title="Idź na zachód" alt="" />
  6. <area shape="rect" coords="79,80,108,106" href="quests.php?id=5&amp;d=stay&amp;cnr=5b2b90013bf899246dfdfd063813e999" title="Odpoczywaj" alt="" />
  7.  
  8. </map>

Robię skrypt GreaseMonkey, chciałbym pobrać pierwszego hrefa czyli:
Kod
quests.php?id=5&amp;d=up&amp;cnr=5b2b90013bf899246dfdfd063813e999

Jest taka możliwość ? Najlepiej w jQuery.


--------------------
Sygnaturka comes here.
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: 24.07.2025 - 15:02