TwojePC.pl © 2001 - 2024
|
|
A R C H I W A L N A W I A D O M O Ś Ć |
|
|
|
html............... , helmut 13/04/01 00:03 Robie sobie stronke z ramkami i w jednej z nich (malej)umiescilem skrypt wyszukiwarki onetu, niestety gdy dam jej szukaj to otwiera sie w tej ramce , a nie w nowym oknie jak ja chce -> gdzie ten open wsadzic? , a funkcja wyglada tak:
function szukaj()
{
szAdres = document.location.href;
nAdresLength = szAdres.length
document.formularz.qt.value = document.formularz.question.value;
if(document.formularz.name[0].checked)
if(nAdresLength > 0)
{
nCounter = 0;
szNewAdres="";
nLastIndex = szAdres.lastIndexOf("/");
if( nLastIndex != nAdresLength && nLastIndex!=-1)
{
while (nCounter <= nLastIndex )
{
szNewAdres = szNewAdres + szAdres.charAt(nCounter);
nCounter++
}
szAdres = szNewAdres;
document.formularz.qt.value = document.formularz.qt.value + " +url:"+szAdres;
}
}
document.formularz.submit();
}Ctrl - Alt - helmut - delete - aha oczywiscie , helmut 13/04/01 01:01
to board pododawal te http przed tymi adresamiCtrl - Alt - helmut - delete |
|
|
|
|
All rights reserved ® Copyright and Design 2001-2024, TwojePC.PL |
|
|
|
|