PDA

View Full Version : DHTML Tip Message



Jeffb
05-29-2006, 10:56 PM
Hello everybody.

(I'll do my best with my English, altough I am dutch ;) )

At the website of dynamicdrive, I found a very usefull script.
This script will show a sort of popup box when you hover the mouse over a link.
The url is: http://www.dynamicdrive.com/dynamicindex5/popinfo.htm

I placed this in a section at my website you can find here (http://www.112drechtsteden.nl/bran/index.php?p=oudbeijerland)

At the right of the photo's of the firetrucks you'll find a sign. When you hover it, then you'll see the popup i mean.

Till here it all works fine in Firefox.
But in Internet Explorer:
1- the popup box is positioned more to the left
2- the more you scroll down the page (and look at a other sign), the more the popup will move down, until you cant see it.

I really have no idea what to do..

Script style.js:

/*
Please refer to readme.html for full Instructions

Text[...]=[title,text]

Style[...]=[TitleColor,TextColor,TitleBgColor,TextBgColor,TitleBgImag,TextBgImag,TitleTextAlign,TextTextAlign, TitleFontFace, TextFontFace, TipPosition, StickyStyle, TitleFontSize, TextFontSize, Width, Height, BorderSize, PadTextArea, CoordinateX , CoordinateY, TransitionNumber, TransitionDuration, TransparencyLevel ,ShadowType, ShadowColor]
*/

var FiltersEnabled = 0 // if your not going to use transitions or filters in any of the tips set this to 0

Text[0]=["","Foto: here a name"]
Text[1]=["","Foto: here a name"]
Text[2]=["","Foto: here a name"]
Text[3]=["","Foto: here a name"]
Text[4]=["","Foto: here a name"]
Text[5]=["","Foto: here a name"]

Style[0]=["#ffffff","#000000","#0066b3","#EFEFEF","","","","","","","left","","","",200,"",2,2,10,10,"","","","",""]

applyCssFilter()