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
Iframe height

 
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
vdarlic



Joined: 07 May 2007
Posts: 77
Location: Split

PostPosted: 09.03.2008 21:23    Post subject: Iframe height Add user to your forum ignore list Reply with quote

Dakle jeli moguće da height iframe-a bude dinamički tj. da se prilagođava sadržaju. Već sam dosta čita o tome i prova sam stvarno dosta opcija, ali nijedna nije dala željeni rezultat.


Hvala.
Back to top
View user's profile Send private message
zytzagoo
mi3.crew


Joined: 25 Aug 2003
Posts: 1842
Location: Zagreb, Hrvatska

PostPosted: 09.03.2008 22:27    Post subject: Add user to your forum ignore list Reply with quote

Moguće je. Jesi probao ovo? http://www.dynamicdrive.com/dynamicindex17/iframessi2.htm

_________________
[+]I[+]am[+]my[+]own[+]religion[+]
Back to top
View user's profile Send private message Visit poster's website Twitter profile
vdarlic



Joined: 07 May 2007
Posts: 77
Location: Split

PostPosted: 09.03.2008 23:01    Post subject: Add user to your forum ignore list Reply with quote

zytzagoo wrote:
Moguće je. Jesi probao ovo? http://www.dynamicdrive.com/dynamicindex17/iframessi2.htm


Ma znam da je moguće. Ovo je verzija za onClick a meni treba za onPageLoad.
Back to top
View user's profile Send private message
zytzagoo
mi3.crew


Joined: 25 Aug 2003
Posts: 1842
Location: Zagreb, Hrvatska

PostPosted: 09.03.2008 23:06    Post subject: Add user to your forum ignore list Reply with quote

vdarlic wrote:
Ovo je verzija za onClick a meni treba za onPageLoad.

Ova verzija podržava sve moguće varijante. I glavne funkcije na gornjem linku se ionako
trigeraju onload.

_________________
[+]I[+]am[+]my[+]own[+]religion[+]
Back to top
View user's profile Send private message Visit poster's website Twitter profile
vdarlic



Joined: 07 May 2007
Posts: 77
Location: Split

PostPosted: 09.03.2008 23:21    Post subject: Add user to your forum ignore list Reply with quote

zytzagoo wrote:
vdarlic wrote:
Ovo je verzija za onClick a meni treba za onPageLoad.

Ova verzija podržava sve moguće varijante. I glavne funkcije na gornjem linku se ionako
trigeraju onload.


Da istina.

Isprobano i ne funkcionira.
Back to top
View user's profile Send private message
zytzagoo
mi3.crew


Joined: 25 Aug 2003
Posts: 1842
Location: Zagreb, Hrvatska

PostPosted: 10.03.2008 00:14    Post subject: Add user to your forum ignore list Reply with quote

Daj link neki, lakše će biti ljudima utvrditi di zapinje...

_________________
[+]I[+]am[+]my[+]own[+]religion[+]
Back to top
View user's profile Send private message Visit poster's website Twitter profile
fun.ky



Joined: 05 Jan 2006
Posts: 365
Location: Mostar

PostPosted: 10.03.2008 10:43    Post subject: Add user to your forum ignore list Reply with quote

Baš tako Smile daj link Smile

_________________
There is no style definition for good music!
Back to top
View user's profile Send private message Visit poster's website Twitter profile
vdarlic



Joined: 07 May 2007
Posts: 77
Location: Split

PostPosted: 10.03.2008 14:48    Post subject: Add user to your forum ignore list Reply with quote

Ovo je verzija sa javascriptom koja nije dobra:
http://www.otokvis.net/index1.php


a ovako bi to trebalo izgledat, samo što je height iframe-a ovdje statičan, i zadan css-om:
http://www.otokvis.net/index.php
Back to top
View user's profile Send private message
zytzagoo
mi3.crew


Joined: 25 Aug 2003
Posts: 1842
Location: Zagreb, Hrvatska

PostPosted: 10.03.2008 18:09    Post subject: Add user to your forum ignore list Reply with quote

Probao sam proćaćkat po ovom tvojem, ali iz nekog razloga uporno dobijam iframe height = 0.
Možda zbog nekog css-a ili html-a, ili nešto fali.

Sad sam u gužvi, ne stignem detaljnije gledat... možda netko drugi stigne. Ako ne, probaj ovu
jquery varijantu, to bi trebalo raditi svuda:

http://sonspring.com/journal/jquery-iframe-sizing (tutorial + code download)
http://host.sonspring.com/iframe/ (example)

_________________
[+]I[+]am[+]my[+]own[+]religion[+]
Back to top
View user's profile Send private message Visit poster's website Twitter profile
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