Armenian Knowledge Base  

Go Back   Armenian Knowledge Base > Technical sections > Languages, Compilers, Interpreters > Algorithms
Register

Reply
 
LinkBack Thread Tools
Old 10.03.2002, 09:02   #1
Guest
 
Posts: n/a
Downloads:
Uploads:
Question html scripting help needed....

napisal v "java", no reshil i zdes' sprosit'...
sorry, esli ne po addressu...

u menia takaia vot problemka, vozmojno li eio re****'? mne nujno vizvat' odin html file iz drugovo, no tak, chtobi vizvannumu peredalas' bi koe kakaia informacia (naprimer variable odin)

naprimer v cgi ia znaiu posle imeni filea sleduet "?", a potom variables, peredovaemie scriptu... a v html-e takoe vozmojno?

thanks in advance.........

ps: budu ochen' priznatelen, esli otvetite kak mojno ran'she...
Reply With Quote
Old 10.03.2002, 19:30   #2
Moderator
 
acid's Avatar
 
Join Date: 09 2001
Location: South Korea, Gumi
Posts: 7,699
Downloads: 102
Uploads: 34
Blog Entries: 16
Reputation: 561 | 6
Post

naschet togo kak "vyzvat'" odin html iz drugogo skazhu chto dlja etogo est' SSI(server side includes) feature, kotoryi dolzhe byt' vkluchen na serverskom prilozhenii. Delaetsja eto esli ne oshibaus' tak:

<body...>
...
<!--#include virtual="/drugoi.html" -->
...
</body>


po teme variables dumau otvetjat drugie.
Reply With Quote
Old 11.03.2002, 03:09   #3
Guest
 
Posts: n/a
Downloads:
Uploads:
Lightbulb

da net je... davai ia po luchshe obiasniu...
u menia odin html file, v kotorom preview kartinok, i mne nujno, chtobi pri clicke na preview otkrivalos' bi drugoe okno (na ves' ekran, chtobi zakrivalo vse ostal'noe), kotoroe davalo bi full-sized preview, no chtobi tam toje mojno bilo bi meniat' kartinki (next & preview),
vo vtorom html kartinki meniaiutsia scriptom,
a v pervom oni prosto v table-e... tak, kak mne otkrivat' vtoroi html, chtobi on nachinal s konkretnoi kartinki (a ne s pervoi)
Reply With Quote
Old 11.03.2002, 03:24   #4
»
 
z0mbie's Avatar
 
Join Date: 01 2002
Posts: 777
Downloads: 1
Uploads: 0
Reputation: 0 | 0
Post

generiruy vtoroy html javascriptom [document.write]
Reply With Quote
Old 11.03.2002, 06:28   #5
Guest
 
Posts: n/a
Downloads:
Uploads:
Question

k primeru ia napisal ves' html kak function, i budu generirovat' evo pri kajdom clicke, no ved' document.write budet pisat' v currently otkritom file-e, a mne nujno, chtobi otkrivalos' novoe okno, v kotorom etot vtoroi html...
takoe vozmojno?
Reply With Quote
Old 11.03.2002, 15:00   #6
»
 
z0mbie's Avatar
 
Join Date: 01 2002
Posts: 777
Downloads: 1
Uploads: 0
Reputation: 0 | 0
Post

mywin=window.open(....
mywin.document.write(...
Reply With Quote
Old 11.03.2002, 22:47   #7
Младенец
 
Join Date: 03 2002
Location: moon
Posts: 29
Downloads: 0
Uploads: 0
Reputation: 0 | 0
Post

A esli tebe udobnee ispol'zovat' sintaxis kak u CGI to vsya stroka posle "?" dostupna v locaton.search (v Javascript)
Reply With Quote
Old 12.03.2002, 00:03   #8
Консервативн
 
VX's Avatar
 
Join Date: 01 2002
Location: Кавказская Албания
Posts: 889
Downloads: 0
Uploads: 0
Reputation: 0 | 0
Post

esli tebe nado tol'ko riusnku menyat', to mojno sdlat' tak.
<IMG NAME="gal" SRC="first.jpg">

a potom na knpoki next, stavish OnClick , i on menyaet source (src) image,
tipa OnCick=ChangeImage('second.jpg');

function ChangeImage(image){

document.gal.src=image;
}

zdes' ya pokazal osnovnuu model, n tvoem sluchyai tebe nado zdelat' chut'chut' po grugomu
__________________
Праздник к нам приходит...

|^^^^^^^^^'''^\| ||\__
| ВОДКА-ВОДКА | ||','''|'''''''\_____,_
| _..... _ | ||_ _|'__|_____||.........| |
'(@)'(@)'(@)''''''''''''''''''''''*|(@)""""|(@)*
Reply With Quote
Old 16.03.2002, 07:03   #9
Guest
 
Posts: n/a
Downloads:
Uploads:
Smile

thanks a lot..........
toka poslednii vopros...
vse eto rabotaet v IE rovno, kak i v NETSCAPE?
(osobenno location.search) ???
Reply With Quote
Old 16.03.2002, 16:58   #10
Консервативн
 
VX's Avatar
 
Join Date: 01 2002
Location: Кавказская Албания
Posts: 889
Downloads: 0
Uploads: 0
Reputation: 0 | 0
Post

Da, netscape naskol'ko ya znau opjaekt nujno
predstavlyat' tak:

document.images["gal"].src )))
Reply With Quote
Old 21.03.2002, 08:05   #11
Guest
 
Posts: n/a
Downloads:
Uploads:
Question

ludi.... eschio odin voprosik...
kak mne sdelat', chtobi pri zagruzke
okno maximizirovalos'?

script language="jscript" event=onload>
......a dal'she?
a tak je, est' li raznica dlia IE i NETSCAPE?

thanks in advance...
Reply With Quote
Old 21.03.2002, 16:41   #12
»
 
z0mbie's Avatar
 
Join Date: 01 2002
Posts: 777
Downloads: 1
Uploads: 0
Reputation: 0 | 0
Lightbulb

ne sovsem to no rezul'tat poxozhiy :]

window.resizeTo(screen.availwidth, screen.availheight)
window.moveTo(0,0)
Reply With Quote
Sponsored Links
Reply

Thread Tools


На правах рекламы:
реклама

All times are GMT. The time now is 19:34.


Powered by vBulletin® Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.