Stay On Top ***23/10/13***

In this section you can share self-made extensions with other users of WYSIWYG Web Builder.

There are already more than 250 extensions available!
User avatar
BaconFries
 
 
Posts: 4168
Joined: Thu Aug 16, 2007 7:32 pm

Stay On Top ***23/10/13***

Post by BaconFries » Thu Nov 19, 2009 6:21 pm

Stay On Top ***23/10/13***
Previously known as "GOEMO English Translated Fixed Object" the extension has been updated and renamed correctly to Stay on Top by "Dynamic Drive". Please remove all previous versions of the old extenion as it has now been replaced by "Stay on Top"

/***********************************************
* Stay on Top content script- (c) Dynamic Drive DHTML code library (http://www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for this script and 100s more
***********************************************/

With the "Stay on Top" extension a desired WYSIWYG Web Builder object can be placed at a certain position (relative to the Browser window corners). This object will the remain, in that position indicated even when the browser page is scrolled. This could the be used for placing a advertising message/ information messages etc on page that will always be visible to the viewer when they scroll through the page that the extension is set on. This can only be used on objects and not on any other extension that is used on page.
stayontop.jpg
Meets W3C Standards
Built with Extension Builder 4.1
Image Image

Original authors site:
Dynamic Drive
http://www.dynamicdrive.com/dynamicinde ... yontop.htm
Download
Extension is now avaialable from the Extension Manager for WB9.x.x users
Last edited by BaconFries on Sun Sep 11, 2011 8:06 pm, edited 9 times in total.

User avatar
DarrenH
 
 
Posts: 71
Joined: Thu Apr 10, 2008 9:31 am

Post by DarrenH » Thu Nov 19, 2009 9:41 pm

Sorry Baconfries, I'm completely lost with this one.

:(

I like the concept, but can't figure out how to make any content visible. ie - I place the extension on my page, and don't understand the first parameter :oops:

Any ideas?

User avatar
BaconFries
 
 
Posts: 4168
Joined: Thu Aug 16, 2007 7:32 pm

Post by BaconFries » Thu Nov 19, 2009 11:25 pm

Hi DarrenH ok what the extension does to to fix a object to a position in the browser... lets say you have made your site you will know that each item or object you add to page is given a unique ID you can see this if you look in Site Manager>General and highlight a image or a object on the page you will see that it is given a ID (example ID Shape5)....now lets say you add a Advert image that you want to display on page and you need it to be fixed at a point so even when a user scrolls down the page this advert will always be in view... so then you would use the advert image ID in the extension were it asks for ID now you need to decide were you want it to be placed in the browser window when it open so you would select from 1, 2, 3, 4 each number is a postion on page top left, top right, bottom right, botton left what ever number you select then this is the position that the advert image will get displayed when the browser window opens...I know it looks confusing and I thought that at first but once you get a hang of it it easy enough to use I will try to upload a demo before I retire tonight so you can see what it does again If I can help just ask....

User avatar
me.prosenjeet
 
 
Posts: 1251
Joined: Mon Dec 24, 2007 1:50 pm
Location: Lucknow
Contact:

Post by me.prosenjeet » Fri Nov 20, 2009 1:48 am

Thanks Bacon! :D
you are too good to be true :idea:

User avatar
BaconFries
 
 
Posts: 4168
Joined: Thu Aug 16, 2007 7:32 pm

Post by BaconFries » Fri Nov 20, 2009 9:59 am

Welcome me. hope you find it a little easier to use now I have translated to the best I can :D

User avatar
me.prosenjeet
 
 
Posts: 1251
Joined: Mon Dec 24, 2007 1:50 pm
Location: Lucknow
Contact:

Post by me.prosenjeet » Sat Nov 21, 2009 1:14 am

Bacon,
Will it be possible for you to play with the script and add the possibility to...
1) ...link the object (image) to an url
2) ...to add various degrees of transparency(eg. watermark type) in the image?

User avatar
BaconFries
 
 
Posts: 4168
Joined: Thu Aug 16, 2007 7:32 pm

Post by BaconFries » Sat Nov 21, 2009 5:57 pm

Evening me. I will delve into the script see what can be done :) if it can be done I will add to it.....

User avatar
BaconFries
 
 
Posts: 4168
Joined: Thu Aug 16, 2007 7:32 pm

Post by BaconFries » Sat Nov 21, 2009 6:08 pm

Evening Cincy glad you like :) with this extension it can only be a object that gets add ie a shape, image it not possible to add another extension into it :(
To give reference to a image in a extension it can be done like this
CSS
<style type="text/css">
div.img
{
margin:2px;
border:$size$px solid $color$;
height:auto;
width:auto;
float:left;
text-align:center;
}
div.img img
{
display:inline;
margin:3px;
border:$size2$px solid $color2$;
}
div.img a:hover img
{
$size3$px solid $color3$;
}
div.desc
{
text-align:center;
font-weight:normal;
width:120px;
margin:2px;
}
</style>
Body
<div class="img">
<a target="_blank" href="$url$">
<img src="$image$" alt="$alt$" width="$width$" height="$height$" />
</a>
<div class="desc">$message$</div>
</div>

User avatar
zinc
 
 
Posts: 1514
Joined: Sat Dec 08, 2007 3:06 pm
Location: London, United Kingdom

Post by zinc » Sat Nov 21, 2009 9:26 pm

Great job BF!

User avatar
BaconFries
 
 
Posts: 4168
Joined: Thu Aug 16, 2007 7:32 pm

Post by BaconFries » Sat Nov 21, 2009 10:15 pm

Thx mate thought I have a try at this :)

User avatar
BaconFries
 
 
Posts: 4168
Joined: Thu Aug 16, 2007 7:32 pm

Post by BaconFries » Sat Jan 02, 2010 4:24 pm

***Updated 02/01/10***

jordan
 
 
Posts: 838
Joined: Tue Jun 26, 2007 1:56 pm
Contact:

Post by jordan » Sun Jan 03, 2010 1:36 pm

OK .. OK ... this ain't funny anymore BaconFries, it's only the 3th jan, yet another wave.
If I count it correctly, you have about 5 or 6 more extensions to go ?
... you know what would be funny, if Pablo would release WB 6.5.5
and suddenly all extensions are incompatible again . :shock: .
I would hear a primal scream around the globe ... nooooooooOOO!
And that scream would be you! . :lol: . :mrgreen: .

TNX . so very much for all this hard work BaconFries!
+TNX for your update mail, have not updated the INDEX yet, but will ASAP.

User avatar
BaconFries
 
 
Posts: 4168
Joined: Thu Aug 16, 2007 7:32 pm

Post by BaconFries » Sun Jan 03, 2010 2:27 pm

Image Image Theres no rush on these it was just my way of working of a a little hangover... Image but what you do is Image it just this time of year when I go Image....for the others they can wait....Image

Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests