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 scroler izvan iframe-a

 
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
vedran



Joined: 08 Sep 2003
Posts: 458

PostPosted: 08.10.2003 19:45    Post subject: iframe scroler izvan iframe-a Add user to your forum ignore list Reply with quote

Kao sto naslov kaze;kako bih mogao napraviti recimo dva buttona za skrol up i down nekoga inline frame-a na istoj stranici,vjerojatno se moze rijesiti sa javascriptom..
Pa ako netko zna..
Hvala Very Happy

_________________
http://www.hocusvojweb.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
blackduke
mi3.crew


Joined: 08 Sep 2003
Posts: 2681
Location: Zagreb

PostPosted: 08.10.2003 20:01    Post subject: Add user to your forum ignore list Reply with quote

html kod wrote:
<!--Scrollable iframe script- By Dynamic Drive-->
<!--For full source code and more DHTML scripts, visit http://www.dynamicdrive.com-->
<!--This credit MUST stay intact for use-->

<iframe id="datamain" src="external.htm" width=150 height=150 marginwidth=0 marginheight=0 hspace=0 vspace=0 frameborder=1 scrolling=no></iframe>

<layer visibility=hide>
<div style="width:150px;" align="right">
<a href="#" onMouseover="scrollspeed=-2" onMouseout="scrollspeed=0">Up</a> | <a href="#" onMouseover="scrollspeed=2" onMouseout="scrollspeed=0">Down</a>
</div>
</layer>


/head wrote:
<!--DO NOT REMOVE BELOW SCRIPT. IT SHOULD ALWAYS APPEAR AT THE VERY END OF YOUR CONTENT-->

<script language="JavaScript1.2">

//Scrollable content III- By http://www.dynamicdrive.com

var speed, currentpos=curpos1=0,alt=1,curpos2=-1

function initialize(){
if (window.parent.scrollspeed!=0){
speed=window.parent.scrollspeed
scrollwindow()
}
}

function scrollwindow(){
temp=(document.all)? document.body.scrollTop : window.pageYOffset
alt=(alt==0)? 1 : 0
if (alt==0)
curpos1=temp
else
curpos2=temp

window.scrollBy(0,speed)
}

setInterval("initialize()",10)

</script>
Back to top
View user's profile Send private message Visit poster's website Twitter profile
vedran



Joined: 08 Sep 2003
Posts: 458

PostPosted: 08.10.2003 20:10    Post subject: Add user to your forum ignore list Reply with quote

Živio blackduke! Very Happy

_________________
http://www.hocusvojweb.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
edgar



Joined: 28 Dec 2003
Posts: 916
Location: Pred monitorom

PostPosted: 28.05.2004 23:47    Post subject: Add user to your forum ignore list Reply with quote

kako ovo izvesti kad imas 2 frame-a na stranici?

_________________
Digital Genetics | Koote | Nuspojava
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
red



Joined: 03 May 2004
Posts: 919
Location: Zabok

PostPosted: 29.05.2004 10:52    Post subject: Add user to your forum ignore list Reply with quote

Možda nekom bude koristan i ovaj tut http://www.beforethedog.com/tutoriali/tut1.htm - Css Iframe Mimics.
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