Forum FAQForum FAQSearchSearch MemberlistMemberlist Forum ignore listForum ignore list RegisterRegister ProfileProfile Log in to check your private messagesLog in to check your private messages Log inLog in
Kontroliranje druge stranice....

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    mi3dot.org Forum Index -> Client-side
View previous topic :: View next topic  
Author Message
Tristan



Joined: 01 Aug 2006
Posts: 614
Location: Under the sky

PostPosted: 07.10.2006 14:42    Post subject: Kontroliranje druge stranice.... Add user to your forum ignore list Reply with quote

Ovako, zanima me kako kontrolirati sadržaj neke deuge stranice pomoću javascripta...
Zanči, imam jednu stranicu koja je otvorena u browseru i pop-up koji bi trebao ubaciti nešto u onu glavnu stranicu.. kako to?

Hvala unaprijed...

_________________
Carpe diem...
Back to top
View user's profile Send private message Visit poster's website
Tristan



Joined: 01 Aug 2006
Posts: 614
Location: Under the sky

PostPosted: 07.10.2006 20:02    Post subject: Add user to your forum ignore list Reply with quote

Znači, to bi trebalo biti nešto kao dodavanje smajlića (View more Emoticons)...

_________________
Carpe diem...
Back to top
View user's profile Send private message Visit poster's website
Sulien



Joined: 04 Jan 2004
Posts: 2905
Location: Zagreb

PostPosted: 07.10.2006 22:24    Post subject: Add user to your forum ignore list Reply with quote

Treba ti gradivo iz cross-window scripting
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Tristan



Joined: 01 Aug 2006
Posts: 614
Location: Under the sky

PostPosted: 08.10.2006 00:37    Post subject: Add user to your forum ignore list Reply with quote

Thnx... Nisam znao kako se to zove da googlam...

_________________
Carpe diem...
Back to top
View user's profile Send private message Visit poster's website
Sulien



Joined: 04 Jan 2004
Posts: 2905
Location: Zagreb

PostPosted: 08.10.2006 14:11    Post subject: Add user to your forum ignore list Reply with quote

Bookmarkaj si quirksmode.org, tamo ima puno tutoriala i skripti za JS za svakodnevno korištenje
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Tristan



Joined: 01 Aug 2006
Posts: 614
Location: Under the sky

PostPosted: 08.10.2006 19:14    Post subject: Add user to your forum ignore list Reply with quote

Sulien wrote:
Bookmarkaj si quirksmode.org, tamo ima puno tutoriala i skripti za JS za svakodnevno korištenje


Thnx.. skužio sam da je korisno pa sam to već i napravio...

_________________
Carpe diem...
Back to top
View user's profile Send private message Visit poster's website
dabac



Joined: 30 May 2006
Posts: 57

PostPosted: 12.10.2006 14:36    Post subject: Re: Kontroliranje druge stranice.... Add user to your forum ignore list Reply with quote

BlizZ wrote:
Ovako, zanima me kako kontrolirati sadržaj neke deuge stranice pomoću javascripta...
Zanči, imam jednu stranicu koja je otvorena u browseru i pop-up koji bi trebao ubaciti nešto u onu glavnu stranicu.. kako to?

Hvala unaprijed...


Najjednostavnije rečeno, ako imaš stranicu koja je iframe ili novi prozor ili bilo kaj drugo - neka se zove recimo strana2, onda:
- s "noseće" stranice se "obraćaš" strani2 (provodiš neku metodu, čitaš neki property i sl.):
strana2.location.href=...
- sa strane2:
parent.location.href=...

Naveo sam primjer promjene lokacije
Back to top
View user's profile Send private message
Tristan



Joined: 01 Aug 2006
Posts: 614
Location: Under the sky

PostPosted: 12.10.2006 14:41    Post subject: Re: Kontroliranje druge stranice.... Add user to your forum ignore list Reply with quote

dabac wrote:
BlizZ wrote:
Ovako, zanima me kako kontrolirati sadržaj neke deuge stranice pomoću javascripta...
Zanči, imam jednu stranicu koja je otvorena u browseru i pop-up koji bi trebao ubaciti nešto u onu glavnu stranicu.. kako to?

Hvala unaprijed...


Najjednostavnije rečeno, ako imaš stranicu koja je iframe ili novi prozor ili bilo kaj drugo - neka se zove recimo strana2, onda:
- s "noseće" stranice se "obraćaš" strani2 (provodiš neku metodu, čitaš neki property i sl.):
strana2.location.href=...
- sa strane2:
parent.location.href=...

Naveo sam primjer promjene lokacije


Cross window scripting je sasvim zadovoljavajuće rješenje...

_________________
Carpe diem...
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    mi3dot.org Forum Index -> Client-side All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group