Widget Scrolling
5 posters
Page 1 of 1
Widget Scrolling
Hi there,
Do anyone have a script that make a widget following the screen when scrolling.
If you don't understand, please let me know and i'll try to explain it again.
Best regards,
Konzales
Do anyone have a script that make a widget following the screen when scrolling.
If you don't understand, please let me know and i'll try to explain it again.
Best regards,
Konzales
Last edited by Konzales on August 29th 2009, 10:33 pm; edited 1 time in total (Reason for editing : Better explaination)
Konzales- Forumember
- Posts : 129
Reputation : 0
Language : Danish, English, HTML and Python
Location : Denmark
Re: Widget Scrolling
Hello,
I know codes who make the content of the widget to scroll but i don't know if it's possible to make one widget scrolling.
Regards!
I know codes who make the content of the widget to scroll but i don't know if it's possible to make one widget scrolling.
Regards!
Guest- Guest
Re: Widget Scrolling
I only got one widget yet, so that could be cool.
Post it, post it, post it!
PS. It's not just the <MARQUEE></MARQUEE> code. It have to follow the screen when scrolling, like the "login popup"
Post it, post it, post it!
PS. It's not just the <MARQUEE></MARQUEE> code. It have to follow the screen when scrolling, like the "login popup"
Konzales- Forumember
- Posts : 129
Reputation : 0
Language : Danish, English, HTML and Python
Location : Denmark
Re: Widget Scrolling
- Code:
[updown]Content of the widget[/updown]
Regards!
Guest- Guest
Re: Widget Scrolling
Thank you, but that one was a BBcode. The html code for is also a marquee code, so it don't help me.
My widget have to follow the screenwhen scrolling, just like the login popup.
pliiiis someone help me
My widget have to follow the screenwhen scrolling, just like the login popup.
pliiiis someone help me
Konzales- Forumember
- Posts : 129
Reputation : 0
Language : Danish, English, HTML and Python
Location : Denmark
Re: Widget Scrolling
Hello,
You can not make widget follow the screen but you can make a separate box that can follow while scrolling.
If you want such scrolling box, describe how you want it to look like and please a link to your forum.
You can not make widget follow the screen but you can make a separate box that can follow while scrolling.
If you want such scrolling box, describe how you want it to look like and please a link to your forum.
ankillien- Energetic
- Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL
Re: Widget Scrolling
I don't really understand, but I can try if you post the script or what it is
Adress: http://randomtravianally.forumotion.com/forum.htm
Adress: http://randomtravianally.forumotion.com/forum.htm
Konzales- Forumember
- Posts : 129
Reputation : 0
Language : Danish, English, HTML and Python
Location : Denmark
Re: Widget Scrolling
I don't really see any scrolling box there
If you are talking about that flash menu in sidebar, go to flashvortex.com
If you are talking about that flash menu in sidebar, go to flashvortex.com
ankillien- Energetic
- Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL
Re: Widget Scrolling
It's the flash menu I WANT to follow the screen when I or anyone else, scroll down and/or up. If you understand, please
Konzales- Forumember
- Posts : 129
Reputation : 0
Language : Danish, English, HTML and Python
Location : Denmark
Re: Widget Scrolling
So, have you got the flash code?
If yes, then I can tell you how can you make it scroll.
I need to see your code before I give you the CSS to make it scroll.
If yes, then I can tell you how can you make it scroll.
I need to see your code before I give you the CSS to make it scroll.
ankillien- Energetic
- Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL
Re: Widget Scrolling
- Code:
<script src="http://h1.flashvortex.com/display.php?id=3_1251584527_38657_283_0_150_275_9_79" type="text/javascript"></script>
- Code:
<H1 align="center"></H1>
Konzales- Forumember
- Posts : 129
Reputation : 0
Language : Danish, English, HTML and Python
Location : Denmark
Re: Widget Scrolling
Ok thanks
Try adding this code to your CSS. I am not sure if this will work.
It may affect other objects on your page.
Try adding this code to your CSS. I am not sure if this will work.
It may affect other objects on your page.
- Code:
object {
position : fixed;
top : 20px; right : 20px;
}
ankillien- Energetic
- Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL
Re: Widget Scrolling
Thank you, but it didn't really work. The only difference I've found, was the BBcode buttons that was moved from their real place to another.
Konzales- Forumember
- Posts : 129
Reputation : 0
Language : Danish, English, HTML and Python
Location : Denmark
Re: Widget Scrolling
This *Floating Top Bar script
can be used to float/scroll contents from the top or bottom of the screen.
It works good when placed in "Homepage message content".
The menu style you've chosen looks good when anchored over the same color
but it doesn't seem to work as a floating menu.(shorter would be better as well)
I've created a copy of your page *Here to demonstrate how it looks.
can be used to float/scroll contents from the top or bottom of the screen.
It works good when placed in "Homepage message content".
The menu style you've chosen looks good when anchored over the same color
but it doesn't seem to work as a floating menu.(shorter would be better as well)
I've created a copy of your page *Here to demonstrate how it looks.
Re: Widget Scrolling
Thank you very much. But . . . I've follow the steps, but i still can't get it work. Can you try posting the code that you used in the widget?
But thanks alot!
But thanks alot!
Konzales- Forumember
- Posts : 129
Reputation : 0
Language : Danish, English, HTML and Python
Location : Denmark
Re: Widget Scrolling
Since your script is remotely hosted, it doesn't seem to be possible to apply style to it. You put the whole script on your forum instead of just linking it.
ankillien- Energetic
- Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL
Re: Widget Scrolling
RoNo wrote:This *Floating Top Bar script
can be used to float/scroll contents from the top or bottom of the screen.
It works good when placed in "Homepage message content".
The menu style you've chosen looks good when anchored over the same color
but it doesn't seem to work as a floating menu.(shorter would be better as well)
I've created a copy of your page *Here to demonstrate how it looks.
Can I ask where the "Homepage message content" is located?
Re: Widget Scrolling
Display>Generalities
Homepage message
Message Content:
Thats the location.
Homepage message
Message Content:
Thats the location.
Sanket- ForumGuru
- Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai
Re: Widget Scrolling
Thanks. Sorry if I am "raiding" this post. Thought it would be useless to create a new one, when this one was already talking about it.
Re: Widget Scrolling
There are script limitations when creating widgets on forumotion.Konzales wrote:Thank you very much. But . . . I've follow the steps, but i still can't get it work. Can you try posting the code that you used in the widget?
But thanks alot!
Sorry but you won't be able to float the menu with this script on
every page unless your create custom Html pages for your forum.
You can use this in "Homepage message content" or on an Html page.
- Spoiler:
- [ Edit these lines in the code below to reposition your content ]
Move left or right: var startX = 780
Move up or down: var startY = 48
Slide in from: verticalpos="frombottom" [ or "fromtop" ]
[ This will not work as a widget/module on a portal etc ]- Code:
<style type="text/css">
#menu{position:absolute;border: 0px;padding: 0px;
background-color: black;width: 150px;visibility: hidden;z-index: 100;}
</style>
<script type="text/javascript">
var persistclose=0
var startX = 780 //set x offset of bar in pixels
var startY = 48 //set y offset of bar in pixels
var verticalpos="frombottom" //enter "fromtop" or "frombottom"
function iecompattest(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}
function staticbar(){
barheight=document.getElementById("menu").offsetHeight
var ns = (navigator.appName.indexOf("Netscape") != -1) || window.opera;
var d = document;
function ml(id){
var el=d.getElementById(id);
if (!persistclose || persistclose && get_cookie("remainclosed")=="")
el.style.visibility="visible"
if(d.layers)el.style=el;
el.sP=function(x,y){this.style.left=x+"px";this.style.top=y+"px";};
el.x = startX;
if (verticalpos=="fromtop")
el.y = startY;
else{
el.y = ns ? pageYOffset + innerHeight : iecompattest().scrollTop + iecompattest().clientHeight;
el.y -= startY;
}
return el;
}
window.stayTopLeft=function(){
if (verticalpos=="fromtop"){
var pY = ns ? pageYOffset : iecompattest().scrollTop;
ftlObj.y += (pY + startY - ftlObj.y)/8;
}
else{
var pY = ns ? pageYOffset + innerHeight - barheight: iecompattest().scrollTop + iecompattest().clientHeight - barheight;
ftlObj.y += (pY - startY - ftlObj.y)/8;
}
ftlObj.sP(ftlObj.x, ftlObj.y);
setTimeout("stayTopLeft()", 10);
}
ftlObj = ml("menu");
stayTopLeft();
}
if (window.addEventListener)
window.addEventListener("load", staticbar, false)
else if (window.attachEvent)
window.attachEvent("onload", staticbar)
else if (document.getElementById)
window.onload=staticbar
/***********************************************
* Floating Top Bar script- Dynamic Drive (www.dynamicdrive.com)
* Sliding routine by Roy Whittle (http://www.javascript-fx.com/)
* This notice must stay intact for legal use.
* Visit http://www.dynamicdrive.com/ for full source code
***********************************************/
</script>
<div id="menu"><script src="http://h1.flashvortex.com/display.php?id=3_1251655227_48338_283_0_155_413_9_80" type="text/javascript"></script>
Similar topics
» LATEST TOPICS scrolling widget has stopped scrolling
» Scrolling widget?
» Scrolling Widget
» Explain this code please
» forum widget? not scrolling
» Scrolling widget?
» Scrolling Widget
» Explain this code please
» forum widget? not scrolling
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum