What parameters set where the floatie box will appear on the screen?
Instead of bottom right, I want it to be bottom centered.
What parameters set where the floatie box will appear on the screen?
Instead of bottom right, I want it to be bottom centered.
Warning: Please include a link to the DD script in question in your post. See this thread for the proper posting format for asking a question.
Hmmm this would be a customization issue. Unfortunately centering the floatie is currently not a built in feature of this script.
Re: Flotie Script
url: http://www.dynamicdrive.com/dynamici...nkfloaties.htm
As you mentioned the floatie script cannot be centered, however is there a possibility that the div can be positioned somehow to a certain spot on the screen? If not, do you know of any scripts on the site that may be able to do so?
Please let me know.
Well, the code:
within the script is what controls its position, which is currently set to be the lower right of the screen. You can modify these lines. For example, the below would positon the Sticky to the upper right corner of the page instead, or 10 px from the top of the page:Code:floatobj.style.left=dsocx+winWidth-floatWidth-5+"px" if (e.clientX>winWidth-floatWidth && e.clientY+20>winHeight-floatHeight) floatobj.style.top=dsocy+5+"px" else floatobj.style.top=dsocy+winHeight-floatHeight-5+"px"
Code:floatobj.style.left=dsocx+winWidth-floatWidth-5+"px" if (e.clientX>winWidth-floatWidth && e.clientY+20>winHeight-floatHeight) floatobj.style.top=dsocy+10+"px" else floatobj.style.top=dsocy+10+"px" //5 pixels from top of page
I have a similar question about manipulating the parameters in the Link Floaties Script, http://www.dynamicdrive.com/dynamici...nkfloaties.htm.
How does one modify the text in the argument of the function "showfloatie()"?
Specificallly, I want to change the font and size of the text that appears in the "floatie box". I see there are a lot of parameters to change characteristics of the floatie itself, but not the text within it.
Please educate a newbie.![]()
The easiest way to change the format of the text shown inside the floatie box is to do so via the CSS of the script:
Note the line in red...Code:#dhtmlfloatie{ position: absolute; left: 0; font: normal 12px Arial; " "
one more question!
how can i use dhtmlfloatie with two different possitions?
i mean two links and two different possitions of showfloaties!
thanks!
should i post new topic for my question?
thanks for your attention!
So i have two tables !
floattext[0]= is for the first table
floattext[1]= is for the second table
i insert <div id="dhtmlfloatie" ></div> in the two tables and i want it when i click
floattext[0] to open floatie in the first table!
Then when i click on
floattext[1] to open the floatie in the second table...
and in the line of this to be possible for 3rd floatieis....4,5 ;] but i need only for two now!
Bookmarks