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
molim pomoc (hitno)

 
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
edgar



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

PostPosted: 31.01.2004 20:38    Post subject: molim pomoc (hitno) Add user to your forum ignore list Reply with quote

je li moguce da u css-u ili javascriptu podesim širinu scrollbara?
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
zytzagoo
mi3.crew


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

PostPosted: 31.01.2004 20:54    Post subject: Add user to your forum ignore list Reply with quote

browser scrollbar ne.

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



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

PostPosted: 31.01.2004 21:12    Post subject: Add user to your forum ignore list Reply with quote

šmrc... hmm a jel moguce nekako napraviti custom drawn scrollbar za iframe? pa da uopce ne moram imati ovaj browserov?
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
_butch



Joined: 10 Sep 2003
Posts: 870
Location: Maichno, Krlovc

PostPosted: 31.01.2004 21:46    Post subject: Add user to your forum ignore list Reply with quote

moguce je.. css..

dobar tut

kod ti ovako izgleda..


Code:

<style type="text/css">
<!--

body {scrollbar-3dlight-color:gold;
    scrollbar-arrow-color:yellow;
    scrollbar-base-color:tomato;
    scrollbar-darkshadow-color:orange;
    scrollbar-face-color:teal;
    scrollbar-highlight-color:hotpink;
    scrollbar-shadow-color:magenta}

-->
</style


mozes korisiti hex vrijednost (#000000 -> crna, $FFFFFF ->bijela itd..).

[/url]

_________________
FRENCH GUARD: No chance, English bed-wetting types.
I burst my pimples at you and call your door-opening request a silly thing, you tiny-brained wipers of other people's bottoms!
Flikrac
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
edgar



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

PostPosted: 31.01.2004 21:53    Post subject: Add user to your forum ignore list Reply with quote

rhanks, ali ja sam mislio na nesto drugo.

size??

da ja mijenjam scrollbar width, ku'iš?

ili da isključim potpuno taj scrollbar pa koristim javascript za scrollanje iframea.. npr da sam nacrtam strelice za to.

eto.

hvala.
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
edgar



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

PostPosted: 31.01.2004 22:23    Post subject: Add user to your forum ignore list Reply with quote

problem riješen. hvala.
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
phactor



Joined: 26 Nov 2003
Posts: 30
Location: PH-System

PostPosted: 01.02.2004 00:29    Post subject: Add user to your forum ignore list Reply with quote

...i kako si rjeshio problem...podjeli sa ostalima... Wink
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
edgar



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

PostPosted: 01.02.2004 01:39    Post subject: Add user to your forum ignore list Reply with quote

Here it goes:

kod koji ide na glavnu stranicu:

Code:


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


kod koji ide na iframe sors (na dno fajla):

Code:


<script language="JavaScript1.2">

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 MSN Messenger
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